Fixed defaut link colors for black and white primary colors on slate color scheme

This commit is contained in:
squidfunk 2020-10-31 18:09:15 +01:00
parent c1bf22a638
commit 93692a7950
9 changed files with 21 additions and 13 deletions

View File

@ -5,10 +5,10 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.fd16492e.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.4ac00218.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.4ac00218.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.19190aaf.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.19190aaf.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.67281de7.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.67281de7.min.css.map",
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.88a3f51b.min.css",
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.88a3f51b.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.24b84193.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.24b84193.min.css.map"
"assets/stylesheets/palette.css": "assets/stylesheets/palette.f0267088.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.f0267088.min.css.map"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,10 +34,10 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.19190aaf.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.67281de7.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.24b84193.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f0267088.min.css' | url }}">
{% if palette.primary %}
{% import "partials/palette.html" as map %}
{% set primary = map.primary(

View File

@ -39,7 +39,7 @@
// Primary color shades
--md-primary-fg-color: hsla(#{hex2hsl($clr-indigo-500)}, 1);
--md-primary-fg-color--light: hsla(#{hex2hsl($clr-indigo-300)}, 1);
--md-primary-fg-color--light: hsla(#{hex2hsl($clr-indigo-400)}, 1);
--md-primary-fg-color--dark: hsla(#{hex2hsl($clr-indigo-700)}, 1);
--md-primary-bg-color: hsla(0, 0%, 100%, 1);
--md-primary-bg-color--light: hsla(0, 0%, 100%, 0.7);

View File

@ -75,5 +75,13 @@
// Footer color shades
--md-footer-bg-color: hsla(var(--md-hue), 15%, 12%, 0.87);
--md-footer-bg-color--dark: hsla(var(--md-hue), 15%, 10%, 1);
// Black and white primary colors
&[data-md-color-primary="black"],
&[data-md-color-primary="white"] {
// Typeset color shades
--md-typeset-a-color: hsla(#{hex2hsl($clr-indigo-400)}, 1);
}
}
}