From 4c1ceb8bd16cb023dcd52b605ed09734baa95b59 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 2 Aug 2020 12:41:44 +0200 Subject: [PATCH] Re-ordered color variables to be consistent --- docs/reference/meta-tags.md | 2 +- src/assets/stylesheets/main/_colors.scss | 8 ++++---- src/assets/stylesheets/palette/_scheme.scss | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference/meta-tags.md b/docs/reference/meta-tags.md index 56a6ab27a..16b2c9b06 100644 --- a/docs/reference/meta-tags.md +++ b/docs/reference/meta-tags.md @@ -128,7 +128,7 @@ of your site: {% 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 [10]: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards diff --git a/src/assets/stylesheets/main/_colors.scss b/src/assets/stylesheets/main/_colors.scss index 63b75de9d..76d4fcd87 100644 --- a/src/assets/stylesheets/main/_colors.scss +++ b/src/assets/stylesheets/main/_colors.scss @@ -54,8 +54,8 @@ > * { // Code color shades - --md-code-bg-color: hsla(0, 0%, 96%, 1); --md-code-fg-color: hsla(200, 18%, 26%, 1); + --md-code-bg-color: hsla(0, 0%, 96%, 1); // Code highlighting color shades --md-code-hl-color: var(--md-default-fg-color--lightest); @@ -86,14 +86,14 @@ --md-typeset-kbd-border-color: hsla(0, 0%, 72%, 1); // Admonition color shades - --md-admonition-bg-color: var(--md-default-bg-color); --md-admonition-fg-color: var(--md-default-fg-color); + --md-admonition-bg-color: var(--md-default-bg-color); // 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--light: hsla(0, 0%, 100%, 0.7); --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); } } diff --git a/src/assets/stylesheets/palette/_scheme.scss b/src/assets/stylesheets/palette/_scheme.scss index 393848263..9aea46842 100644 --- a/src/assets/stylesheets/palette/_scheme.scss +++ b/src/assets/stylesheets/palette/_scheme.scss @@ -43,8 +43,8 @@ --md-default-bg-color--lightest: hsla(var(--md-hue), 15%, 21%, 0.07); // 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-bg-color: hsla(var(--md-hue), 15%, 18%, 1); // Code highlighting color shades --md-code-hl-punctuation-color: hsla(var(--md-hue), 34%, 71%, 0.3);