diff options
Diffstat (limited to 'src/objects/_lightbox.vars.scss')
| -rw-r--r-- | src/objects/_lightbox.vars.scss | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/objects/_lightbox.vars.scss b/src/objects/_lightbox.vars.scss index 9f200b0..aea5023 100644 --- a/src/objects/_lightbox.vars.scss +++ b/src/objects/_lightbox.vars.scss | |||
| @@ -8,23 +8,30 @@ $pad: props.def(--o-lightbox--pad, props.get(core.$size--150)) !default; | |||
| 8 | $controls--pad-x: props.def(--o-lightbox--controls--pad-x, props.get(core.$size--150)) !default; | 8 | $controls--pad-x: props.def(--o-lightbox--controls--pad-x, props.get(core.$size--150)) !default; |
| 9 | $controls--pad-y: props.def(--o-lightbox--controls--pad-y, props.get(core.$size--50)) !default; | 9 | $controls--pad-y: props.def(--o-lightbox--controls--pad-y, props.get(core.$size--50)) !default; |
| 10 | 10 | ||
| 11 | $controls--shadow-x: props.def(--o-lightbox--controls--shadow-x, props.get(core.$shadow--l2--x)) !default; | ||
| 12 | $controls--shadow-y: props.def(--o-lightbox--controls--shadow-y, props.get(core.$shadow--l2--y)) !default; | ||
| 13 | $controls--shadow-blur: props.def(--o-lightbox--controls--shadow-blur, props.get(core.$shadow--l2--blur)) !default; | ||
| 14 | $controls--shadow-grow: props.def(--o-lightbox--controls--shadow-grow, props.get(core.$shadow--l2--grow)) !default; | ||
| 15 | |||
| 11 | $thumbnail--width: props.def(--o-lightbox--thumbnail--width, props.get(core.$size--600)) !default; | 16 | $thumbnail--width: props.def(--o-lightbox--thumbnail--width, props.get(core.$size--600)) !default; |
| 12 | $thumbnail--spacing: props.def(--o-lightbox--thumbnail--spacing, props.get(core.$size--100)) !default; | 17 | $thumbnail--spacing: props.def(--o-lightbox--thumbnail--spacing, props.get(core.$size--100)) !default; |
| 13 | $thumbnail--active--width: props.def(--o-lightbox--thumbnail--active--width, props.get(core.$size--1000)) !default; | 18 | $thumbnail--active--width: props.def(--o-lightbox--thumbnail--active--width, props.get(core.$size--1000)) !default; |
| 14 | $thumbnail--active--spacing: props.def(--o-lightbox--thumbnail--active--spacing, props.get(core.$size--250)) !default; | 19 | $thumbnail--active--spacing: props.def(--o-lightbox--thumbnail--active--spacing, props.get(core.$size--250)) !default; |
| 15 | 20 | ||
| 16 | $static-themes: props.def(--o-lightbox, (), 'color'); | ||
| 17 | |||
| 18 | $thumbnail--width--md: props.def(--o-lightbox--thumbnail--width, props.get(core.$size--400), 'md') !default; | 21 | $thumbnail--width--md: props.def(--o-lightbox--thumbnail--width, props.get(core.$size--400), 'md') !default; |
| 19 | $thumbnail--active--width--md: props.def(--o-lightbox--thumbnail--active--width, props.get(core.$size--600), 'md') !default; | 22 | $thumbnail--active--width--md: props.def(--o-lightbox--thumbnail--active--width, props.get(core.$size--600), 'md') !default; |
| 20 | 23 | ||
| 24 | $controls--bg: props.def(--o-lightbox--controls--bg, props.get(core.$transparent-colors, --black, --700), 'color') !default; | ||
| 25 | $controls--shadow-color: props.def(--o-lightbox--controls--shadow-color, props.get(core.$transparent-colors, --black, --300), 'color') !default; | ||
| 26 | |||
| 27 | $static-themes: props.def(--o-lightbox, (), 'color'); | ||
| 28 | |||
| 21 | @each $theme in map.keys(props.get(core.$transparent-colors)) { | 29 | @each $theme in map.keys(props.get(core.$transparent-colors)) { |
| 22 | $lightbox-theme: --static-#{string.slice($theme, 3)}; | 30 | $lightbox-theme: --static-#{string.slice($theme, 3)}; |
| 23 | 31 | ||
| 24 | $static-themes: props.merge($static-themes, ( | 32 | $static-themes: props.merge($static-themes, ( |
| 25 | $lightbox-theme: ( | 33 | $lightbox-theme: ( |
| 26 | --text: props.get(core.$transparent-colors, $theme, --text), | 34 | --text: props.get(core.$transparent-colors, $theme, --text), |
| 27 | --controls-bg: props.get(core.$transparent-colors, $theme, --700), | ||
| 28 | ) | 35 | ) |
| 29 | )); | 36 | )); |
| 30 | } | 37 | } |
