summaryrefslogtreecommitdiffstats
path: root/src/scopes/_code.vars.scss
blob: 8a040c241985cc157e46d0e2b4a744929608feee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@use 'iro-sass/src/props';
@use '../core.vars' as core;
@use './implicit.vars' 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, --heading), 'color') !default;
$inline--bg: props.def(--s-code--inline--bg, props.get(core.$theme, --base, --200), 'color') !default;

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