summaryrefslogtreecommitdiffstats
path: root/src/scopes/_code.vars.scss
blob: ee7463db04f009d580ca121780a68b80783229ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@use '../props';
@use '../core.vars' as core;
@use './implicit' as implicit;

$inline--pad-i:    props.def(--s-code--inline--pad-i, props.get(core.$size--50)) !default;
$inline--pad-b:    props.def(--s-code--inline--pad-b, props.get(core.$size--10)) !default;
$inline--rounding: props.def(--s-code--inline--rounding, props.get(core.$rounding)) !default;

$block--pad-i:     props.def(--s-code--block--pad-i, props.get(core.$size--150)) !default;
$block--pad-b:     props.def(--s-code--block--pad-b, props.get(core.$size--85)) !default;
$block--margin-bs: props.def(--s-code--block--margin-bs, props.get(implicit.$paragraph--margin-bs)) !default;
$block--rounding:  props.def(--s-code--block--rounding, props.get(core.$rounding)) !default;

$inline--fg: props.def(--s-code--inline--fg, props.get(core.$theme, --red, --1200)) !default;
$inline--bg: props.def(--s-code--inline--bg, props.get(core.$theme, --red, --200)) !default;

$block--fg: props.def(--s-code--block--fg, props.get(core.$theme, --text)) !default;
$block--bg: props.def(--s-code--block--bg, props.get(core.$theme, --base, --50)) !default;