Not sure if issue 42679 is connected, but noticed
that --link-color: #224faa;
is hardcoded in Cassiopeia.
I've tried "Templates: Edit Style/Advanced/Colour Theme=Alternative", but links are still blue.
"\media\templates\site\cassiopeia\css\global\colors_alternative.css" has at row 4 '--link-color: #30638d;', but it stays not used IMHO.
Have a brand new site with a Cassiopeia theme.
Switch to the "Alternative" color theme.
Links to use color from colors_alternative.css
Links are using color from colors_standard.css
J5.0.3
Same behavior with the child template.
EDIT: Tried also totally different colors, but link-color
has to be defined in user.css to work.
Labels |
Added:
No Code Attached Yet
|
colors_alternative should modify template.css in order to reduce css files on demand.
Off Topic. Open a discussion?
colors_alternative should modify template.css in order to reduce css files on demand.
I compile my CSS files from SASS/Scss. Also in Cassiopeia child templatess. Then things like that (removing redundant CSS code and combining) are "easily" possible.
But I think your expectation is too much that whenever changing a colors scheme template.css, template.min.css, template.min.css.gz are newly generated. From my point of view it would also obfuscate how colors_xyz.css work. It would become obscure science in this core template that should be as minimalistic as possible. From my point of view ;-)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-03-18 11:41:40 |
Closed_By | ⇒ | richard67 |
I have closed my pr because:
Closing as this has already been fixed in https://github.com/joomla/joomla-cms/pull/42794/files in another way but not ported to Joomla 5 yet.
I don't know how to port that code.
I have closed my pr because:
Closing as this has already been fixed in https://github.com/joomla/joomla-cms/pull/42794/files in another way but not ported to Joomla 5 yet.
I don't know how to port that code.
@ReLater See my comment in your closed PR. The fix should have been ported to the 5.1-dev branch.
SEE ALSO NEXT COMMENT!
colors_alternative.css
defines the link color as blue. Other words: #30638d is a kind of blue.