mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Re-ordered color variables to be consistent
This commit is contained in:
parent
03915f54b0
commit
4c1ceb8bd1
@ -128,7 +128,7 @@ of your site:
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
```
|
```
|
||||||
|
|
||||||
You should also [check the preview][11] of your Tweets.
|
You should also [check the preview][11] of your Twitter Card.
|
||||||
|
|
||||||
[9]: https://twitter.com
|
[9]: https://twitter.com
|
||||||
[10]: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards
|
[10]: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards
|
||||||
|
@ -54,8 +54,8 @@
|
|||||||
> * {
|
> * {
|
||||||
|
|
||||||
// Code color shades
|
// Code color shades
|
||||||
--md-code-bg-color: hsla(0, 0%, 96%, 1);
|
|
||||||
--md-code-fg-color: hsla(200, 18%, 26%, 1);
|
--md-code-fg-color: hsla(200, 18%, 26%, 1);
|
||||||
|
--md-code-bg-color: hsla(0, 0%, 96%, 1);
|
||||||
|
|
||||||
// Code highlighting color shades
|
// Code highlighting color shades
|
||||||
--md-code-hl-color: var(--md-default-fg-color--lightest);
|
--md-code-hl-color: var(--md-default-fg-color--lightest);
|
||||||
@ -86,14 +86,14 @@
|
|||||||
--md-typeset-kbd-border-color: hsla(0, 0%, 72%, 1);
|
--md-typeset-kbd-border-color: hsla(0, 0%, 72%, 1);
|
||||||
|
|
||||||
// Admonition color shades
|
// Admonition color shades
|
||||||
--md-admonition-bg-color: var(--md-default-bg-color);
|
|
||||||
--md-admonition-fg-color: var(--md-default-fg-color);
|
--md-admonition-fg-color: var(--md-default-fg-color);
|
||||||
|
--md-admonition-bg-color: var(--md-default-bg-color);
|
||||||
|
|
||||||
// Footer color shades
|
// Footer color shades
|
||||||
--md-footer-bg-color: hsla(0, 0%, 0%, 0.87);
|
|
||||||
--md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32);
|
|
||||||
--md-footer-fg-color: hsla(0, 0%, 100%, 1);
|
--md-footer-fg-color: hsla(0, 0%, 100%, 1);
|
||||||
--md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7);
|
--md-footer-fg-color--light: hsla(0, 0%, 100%, 0.7);
|
||||||
--md-footer-fg-color--lighter: hsla(0, 0%, 100%, 0.3);
|
--md-footer-fg-color--lighter: hsla(0, 0%, 100%, 0.3);
|
||||||
|
--md-footer-bg-color: hsla(0, 0%, 0%, 0.87);
|
||||||
|
--md-footer-bg-color--dark: hsla(0, 0%, 0%, 0.32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,8 +43,8 @@
|
|||||||
--md-default-bg-color--lightest: hsla(var(--md-hue), 15%, 21%, 0.07);
|
--md-default-bg-color--lightest: hsla(var(--md-hue), 15%, 21%, 0.07);
|
||||||
|
|
||||||
// Code color shades
|
// Code color shades
|
||||||
--md-code-bg-color: hsla(var(--md-hue), 15%, 18%, 1);
|
|
||||||
--md-code-fg-color: hsla(var(--md-hue), 18%, 86%, 1);
|
--md-code-fg-color: hsla(var(--md-hue), 18%, 86%, 1);
|
||||||
|
--md-code-bg-color: hsla(var(--md-hue), 15%, 18%, 1);
|
||||||
|
|
||||||
// Code highlighting color shades
|
// Code highlighting color shades
|
||||||
--md-code-hl-punctuation-color: hsla(var(--md-hue), 34%, 71%, 0.3);
|
--md-code-hl-punctuation-color: hsla(var(--md-hue), 34%, 71%, 0.3);
|
||||||
|
Loading…
Reference in New Issue
Block a user