Skip to content

Commit a9a7ac5

Browse files
committed
Fixed announcement bar colors in modern theme
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
1 parent 6424015 commit a9a7ac5

File tree

5 files changed

+4
-11
lines changed

5 files changed

+4
-11
lines changed

dist/assets/stylesheets/modern/main.71200a3a.min.css

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

dist/assets/stylesheets/modern/main.dc4863c1.min.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{% endblock %}
4848
{% block styles %}
4949
{% if config.theme.variant == "modern" %}
50-
{% set href = 'assets/stylesheets/modern/main.dc4863c1.min.css' | url %}
50+
{% set href = 'assets/stylesheets/modern/main.71200a3a.min.css' | url %}
5151
{% else %}
5252
{% set href = 'assets/stylesheets/classic/main.6eec86b3.min.css' | url %}
5353
{% endif %}

src/assets/stylesheets/modern/main/_colors.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,6 @@
136136
--md-warning-fg-color: hsla(0, 0%, 0%, 0.87);
137137
--md-warning-bg-color: hsla(60, 100%, 80%, 1);
138138

139-
// Footer color shades
140-
--md-footer-fg-color: var(--md-default-fg-color);
141-
--md-footer-fg-color--light: var(--md-default-fg-color--light);
142-
--md-footer-fg-color--lighter: var(--md-default-fg-color--lighter);
143-
--md-footer-bg-color: var(--md-default-bg-color);
144-
--md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32);
145-
146139
// Shadow depth 1
147140
--md-shadow-z1:
148141
0 #{px2rem(4px)} #{px2rem(10px)} hsla(0, 0%, 0%, 0.05),

src/assets/stylesheets/modern/main/components/_banner.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
// Banner for announcements and warnings
3131
.md-banner {
3232
overflow: auto;
33-
color: var(--md-footer-fg-color);
34-
background-color: var(--md-footer-bg-color);
33+
color: var(--md-default-fg-color);
34+
background-color: var(--md-accent-fg-color--transparent);
3535

3636
// [print]: Hide banner
3737
@media print {

0 commit comments

Comments
 (0)