diff options
Diffstat (limited to 'src/scopes/_code.vars.scss')
-rw-r--r-- | src/scopes/_code.vars.scss | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/scopes/_code.vars.scss b/src/scopes/_code.vars.scss new file mode 100644 index 0000000..27d75f7 --- /dev/null +++ b/src/scopes/_code.vars.scss | |||
@@ -0,0 +1,18 @@ | |||
1 | @use '../props'; | ||
2 | @use '../vars'; | ||
3 | @use './implicit.vars' as implicit-vars; | ||
4 | |||
5 | $inline--pad-i: props.def(--s-code--inline--pad-i, props.get(vars.$size--50)) !default; | ||
6 | $inline--pad-b: props.def(--s-code--inline--pad-b, props.get(vars.$size--10)) !default; | ||
7 | $inline--rounding: props.def(--s-code--inline--rounding, props.get(vars.$rounding)) !default; | ||
8 | |||
9 | $block--pad-i: props.def(--s-code--block--pad-i, props.get(vars.$size--150)) !default; | ||
10 | $block--pad-b: props.def(--s-code--block--pad-b, props.get(vars.$size--85)) !default; | ||
11 | $block--margin-bs: props.def(--s-code--block--margin-bs, props.get(implicit-vars.$paragraph--margin-bs)) !default; | ||
12 | $block--rounding: props.def(--s-code--block--rounding, props.get(vars.$rounding)) !default; | ||
13 | |||
14 | $inline--fg: props.def(--s-code--inline--fg, props.get(vars.$theme, --red, --1200)) !default; | ||
15 | $inline--bg: props.def(--s-code--inline--bg, props.get(vars.$theme, --red, --200)) !default; | ||
16 | |||
17 | $block--fg: props.def(--s-code--block--fg, props.get(vars.$theme, --text)) !default; | ||
18 | $block--bg: props.def(--s-code--block--bg, props.get(vars.$theme, --base, --50)) !default; | ||