diff options
Diffstat (limited to 'src/objects/_table.vars.scss')
-rw-r--r-- | src/objects/_table.vars.scss | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/objects/_table.vars.scss b/src/objects/_table.vars.scss new file mode 100644 index 0000000..df97e17 --- /dev/null +++ b/src/objects/_table.vars.scss | |||
@@ -0,0 +1,25 @@ | |||
1 | @use 'sass:map'; | ||
2 | @use '../props'; | ||
3 | @use '../core.vars' as core; | ||
4 | |||
5 | $pad-i: props.def(--o-table--pad-i, props.get(core.$size--175)) !default; | ||
6 | $pad-b: props.def(--o-table--pad-b, props.get(core.$size--125)) !default; | ||
7 | $rounding: props.def(--o-table--rounding, props.get(core.$rounding)) !default; | ||
8 | $border-width: props.def(--o-table--border-width, props.get(core.$border-width--thin)) !default; | ||
9 | |||
10 | $heading--font-family: props.def(--o-table--heading--font-family, props.get(core.$font--standard--family)) !default; | ||
11 | $heading--font-size: props.def(--o-table--heading--font-size, props.get(core.$font-size--50)) !default; | ||
12 | $heading--font-weight: props.def(--o-table--heading--font-weight, bold) !default; | ||
13 | $heading--text-transform: props.def(--o-table--heading--text-transform, uppercase) !default; | ||
14 | $heading--letter-spacing: props.def(--o-table--heading--letter-spacing, .5px) !default; | ||
15 | |||
16 | $pad-b--sm: props.def(--o-table--sm--pad-b, props.get(core.$size--75)) !default; | ||
17 | |||
18 | $border-color: props.def(--o-table--border-color, props.get(core.$theme, --border)) !default; | ||
19 | $heading-color: props.def(--o-table--heading-color, props.get(core.$theme, --heading)) !default; | ||
20 | $hover--bg-color: props.def(--o-table--hover--bg-color, props.get(core.$theme, --border-mute)) !default; | ||
21 | $active--bg-color: props.def(--o-table--active--bg-color, props.get(core.$theme, --border)) !default; | ||
22 | |||
23 | $box--bg-color: props.def(--o-table--box--bg-color, props.get(core.$theme, --base, --50)) !default; | ||
24 | $box--hover--bg-color: props.def(--o-table--box--hover--bg-color, props.get(core.$theme, --bg-base)) !default; | ||
25 | $box--active--bg-color: props.def(--o-table--box--active--bg-color, props.get(core.$theme, --border-mute)) !default; | ||