From eeb6b298c4f4bc09d169f8dbd65b2d629e9b2c6f Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Mon, 23 Sep 2024 09:00:22 +0200 Subject: [PATCH] fix: simplifications --- scss/clear-typography.scss | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/scss/clear-typography.scss b/scss/clear-typography.scss index e86ff33..0f6a34f 100644 --- a/scss/clear-typography.scss +++ b/scss/clear-typography.scss @@ -1,13 +1,14 @@ :root { --font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Cantarell, Roboto, Oxygen, Ubuntu, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; --font-family-monospace: Consolas, Menlo, Monaco, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Courier New, Courier, monospace; - --text-color: #212529; - --border-color: rgba(0,0,0,0.1); - --hover-color: rgba(0,0,0,0.05); --accent-color-dark: #1971c2; --accent-color-light: #d0ebff; + --text-color: #212529; + --border-color: rgba(0,0,0,0.1); + --hover-color: rgba(0,0,0,0.05); + --background-color: #f8f9fa; --well-color: #e9ecef; @@ -17,11 +18,14 @@ @media (prefers-color-scheme: dark) { :root { - --text-color: #f1f3f5; + --text-color: #e9ecef; --background-color: #212529; --well-color: #343a40; --accent-color: var(--accent-color-light); --accent-color-back: var(--accent-color-dark); + + --border-color: rgba(255,255,255,0.2); + --hover-color: rgba(255,255,255,0.1); } } @@ -158,14 +162,8 @@ h6 { /* ------------------ QUOTE ------------------- */ -.well, blockquote, pre, -.alert, -.code, -.menu, -.breadcrumb, -.toolbar, details { border: 0; border-radius: 6px;