feat(vars)!: rename variable $general to $regular

This commit is contained in:
2023-03-04 16:36:56 +08:00
parent d8f3f549dc
commit 17631306a8
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
.markdown-body {
color: var(--xm-c-general);
color: var(--xm-c-regular);
font-family: var(--xm-font-display) !important;
pre:not(.shiki, .highlight) {
margin: 0;
@@ -28,7 +28,7 @@
text-decoration: none;
transition: border .3s ease-in-out;
&:hover {
border-bottom: 1px solid var(--xm-c-general);
border-bottom: 1px solid var(--xm-c-regular);
}
code {
color: inherit;
+1 -1
View File
@@ -1,6 +1,6 @@
@mixin container {
max-width: fit-content;
color: var(--xm-c-general);
color: var(--xm-c-regular);
font-size: 1rem;
line-height: 1.75;
}
+1 -1
View File
@@ -1,3 +1,3 @@
$general: #bbb;
$regular: #bbb;
$dark: #ddd;
$darker: #fff;
+1 -1
View File
@@ -1,3 +1,3 @@
$general: #555;
$regular: #555;
$dark: #222;
$darker: #000;