mirror of
https://github.com/kuohuanhuan/x-markdown-css.git
synced 2024-11-25 06:18:19 +00:00
refactor!: deprecate .prose
class and lint
This commit is contained in:
18
src/variables/_colors.scss
Normal file
18
src/variables/_colors.scss
Normal file
@ -0,0 +1,18 @@
|
||||
// Colors
|
||||
$pre: #e5e7eb;
|
||||
$code: #111827;
|
||||
$figcaption: #6b7280;
|
||||
$thead: #111827;
|
||||
$ol-counter: #6b7280;
|
||||
$ul-counter: #d1d5db;
|
||||
|
||||
// Border
|
||||
$link-border: hsla(0deg 0% 50% / .3);
|
||||
$hr-border: hsla(0deg 0% 50% / .3);
|
||||
$quote-border: hsla(0deg 0% 50% / .3);
|
||||
$thead-border: #d1d5db;
|
||||
$tr-border: #e5e7eb;
|
||||
|
||||
// Shiki (code highlighting)
|
||||
$shiki-light: #f8f8f8;
|
||||
$shiki-dark: #0e0e0e;
|
8
src/variables/_constants.scss
Normal file
8
src/variables/_constants.scss
Normal file
@ -0,0 +1,8 @@
|
||||
// Font stack
|
||||
$font-sans: 'Open Sans', 'Inter', 'Roboto', 'Helvetica', 'Arial', 'Sarasa Gothic TC', 'Sarasa Gothic SC', 'Noto Sans TC', 'Noto Sans SC', 'Microsoft JhengHei', 'Microsoft YaHei', -apple-system, sans-serif;
|
||||
$font-serif: 'Merriweather', 'Georgia', 'Times New Roman', 'Times', 'Source Han Serif Traditional Chinese', 'Source Han Serif Simplified Chinese', 'Noto Serif TC', 'Noto Serif SC', serif;
|
||||
$font-mono: 'DM Mono', 'Fira Code', 'Jetbrains Mono', 'Input Mono', 'Menlo', 'MesloLGS NF', 'Ubuntu', 'Sarasa Gothic TC', 'Sarasa Gothic SC', monospace;
|
||||
|
||||
// Font defaults
|
||||
$font-display: var(--xm-font-sans);
|
||||
$font-code: var(--xm-font-mono);
|
3
src/variables/modes/_dark.scss
Normal file
3
src/variables/modes/_dark.scss
Normal file
@ -0,0 +1,3 @@
|
||||
$regular: #bbb;
|
||||
$deep: #ddd;
|
||||
$deeper: #fff;
|
3
src/variables/modes/_light.scss
Normal file
3
src/variables/modes/_light.scss
Normal file
@ -0,0 +1,3 @@
|
||||
$regular: #555;
|
||||
$deep: #222;
|
||||
$deeper: #000;
|
Reference in New Issue
Block a user