Skip to content

Commit b64a0c8

Browse files
committed
Light up the fold arrow of a palette on the dark scheme
Contao ships no light counterpart for navcol.svg, and as a background image it never passes the place where one would be looked for - the original holds 3.1:1 there. A copy with the tone swapped now lives next to our own icons; the light scheme keeps using Contao's.
1 parent e0ce3b3 commit b64a0c8

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎src/CoreBundle/Resources/public/css/style.css‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/CoreBundle/Resources/public/css/style.css.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/CoreBundle/Resources/public/scss/style.scss‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ $icon_fields: url('../images/icons/fields.svg');
2525
$icon_dca_add: url('../images/icons/dca_add.svg');
2626
$icon_rendersettings_add: url('../images/icons/rendersettings_add.svg');
2727
$icon_pal_open: url('/system/themes/flexible/icons/navcol.svg');
28+
// Contao ships no light counterpart for the arrow, and as a background image it never
29+
// passes through the place where Contao would look for one. On the dark scheme the
30+
// original holds only 3.1:1, so a copy of it lives next to our own icons.
31+
$icon_pal_open_dark: url('../images/icons/navcol--dark.svg');
2832
$icon_locale: url('../images/icons/locale.svg');
2933

3034
// Contao writes both variants into the markup by itself, but only for icons that hang there
@@ -275,4 +279,5 @@ form[id^=mm_] .sort_hint {
275279
html[data-color-scheme="dark"] {
276280
.header_css_fields { background-image: $icon_fields_dark; }
277281
.rendersetting_add_all { background-image: $icon_rendersettings_add_dark; }
282+
.dca_palette { background-image: $icon_pal_open_dark; }
278283
}

0 commit comments

Comments
 (0)