Feature: CSS Variables for light/dim/dark theme

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
olek
Posts: 2
Joined: 13 Oct 2021, 11:22

08 Nov 2021, 19:15

Hi,

Do you plan to introduce css variables so we can do

Code: Select all

background-color: var(--main-bg-color);
inside the color themes? The trick with swapping stylesheet url is a bit old-school these days. I think it would make things a lot simpler and more light-weight.

Thanks for your great work!

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

10 Nov 2021, 16:49

Our latest templates are using CSS variables more and more, for example Sakai retrieves almost everything from the PrimeVue theme. Since frameworks like Angular v13 and Vue 3 are dropping IE11 support these days, we are migrating to the CSS variables approach. We always wanted to do it anyway, just IE11 was holding us back.

Post Reply

Return to “Diamond - PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests