1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

refactor: update the sass mixed declarations (#1872)

See: https://sass-lang.com/d/mixed-decls
This commit is contained in:
Andrew
2024-08-09 01:24:30 -04:00
committed by Cotes Chung
parent e347d0632f
commit 23729c9c8f
4 changed files with 28 additions and 28 deletions

View File

@@ -84,27 +84,29 @@
--prompt-danger-bg: rgb(86, 28, 8, 0.8);
--prompt-danger-icon-color: #cd0202;
/* tags */
/* Tags */
--tag-border: rgb(59, 79, 88);
--tag-shadow: rgb(32, 33, 33);
--dash-color: rgb(63, 65, 68);
--search-tag-bg: #292828;
/* categories */
/* Categories */
--categories-border: rgb(64, 66, 69, 0.5);
--categories-hover-bg: rgb(73, 75, 76);
--categories-icon-hover-color: white;
/* archives */
/* Archive */
--timeline-node-bg: rgb(150, 152, 156);
--timeline-color: rgb(63, 65, 68);
--timeline-year-dot-color: var(--timeline-color);
color-scheme: dark;
.light {
display: none;
}
/* categories */
/* Categories */
.categories.card,
.list-group-item {
background-color: var(--card-bg);
@@ -138,8 +140,6 @@
);
}
color-scheme: dark;
/* stylelint-disable-next-line selector-id-pattern */
#disqus_thread {
color-scheme: none;

View File

@@ -92,14 +92,6 @@
--tag-hover: rgb(222, 226, 230);
--search-tag-bg: #f8f9fa;
[class^='prompt-'] {
--link-underline-color: rgb(219, 216, 216);
}
.dark {
display: none;
}
/* Categories */
--categories-border: rgba(0, 0, 0, 0.125);
--categories-hover-bg: var(--btn-border-color);
@@ -109,4 +101,12 @@
--timeline-color: rgba(0, 0, 0, 0.075);
--timeline-node-bg: #c2c6cc;
--timeline-year-dot-color: #ffffff;
[class^='prompt-'] {
--link-underline-color: rgb(219, 216, 216);
}
.dark {
display: none;
}
} /* light-scheme */