1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Improved balancing of color schemes

This commit is contained in:
squidfunk 2020-07-24 10:13:21 +02:00
parent 87f807adc5
commit 7d3ca051fa
11 changed files with 19 additions and 18 deletions

View File

@ -5,10 +5,10 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.877163d5.min.js.map", "assets/javascripts/vendor.js.map": "assets/javascripts/vendor.877163d5.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.a68abb33.min.js", "assets/javascripts/worker/search.js": "assets/javascripts/worker/search.a68abb33.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.a68abb33.min.js.map", "assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.a68abb33.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.08ea80ea.min.css", "assets/stylesheets/main.css": "assets/stylesheets/main.1b47fa32.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.08ea80ea.min.css.map", "assets/stylesheets/main.css.map": "assets/stylesheets/main.1b47fa32.min.css.map",
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.af7aabb5.min.css", "assets/stylesheets/overrides.css": "assets/stylesheets/overrides.af7aabb5.min.css",
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.af7aabb5.min.css.map", "assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.af7aabb5.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.8150bf71.min.css", "assets/stylesheets/palette.css": "assets/stylesheets/palette.89d31e3b.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.8150bf71.min.css.map" "assets/stylesheets/palette.css.map": "assets/stylesheets/palette.89d31e3b.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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,9 +41,9 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.08ea80ea.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.1b47fa32.min.css' | url }}">
{% if palette.scheme or palette.primary or palette.accent %} {% if palette.scheme or palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.8150bf71.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.89d31e3b.min.css' | url }}">
{% endif %} {% endif %}
{% if palette.primary %} {% if palette.primary %}
{% import "partials/palette.html" as map %} {% import "partials/palette.html" as map %}

View File

@ -252,7 +252,6 @@ kbd {
padding: 0 px2em(8px, 12px); padding: 0 px2em(8px, 12px);
color: var(--md-default-fg-color); color: var(--md-default-fg-color);
font-size: px2em(12px); font-size: px2em(12px);
line-height: 1.5;
vertical-align: text-top; vertical-align: text-top;
word-break: break-word; word-break: break-word;
background-color: var(--md-typeset-kbd-color); background-color: var(--md-typeset-kbd-color);

View File

@ -27,13 +27,13 @@
// Announcement bar // Announcement bar
.md-announce { .md-announce {
overflow: auto; overflow: auto;
background-color: var(--md-default-fg-color); background-color: var(--md-footer-bg-color);
// Actual content // Actual content
&__inner { &__inner {
margin: px2rem(12px) auto; margin: px2rem(12px) auto;
padding: 0 px2rem(16px); padding: 0 px2rem(16px);
color: var(--md-default-bg-color); color: var(--md-footer-fg-color);
font-size: px2rem(14px); font-size: px2rem(14px);
} }

View File

@ -34,7 +34,7 @@
// Default color shades // Default color shades
--md-default-fg-color: hsla(var(--md-hue), 75%, 95%, 1); --md-default-fg-color: hsla(var(--md-hue), 75%, 95%, 1);
--md-default-fg-color--light: hsla(var(--md-hue), 75%, 90%, 0.87); --md-default-fg-color--light: hsla(var(--md-hue), 75%, 90%, 0.57);
--md-default-fg-color--lighter: hsla(var(--md-hue), 75%, 90%, 0.32); --md-default-fg-color--lighter: hsla(var(--md-hue), 75%, 90%, 0.32);
--md-default-fg-color--lightest: hsla(var(--md-hue), 75%, 90%, 0.12); --md-default-fg-color--lightest: hsla(var(--md-hue), 75%, 90%, 0.12);
--md-default-bg-color: hsla(var(--md-hue), 15%, 21%, 1); --md-default-bg-color: hsla(var(--md-hue), 15%, 21%, 1);
@ -51,6 +51,9 @@
--md-code-hl-comment-color: hsla(var(--md-hue), 34%, 71%, 0.3); --md-code-hl-comment-color: hsla(var(--md-hue), 34%, 71%, 0.3);
--md-code-hl-generic-color: hsla(var(--md-hue), 34%, 71%, 0.3); --md-code-hl-generic-color: hsla(var(--md-hue), 34%, 71%, 0.3);
// Typeset color shades
--md-typeset-a-color: var(--md-primary-fg-color--light);
// Typeset `kbd` color shades // Typeset `kbd` color shades
--md-typeset-kbd-color: hsla(var(--md-hue), 15%, 94%, 0.12); --md-typeset-kbd-color: hsla(var(--md-hue), 15%, 94%, 0.12);
--md-typeset-kbd-accent-color: hsla(var(--md-hue), 15%, 94%, 0.2); --md-typeset-kbd-accent-color: hsla(var(--md-hue), 15%, 94%, 0.2);
@ -58,7 +61,6 @@
// Admonition color shades // Admonition color shades
--md-admonition-bg-color: hsla(var(--md-hue), 0%, 100%, 0.025); --md-admonition-bg-color: hsla(var(--md-hue), 0%, 100%, 0.025);
--md-admonition-fg-color: var(--md-default-fg-color);
// Footer color shades // Footer color shades
--md-footer-bg-color: hsla(var(--md-hue), 15%, 12%, 0.87); --md-footer-bg-color: hsla(var(--md-hue), 15%, 12%, 0.87);