Compatibility with PrimeFlex theming

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
PoesidonUser
Posts: 2
Joined: 26 Jul 2022, 16:49

26 Jul 2022, 16:57

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?

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

27 Jul 2022, 14:11

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,

PoesidonUser
Posts: 2
Joined: 26 Jul 2022, 16:49

28 Jul 2022, 10:45

Hi,

Thanks for the reply.

Image

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

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

15 Aug 2022, 01:04

It seems correct. Could you please check --blue-300 variable in your theme.css file?

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;
 ...   

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests