mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed unreadable print view when using dark mode
This commit is contained in:
@@ -9,6 +9,6 @@
|
|||||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.ce7da9e3.min.css.map",
|
"assets/stylesheets/main.css.map": "assets/stylesheets/main.ce7da9e3.min.css.map",
|
||||||
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.2a4bbe42.min.css",
|
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.2a4bbe42.min.css",
|
||||||
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.2a4bbe42.min.css.map",
|
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.2a4bbe42.min.css.map",
|
||||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.3f72e892.min.css",
|
"assets/stylesheets/palette.css": "assets/stylesheets/palette.31e6bbac.min.css",
|
||||||
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.3f72e892.min.css.map"
|
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.31e6bbac.min.css.map"
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/palette.31e6bbac.min.css.map
Normal file
1
material/assets/stylesheets/palette.31e6bbac.min.css.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -37,7 +37,7 @@
|
|||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.ce7da9e3.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.ce7da9e3.min.css' | url }}">
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.3f72e892.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.31e6bbac.min.css' | url }}">
|
||||||
{% if palette.primary %}
|
{% if palette.primary %}
|
||||||
{% import "partials/palette.html" as map %}
|
{% import "partials/palette.html" as map %}
|
||||||
{% set primary = map.primary(
|
{% set primary = map.primary(
|
||||||
|
|||||||
@@ -24,6 +24,9 @@
|
|||||||
// Rules
|
// Rules
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Only use dark mode on screens
|
||||||
|
@media screen {
|
||||||
|
|
||||||
// Slate theme, i.e. dark mode
|
// Slate theme, i.e. dark mode
|
||||||
[data-md-color-scheme="slate"] {
|
[data-md-color-scheme="slate"] {
|
||||||
|
|
||||||
@@ -73,3 +76,4 @@
|
|||||||
--md-footer-bg-color: hsla(var(--md-hue), 15%, 12%, 0.87);
|
--md-footer-bg-color: hsla(var(--md-hue), 15%, 12%, 0.87);
|
||||||
--md-footer-bg-color--dark: hsla(var(--md-hue), 15%, 10%, 1);
|
--md-footer-bg-color--dark: hsla(var(--md-hue), 15%, 10%, 1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user