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

This commit is contained in:
郭桓桓 2023-03-04 16:36:56 +08:00
parent d8f3f549dc
commit 17631306a8
Signed by: kuohuanhuan
GPG Key ID: FD846A0A797B0D75
4 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
.markdown-body { .markdown-body {
color: var(--xm-c-general); color: var(--xm-c-regular);
font-family: var(--xm-font-display) !important; font-family: var(--xm-font-display) !important;
pre:not(.shiki, .highlight) { pre:not(.shiki, .highlight) {
margin: 0; margin: 0;
@ -28,7 +28,7 @@
text-decoration: none; text-decoration: none;
transition: border .3s ease-in-out; transition: border .3s ease-in-out;
&:hover { &:hover {
border-bottom: 1px solid var(--xm-c-general); border-bottom: 1px solid var(--xm-c-regular);
} }
code { code {
color: inherit; color: inherit;

View File

@ -1,6 +1,6 @@
@mixin container { @mixin container {
max-width: fit-content; max-width: fit-content;
color: var(--xm-c-general); color: var(--xm-c-regular);
font-size: 1rem; font-size: 1rem;
line-height: 1.75; line-height: 1.75;
} }

View File

@ -1,3 +1,3 @@
$general: #bbb; $regular: #bbb;
$dark: #ddd; $dark: #ddd;
$darker: #fff; $darker: #fff;

View File

@ -1,3 +1,3 @@
$general: #555; $regular: #555;
$dark: #222; $dark: #222;
$darker: #000; $darker: #000;