There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-9f9c8444-a490-40dc-a8f1-4cd7ae62df1e XWIKI-23029 Open

Make the supported colorTheme LESS sections compatible with the CSS properties system

 
View issue   ·   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-250e7563-e3ea-4a6c-8989-82936f1ddab6 Charpentier Lucas on 26/Mar/25 11:43
 

Some things we can migrate, some others we need to duplicate and some others we don't need to do anything.

  • Variable definitions: duplicate them, so that current customizations relying on them keep working and can be easily migrated.
  • Custom styles: migrate them, the only thing relying on those styles are the components and they'd work just as well with a CSS native solution.
  • Mixins: leave them unchanged. There's no way to reproduce mixins in CSS (style queries could be a replacement, but it's not supported well yet – CSS native mixins are actively thought about, but it'll be a while until we get full support) If some of them are useful for custom styles, replace them with somewhat appropriate CSS variable equivalents.