Compatibility with PrimeFlex theming
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 2
- Joined: 26 Jul 2022, 16:49
I've just upgraded one of my PrimeFaces projects to Poseidon 5.0, which includes PrimeFlex 3.0. But, I've noticed that Poseidon doesn't seem to support the theming system in PrimeFlex so I can use classes for text colors, background colors etc. Am I missing something with the config or is this not something that's not supported with Poseidon? Is this something that will eventually get included?
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Hi,
I've tried text-color options in https://www.primefaces.org/poseidon/ and they work fine for me. Which option are you using? Could you please attach a sample code block for us to replicate?
PrimeFlex Changelog; https://github.com/primefaces/primeflex ... ANGELOG.md
Best Regards,
I've tried text-color options in https://www.primefaces.org/poseidon/ and they work fine for me. Which option are you using? Could you please attach a sample code block for us to replicate?
PrimeFlex Changelog; https://github.com/primefaces/primeflex ... ANGELOG.md
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 2
- Joined: 26 Jul 2022, 16:49
Hi,
Thanks for the reply.
I'm trying to use the different text color styles in PrimeFlex but it hasn't picked up any color variables from the Poseidon theme. Is this a feature that's not supported in Poseidon even with the update or have I set something up wrong? If it's not supported, will it eventually be supported?
Thanks
Thanks for the reply.
I'm trying to use the different text color styles in PrimeFlex but it hasn't picked up any color variables from the Poseidon theme. Is this a feature that's not supported in Poseidon even with the update or have I set something up wrong? If it's not supported, will it eventually be supported?
Thanks
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
It seems correct. Could you please check --blue-300 variable in your theme.css file?
For example;
For example;
Code: Select all
:root {
--blue-50: #f4fafe;
--blue-100: #cae6fc;
--blue-200: #a0d2fa;
--blue-300: #75bef8;
--blue-400: #4baaf5;
--blue-500: #2196f3;
--blue-600: #1c80cf;
--blue-700: #1769aa;
--blue-800: #125386;
--blue-900: #0d3c61;
--green-50: #f6fbf6;
--green-100: #d4ecd5;
...
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests