Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you select a different color scheme the changes are shown in the preview. When you then save the changes, they are not shown on the website.
There are a few small errors in the color/color.inc
file. I am testing some fixes for that now. I'll post a patch when I think I found the solution.
Comment | File | Size | Author |
---|---|---|---|
#10 | changes_in_color_scheme-2848972-10.patch | 8.33 KB | alex_optim |
#5 | changes_in_color_scheme-2848972-5.patch | 369 bytes | alex_optim |
Comments
Comment #2
alex_optimComment #3
jos_s CreditAttribution: jos_s commentedComment #4
jos_s CreditAttribution: jos_s commentedHi alex_optim,
I found that when in
color.inc
you changeinto
Also there the color codes that need to be changed in the color.css files are not all the same as in the default scheme as defined in
color.inc
. They have to be if they need be changed.After these changes you can select a new predefined color scheme, but it is still not possible to add a custom color scheme. This is not saved. I have not found out how this is supposed to work.
Comment #5
alex_optimHi jos_s,
thank you for your help. I have created patch, but there is a problem with logo.
Theme don't create logo.svg file.
Comment #6
jos_s CreditAttribution: jos_s commentedHi alex_optim,
The file
logo.svg
that is included in the theme is actually a.png
file. When you rename it tologo.png
the new logo file is created with the correct color.Comment #7
alex_optimIn my opinion, it would be better if the pic would generate in .svg format or just using the pic (which is using the main colour scheme).
Comment #8
alex_optimComment #9
jos_s CreditAttribution: jos_s commentedI have had another look at the
logo.svg
file. It is a real SVG after all, so my first presumption was wrong.If the file
color.inc
,logo.svg
is not mentioned, however. You should changelogo.png
tologo.svg
. Then the logo is also generated with the correct colors.Comment #10
alex_optimI replaced logo.svg file and create patch.
Comment #12
joachim CreditAttribution: joachim as a volunteer commentedConfirming the patch fixes the problem.
Committed. Thanks!
Comment #13
joachim CreditAttribution: joachim as a volunteer commentedProbably needs a backport.