@swisspost/design-system-styles 9.0.0-next.2 → 9.0.0-next.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_svg-icon-map.scss +85 -23
- package/basics.css +1 -1
- package/basics.scss +2 -6
- package/cargo-external.css +7 -0
- package/cargo-external.scss +10 -0
- package/cargo-internal.css +7 -0
- package/cargo-internal.scss +10 -0
- package/cargo-tokens-external.css +1 -0
- package/cargo-tokens-external.scss +8 -0
- package/cargo-tokens-internal.css +1 -0
- package/cargo-tokens-internal.scss +8 -0
- package/components/_form-check.scss +166 -0
- package/components/_index.scss +21 -13
- package/components/appstore-badge.css +1 -0
- package/components/appstore-badge.scss +18 -0
- package/components/avatar.css +1 -0
- package/components/avatar.scss +41 -0
- package/components/badge.css +1 -1
- package/components/badge.scss +8 -2
- package/components/banner.css +1 -0
- package/components/banner.scss +105 -0
- package/components/blockquote.css +1 -0
- package/components/blockquote.scss +46 -0
- package/components/breadcrumb.css +1 -1
- package/components/breadcrumb.scss +4 -24
- package/components/breakpoints.css +1 -0
- package/components/breakpoints.scss +17 -0
- package/components/button-group.css +1 -1
- package/components/button-group.scss +7 -6
- package/components/button.css +1 -1
- package/components/button.scss +41 -228
- package/components/card-control.css +1 -1
- package/components/card-control.scss +33 -24
- package/components/card.css +1 -1
- package/components/card.scss +72 -68
- package/components/checkbox.css +1 -0
- package/components/checkbox.scss +127 -0
- package/components/chip.css +1 -1
- package/components/chip.scss +9 -8
- package/components/close.css +1 -1
- package/components/close.scss +0 -2
- package/components/datatable.css +1 -3
- package/components/datatable.scss +22 -17
- package/components/datepicker.css +1 -1
- package/components/datepicker.scss +6 -22
- package/components/dialog.css +1 -1
- package/components/dialog.scss +26 -38
- package/components/dropdown.css +1 -1
- package/components/dropdown.scss +9 -6
- package/components/fonts.css +1 -1
- package/components/fonts.scss +7 -45
- package/components/form-footer.css +1 -0
- package/components/form-footer.scss +18 -0
- package/components/form-hint.css +1 -0
- package/components/form-hint.scss +15 -0
- package/components/form-input.css +1 -0
- package/components/form-input.scss +301 -0
- package/components/form-range.css +1 -1
- package/components/form-range.scss +9 -9
- package/components/form-search-input.css +1 -0
- package/components/form-search-input.scss +97 -0
- package/components/form-select.css +1 -1
- package/components/form-select.scss +266 -55
- package/components/form-textarea.css +1 -1
- package/components/form-textarea.scss +172 -9
- package/components/globals/_index.scss +1 -0
- package/components/globals/post-footer.css +1 -0
- package/components/globals/post-footer.scss +113 -0
- package/components/header/_mixins.scss +48 -0
- package/components/header/index.css +1 -0
- package/components/header/index.scss +131 -0
- package/components/icon-button.css +1 -0
- package/components/icon-button.scss +19 -0
- package/components/icon-close-button.css +1 -0
- package/components/icon-close-button.scss +29 -0
- package/components/intranet-header/_icon.scss +1 -1
- package/components/intranet-header/_index.scss +0 -2
- package/components/intranet-header/_language-chooser.scss +3 -2
- package/components/intranet-header/_nav-overflow.scss +2 -2
- package/components/intranet-header/_scaffolding.scss +1 -1
- package/components/intranet-header/_searchbox.scss +1 -1
- package/components/intranet-header/_sidebar.scss +11 -11
- package/components/intranet-header/_top-navigation.scss +1 -1
- package/components/list-check.css +1 -0
- package/components/list-check.scss +79 -0
- package/components/list-group.css +1 -1
- package/components/list-group.scss +72 -127
- package/components/modal.css +2 -2
- package/components/modal.scss +2 -4
- package/components/offcanvas.css +1 -1
- package/components/offcanvas.scss +0 -2
- package/components/pagination.css +1 -1
- package/components/pagination.scss +10 -9
- package/components/popover.css +1 -1
- package/components/popover.scss +0 -2
- package/components/product-card.css +1 -1
- package/components/product-card.scss +11 -5
- package/components/progress.scss +0 -2
- package/components/radio-button.css +1 -0
- package/components/radio-button.scss +125 -0
- package/components/segmented-button.css +3 -0
- package/components/segmented-button.scss +207 -0
- package/components/skiplinks.css +1 -0
- package/components/skiplinks.scss +20 -0
- package/components/spinner.scss +0 -1
- package/components/stepper.css +1 -1
- package/components/stepper.scss +40 -33
- package/components/subnavigation.css +1 -1
- package/components/subnavigation.scss +17 -14
- package/components/switch.css +1 -0
- package/components/switch.scss +212 -0
- package/components/tables.css +1 -1
- package/components/tables.scss +0 -1
- package/components/tabs/_tab-title.scss +16 -55
- package/components/tabs/_tabs-wrapper.scss +3 -13
- package/components/tabs/index.css +1 -1
- package/components/tabs/index.scss +0 -2
- package/components/tag.css +1 -1
- package/components/tag.scss +1 -2
- package/components/teaser.css +1 -0
- package/components/teaser.scss +83 -0
- package/components/text-highlight.css +1 -1
- package/components/timepicker.css +1 -1
- package/components/timepicker.scss +13 -16
- package/components/toast.css +1 -1
- package/components/toast.scss +19 -16
- package/components/tooltip.css +1 -1
- package/components/tooltip.scss +0 -2
- package/components/transitions.scss +0 -2
- package/components/validation.css +1 -0
- package/components/validation.scss +120 -0
- package/elements/_index.scss +7 -1
- package/elements/anchor.css +1 -0
- package/elements/anchor.scss +33 -0
- package/elements/body.css +1 -1
- package/elements/body.scss +5 -1
- package/elements/fieldset-legend.css +1 -1
- package/elements/fieldset-legend.scss +7 -3
- package/elements/heading.css +1 -1
- package/elements/heading.scss +10 -12
- package/elements/list-bullet.css +1 -0
- package/elements/list-bullet.scss +43 -0
- package/elements/list-description.css +1 -0
- package/elements/list-description.scss +5 -0
- package/elements/list-number.css +1 -0
- package/elements/list-number.scss +33 -0
- package/elements/paragraph.css +1 -0
- package/elements/paragraph.scss +17 -0
- package/elements/reset.css +1 -1
- package/elements/reset.scss +16 -7
- package/elements.css +1 -0
- package/elements.scss +1 -0
- package/fonts.css +1 -1
- package/functions/_breakpoint.scss +26 -0
- package/functions/_forms.scss +46 -3
- package/functions/_icons.scss +2 -14
- package/helpers/_index.scss +4 -0
- package/helpers/clearfix.css +1 -0
- package/helpers/clearfix.scss +5 -0
- package/helpers/focus-ring.css +1 -0
- package/helpers/focus-ring.scss +5 -0
- package/helpers/text-truncation.css +1 -0
- package/helpers/text-truncation.scss +5 -0
- package/helpers/visually-hidden.css +1 -0
- package/helpers/visually-hidden.scss +5 -0
- package/index.css +3 -3
- package/index.scss +2 -5
- package/intranet.css +3 -3
- package/intranet.scss +2 -2
- package/layout/_containers.scss +32 -0
- package/layout/_section.scss +133 -0
- package/layout/grid/_index.scss +11 -0
- package/layout/grid/_mixins.scss +104 -0
- package/layout/grid/_variables.scss +2 -0
- package/layout/index.css +1 -0
- package/layout/index.scss +3 -0
- package/mixins/_button.scss +19 -15
- package/mixins/_form-checks.scss +1 -1
- package/mixins/_forms.scss +42 -33
- package/mixins/_icon-button.scss +27 -0
- package/mixins/_icons.scss +22 -32
- package/mixins/_index.scss +3 -2
- package/mixins/_layout.scss +26 -0
- package/mixins/_list.scss +112 -0
- package/mixins/_media.scss +58 -2
- package/mixins/_notification.scss +59 -53
- package/mixins/_utilities.scss +46 -25
- package/package.json +16 -16
- package/palettes/_mixins.scss +74 -0
- package/palettes/_utilities.scss +3 -0
- package/palettes/_variables.scss +2 -0
- package/palettes/cargo-palettes.css +1 -0
- package/palettes/cargo-palettes.scss +3 -0
- package/palettes/post-palettes.css +1 -0
- package/palettes/post-palettes.scss +3 -0
- package/placeholders/_button.scss +3 -6
- package/placeholders/_close.scss +2 -5
- package/placeholders/_schemes.scss +10 -0
- package/post-external.css +3 -3
- package/post-external.scss +7 -1
- package/post-internal.css +3 -3
- package/post-internal.scss +7 -1
- package/post-tokens-external.css +1 -1
- package/post-tokens-external.scss +1 -1
- package/post-tokens-internal.css +1 -1
- package/post-tokens-internal.scss +1 -1
- package/themes/bootstrap/_core.scss +0 -2
- package/themes/bootstrap/_forms.scss +0 -4
- package/themes/bootstrap/_overrides-variables.scss +0 -6
- package/themes/bootstrap/_utilities.scss +45 -1
- package/tokens/_cargo-theme.scss +8 -0
- package/tokens/_helpers.scss +1 -0
- package/tokens/_palettes.scss +9 -0
- package/tokens/_schemes.scss +11 -0
- package/tokens/_utilities_formatted.scss +1 -0
- package/tokens/temp/_channel.scss +4 -3
- package/tokens/temp/_components.scss +594 -503
- package/tokens/temp/_core.scss +49 -37
- package/tokens/temp/_device.scss +210 -239
- package/tokens/temp/_elements.scss +11 -11
- package/tokens/temp/_helpers.scss +13 -0
- package/tokens/temp/_index.scss +6 -4
- package/tokens/temp/_palettes.scss +19 -0
- package/tokens/temp/_scheme.scss +334 -0
- package/tokens/temp/_theme.scss +28 -9
- package/tokens/temp/_utilities-formatted.scss +128 -0
- package/tokens/temp/_utilities.scss +34 -58
- package/tokens/temp/palettes/_cargo-dark.scss +19 -0
- package/tokens/temp/palettes/_cargo-light.scss +19 -0
- package/tokens/temp/palettes/_post-dark.scss +19 -0
- package/tokens/temp/palettes/_post-light.scss +19 -0
- package/utilities/_not-defined.scss +44 -0
- package/utilities/_variables.scss +304 -22
- package/utilities/index.css +1 -0
- package/utilities/{_index.scss → index.scss} +1 -2
- package/variables/_animation.scss +10 -6
- package/variables/_breakpoints.scss +9 -5
- package/variables/_color.scss +0 -61
- package/variables/_commons.scss +1 -0
- package/variables/_elevation.scss +16 -22
- package/variables/_grid.scss +2 -12
- package/variables/_icons.scss +19 -696
- package/variables/_index.scss +1 -1
- package/variables/_sizing.scss +17 -0
- package/variables/_spacing.scss +0 -152
- package/variables/_type.scss +17 -27
- package/variables/components/_accordion.scss +0 -47
- package/variables/components/_badge.scss +9 -5
- package/variables/components/_button.scss +61 -113
- package/variables/components/_card.scss +7 -4
- package/variables/components/_chip.scss +13 -7
- package/variables/components/_close.scss +14 -8
- package/variables/components/_code.scss +1 -1
- package/variables/components/_datatable.scss +12 -8
- package/variables/components/_dropdowns.scss +1 -1
- package/variables/components/_form-check.scss +9 -46
- package/variables/components/_forms.scss +8 -101
- package/variables/components/_index.scss +0 -5
- package/variables/components/_modal.scss +17 -12
- package/variables/components/_nav.scss +3 -3
- package/variables/components/_navbar.scss +7 -4
- package/variables/components/_notification.scss +48 -37
- package/variables/components/_pagination.scss +14 -6
- package/variables/components/_spinners.scss +7 -2
- package/variables/components/_stepper.scss +15 -10
- package/variables/components/_subnavigation.scss +11 -9
- package/variables/components/_tables.scss +11 -6
- package/variables/components/_tag.scss +10 -7
- package/components/accordion.css +0 -1
- package/components/accordion.scss +0 -100
- package/components/alert.css +0 -1
- package/components/alert.scss +0 -137
- package/components/carousel.css +0 -1
- package/components/carousel.scss +0 -178
- package/components/elevation.css +0 -1
- package/components/elevation.scss +0 -8
- package/components/floating-label.css +0 -1
- package/components/floating-label.scss +0 -353
- package/components/form-check.css +0 -1
- package/components/form-check.scss +0 -297
- package/components/form-validation.css +0 -1
- package/components/form-validation.scss +0 -148
- package/components/forms.css +0 -1
- package/components/forms.scss +0 -215
- package/components/grid.css +0 -1
- package/components/grid.scss +0 -170
- package/components/icons.css +0 -1
- package/components/icons.scss +0 -60
- package/components/sizing.css +0 -1
- package/components/sizing.scss +0 -85
- package/components/topic-teaser.css +0 -1
- package/components/topic-teaser.scss +0 -196
- package/layouts/portal/_grid.scss +0 -85
- package/layouts/portal/_index.scss +0 -2
- package/layouts/portal/_subnavigation.scss +0 -5
- package/layouts/portal/_variables.scss +0 -8
- package/mixins/_accordion.scss +0 -16
- package/mixins/_elevation.scss +0 -6
- package/mixins/_focus.scss +0 -9
- package/mixins/_form-validation.scss +0 -5
- package/mixins/_size.scss +0 -65
- package/placeholders/_modes.scss +0 -10
- package/themes/bootstrap/_carousel.scss +0 -2
- package/themes/bootstrap/_containers.scss +0 -2
- package/themes/bootstrap/_grid.scss +0 -2
- package/themes/bootstrap/_overrides-mixins.scss +0 -33
- package/themes/bootstrap/forms/_floating-labels.scss +0 -2
- package/themes/bootstrap/forms/_form-control.scss +0 -2
- package/themes/bootstrap/forms/_form-select.scss +0 -2
- package/themes/bootstrap/forms/_form-text.scss +0 -2
- package/tokens/_modes.scss +0 -11
- package/tokens/temp/_mode.scss +0 -299
- package/utilities/_functions.scss +0 -35
- package/utilities/temp/_legacy.scss +0 -95
- package/variables/_options.scss +0 -5
- package/variables/components/_carousel.scss +0 -27
- package/variables/components/_figures.scss +0 -6
- package/variables/components/_form-select.scss +0 -13
- package/variables/components/_form-validation.scss +0 -38
- package/variables/components/_list-group.scss +0 -29
- package/variables/components/_topic-teaser.scss +0 -32
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
@use './../../variables/components/tooltips';
|
|
2
|
-
|
|
3
|
-
// Keep this mixin override: it is necessary to clear Bootstrap styles for .is-(in)valid and .(in)valid-feedback
|
|
4
|
-
@mixin form-validation-state(
|
|
5
|
-
$state,
|
|
6
|
-
$color,
|
|
7
|
-
$icon,
|
|
8
|
-
$tooltip-color: color-contrast($color),
|
|
9
|
-
$tooltip-bg-color: $color,
|
|
10
|
-
$focus-box-shadow,
|
|
11
|
-
$border-color
|
|
12
|
-
) {
|
|
13
|
-
// DEPRECATED
|
|
14
|
-
.#{$state}-tooltip {
|
|
15
|
-
position: absolute;
|
|
16
|
-
top: 100%;
|
|
17
|
-
z-index: 5;
|
|
18
|
-
display: none;
|
|
19
|
-
max-width: 100%; // Contain to parent when possible
|
|
20
|
-
padding: tooltips.$tooltip-padding-y tooltips.$tooltip-padding-x;
|
|
21
|
-
margin-top: 0.1rem;
|
|
22
|
-
@include font-size(tooltips.$tooltip-font-size);
|
|
23
|
-
color: $tooltip-color;
|
|
24
|
-
background-color: $tooltip-bg-color;
|
|
25
|
-
@include border-radius(tooltips.$tooltip-border-radius);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@include form-validation-state-selector($state) {
|
|
29
|
-
~ .#{$state}-tooltip {
|
|
30
|
-
display: block;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
package/tokens/_modes.scss
DELETED
package/tokens/temp/_mode.scss
DELETED
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
// Do not edit manually!
|
|
2
|
-
// This file was generated on:
|
|
3
|
-
// Mon, 14 Oct 2024 18:07:38 GMT by the @swisspost/design-system-tokens package build command
|
|
4
|
-
|
|
5
|
-
$post-light: (
|
|
6
|
-
post-mode-color-signal-success-dark: var(--post-core-color-notification-green),
|
|
7
|
-
post-mode-color-signal-success-light: var(--post-core-color-notification-green-light),
|
|
8
|
-
post-mode-color-signal-error-dark: var(--post-core-color-notification-red),
|
|
9
|
-
post-mode-color-signal-error-light: var(--post-core-color-notification-red-light),
|
|
10
|
-
post-mode-color-signal-warning-dark: var(--post-core-color-notification-orange),
|
|
11
|
-
post-mode-color-signal-warning-light: var(--post-core-color-notification-orange-light),
|
|
12
|
-
post-mode-color-signal-information-dark: var(--post-core-color-notification-blue),
|
|
13
|
-
post-mode-color-signal-information-light: var(--post-core-color-notification-blue-light),
|
|
14
|
-
post-mode-color-interactive-button-primary-enabled-fg: var(--post-core-color-brand-white),
|
|
15
|
-
post-mode-color-interactive-button-primary-enabled-bg: var(--post-core-color-sandgrey-100),
|
|
16
|
-
post-mode-color-interactive-button-primary-enabled-stroke: var(--post-mode-color-interactive-button-primary-enabled-bg),
|
|
17
|
-
post-mode-color-interactive-button-primary-enabled-fg-inverted: var(--post-core-color-sandgrey-100),
|
|
18
|
-
post-mode-color-interactive-button-primary-enabled-bg-inverted: var(--post-core-color-brand-white),
|
|
19
|
-
post-mode-color-interactive-button-primary-enabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
20
|
-
post-mode-color-interactive-button-primary-hover-fg: var(--post-core-color-brand-white),
|
|
21
|
-
post-mode-color-interactive-button-primary-hover-bg: var(--post-core-color-sandgrey-070),
|
|
22
|
-
post-mode-color-interactive-button-primary-hover-stroke: var(--post-mode-color-interactive-button-primary-hover-bg),
|
|
23
|
-
post-mode-color-interactive-button-primary-hover-fg-inverted: var(--post-core-color-sandgrey-070),
|
|
24
|
-
post-mode-color-interactive-button-primary-hover-bg-inverted: var(--post-core-color-brand-white),
|
|
25
|
-
post-mode-color-interactive-button-primary-hover-stroke-inverted: var(--post-core-color-brand-white),
|
|
26
|
-
post-mode-color-interactive-button-primary-disabled-fg: var(--post-core-color-sandgrey-060),
|
|
27
|
-
post-mode-color-interactive-button-primary-disabled-bg: var(--post-core-color-brand-white),
|
|
28
|
-
post-mode-color-interactive-button-primary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
29
|
-
post-mode-color-interactive-button-primary-disabled-fg-inverted: var(--post-core-color-brand-white),
|
|
30
|
-
post-mode-color-interactive-button-primary-disabled-bg-inverted: var(--post-core-color-sandgrey-060),
|
|
31
|
-
post-mode-color-interactive-button-primary-disabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
32
|
-
post-mode-color-interactive-button-secondary-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
33
|
-
post-mode-color-interactive-button-secondary-enabled-bg: var(--post-core-color-brand-white),
|
|
34
|
-
post-mode-color-interactive-button-secondary-enabled-stroke: var(--post-core-color-sandgrey-100),
|
|
35
|
-
post-mode-color-interactive-button-secondary-enabled-fg-inverted: var(--post-core-color-brand-white),
|
|
36
|
-
post-mode-color-interactive-button-secondary-enabled-bg-inverted: var(--post-core-color-sandgrey-100),
|
|
37
|
-
post-mode-color-interactive-button-secondary-enabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
38
|
-
post-mode-color-interactive-button-secondary-hover-fg: var(--post-core-color-sandgrey-070),
|
|
39
|
-
post-mode-color-interactive-button-secondary-hover-bg: var(--post-core-color-brand-white),
|
|
40
|
-
post-mode-color-interactive-button-secondary-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
41
|
-
post-mode-color-interactive-button-secondary-hover-fg-inverted: var(--post-core-color-brand-white),
|
|
42
|
-
post-mode-color-interactive-button-secondary-hover-bg-inverted: var(--post-core-color-sandgrey-070),
|
|
43
|
-
post-mode-color-interactive-button-secondary-hover-stroke-inverted: var(--post-core-color-brand-white),
|
|
44
|
-
post-mode-color-interactive-button-secondary-disabled-fg: var(--post-core-color-sandgrey-060),
|
|
45
|
-
post-mode-color-interactive-button-secondary-disabled-bg: var(--post-core-color-brand-white),
|
|
46
|
-
post-mode-color-interactive-button-secondary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
47
|
-
post-mode-color-interactive-button-secondary-disabled-fg-inverted: var(--post-core-color-brand-white),
|
|
48
|
-
post-mode-color-interactive-button-secondary-disabled-bg-inverted: var(--post-core-color-sandgrey-060),
|
|
49
|
-
post-mode-color-interactive-button-secondary-disabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
50
|
-
post-mode-color-interactive-button-tertiary-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
51
|
-
post-mode-color-interactive-button-tertiary-enabled-bg: var(--post-core-color-colorless),
|
|
52
|
-
post-mode-color-interactive-button-tertiary-enabled-stroke: var(--post-mode-color-interactive-button-tertiary-enabled-bg),
|
|
53
|
-
post-mode-color-interactive-button-tertiary-enabled-fg-inverted: var(--post-core-color-brand-white),
|
|
54
|
-
post-mode-color-interactive-button-tertiary-enabled-bg-inverted: var(--post-core-color-colorless),
|
|
55
|
-
post-mode-color-interactive-button-tertiary-enabled-stroke-inverted: var(--post-core-color-colorless),
|
|
56
|
-
post-mode-color-interactive-button-tertiary-hover-fg: var(--post-core-color-sandgrey-070),
|
|
57
|
-
post-mode-color-interactive-button-tertiary-hover-bg: var(--post-core-color-colorless),
|
|
58
|
-
post-mode-color-interactive-button-tertiary-hover-stroke: var(--post-mode-color-interactive-button-tertiary-hover-bg),
|
|
59
|
-
post-mode-color-interactive-button-tertiary-hover-fg-inverted: var(--post-core-color-brand-white),
|
|
60
|
-
post-mode-color-interactive-button-tertiary-hover-bg-inverted: var(--post-core-color-sandgrey-070),
|
|
61
|
-
post-mode-color-interactive-button-tertiary-hover-stroke-inverted: var(--post-core-color-colorless),
|
|
62
|
-
post-mode-color-interactive-button-tertiary-disabled-fg: var(--post-core-color-sandgrey-060),
|
|
63
|
-
post-mode-color-interactive-button-tertiary-disabled-bg: var(--post-core-color-colorless),
|
|
64
|
-
post-mode-color-interactive-button-tertiary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
65
|
-
post-mode-color-interactive-button-tertiary-disabled-fg-inverted: var(--post-core-color-brand-white),
|
|
66
|
-
post-mode-color-interactive-button-tertiary-disabled-bg-inverted: var(--post-core-color-sandgrey-060),
|
|
67
|
-
post-mode-color-interactive-button-tertiary-disabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
68
|
-
post-mode-color-interactive-button-segmented-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
69
|
-
post-mode-color-interactive-button-segmented-enabled-bg: var(--post-core-color-brand-white),
|
|
70
|
-
post-mode-color-interactive-button-segmented-enabled-stroke: var(--post-core-color-sandgrey-100),
|
|
71
|
-
post-mode-color-interactive-button-segmented-hover-fg: var(--post-core-color-sandgrey-070),
|
|
72
|
-
post-mode-color-interactive-button-segmented-hover-bg: var(--post-core-color-brand-white),
|
|
73
|
-
post-mode-color-interactive-button-segmented-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
74
|
-
post-mode-color-interactive-button-segmented-selected-fg: var(--post-core-color-brand-white),
|
|
75
|
-
post-mode-color-interactive-button-segmented-selected-bg: var(--post-core-color-sandgrey-100),
|
|
76
|
-
post-mode-color-interactive-button-segmented-selected-stroke: var(--post-core-color-sandgrey-100),
|
|
77
|
-
post-mode-color-interactive-focus-stroke: var(--post-core-color-sandgrey-100),
|
|
78
|
-
post-mode-color-interactive-focus-stroke-inverted: var(--post-core-color-brand-white),
|
|
79
|
-
post-mode-color-interactive-text_input-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
80
|
-
post-mode-color-interactive-text_input-enabled-bg: var(--post-core-color-brand-white),
|
|
81
|
-
post-mode-color-interactive-text_input-enabled-stroke: var(--post-mode-color-interactive-text_input-enabled-fg),
|
|
82
|
-
post-mode-color-interactive-text_input-hover-fg-label: var(--post-core-color-sandgrey-070),
|
|
83
|
-
post-mode-color-interactive-text_input-hover-bg: var(--post-core-color-brand-white),
|
|
84
|
-
post-mode-color-interactive-text_input-hover-fg-value: var(--post-core-color-sandgrey-100),
|
|
85
|
-
post-mode-color-interactive-text_input-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
86
|
-
post-mode-color-interactive-primary-enabled-bg1: var(--post-core-color-brand-white),
|
|
87
|
-
post-mode-color-interactive-primary-enabled-fg1: var(--post-core-color-sandgrey-100),
|
|
88
|
-
post-mode-color-interactive-primary-enabled-fg2: var(--post-core-color-sandgrey-060),
|
|
89
|
-
post-mode-color-interactive-primary-enabled-stroke: var(--post-core-color-sandgrey-100),
|
|
90
|
-
post-mode-color-interactive-primary-enabled-fg3: var(--post-core-color-brand-white),
|
|
91
|
-
post-mode-color-interactive-primary-enabled-bg2: var(--post-core-color-sandgrey-100),
|
|
92
|
-
post-mode-color-interactive-primary-enabled-stroke3: var(--post-core-color-brand-white),
|
|
93
|
-
post-mode-color-interactive-primary-hover-bg: var(--post-core-color-brand-white),
|
|
94
|
-
post-mode-color-interactive-primary-hover-fg1: var(--post-core-color-sandgrey-070),
|
|
95
|
-
post-mode-color-interactive-primary-hover-fg2: var(--post-core-color-sandgrey-060),
|
|
96
|
-
post-mode-color-interactive-primary-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
97
|
-
post-mode-color-interactive-primary-hover-fg3: var(--post-core-color-brand-white),
|
|
98
|
-
post-mode-color-interactive-primary-hover-bg2: var(--post-core-color-sandgrey-070),
|
|
99
|
-
post-mode-color-interactive-primary-hover-stroke3: var(--post-core-color-brand-white),
|
|
100
|
-
post-mode-color-interactive-primary-disabled-bg: var(--post-core-color-brand-white),
|
|
101
|
-
post-mode-color-interactive-primary-disabled-fg1: var(--post-core-color-sandgrey-060),
|
|
102
|
-
post-mode-color-interactive-primary-disabled-fg2: var(--post-core-color-sandgrey-060),
|
|
103
|
-
post-mode-color-interactive-primary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
104
|
-
post-mode-color-interactive-primary-disabled-bg2: var(--post-core-color-sandgrey-012),
|
|
105
|
-
post-mode-color-interactive-primary-disabled-fg3: var(--post-core-color-brand-white),
|
|
106
|
-
post-mode-color-interactive-primary-disabled-bg3: var(--post-core-color-sandgrey-012),
|
|
107
|
-
post-mode-color-interactive-primary-disabled-stroke2: var(--post-core-color-sandgrey-060),
|
|
108
|
-
post-mode-color-interactive-primary-disabled-bg4: var(--post-core-color-sandgrey-060),
|
|
109
|
-
post-mode-color-interactive-primary-disabled-stroke3: var(--post-core-color-brand-white),
|
|
110
|
-
post-mode-color-interactive-primary-selected-bg1: var(--post-core-color-brand-white),
|
|
111
|
-
post-mode-color-interactive-primary-selected-fg1: var(--post-core-color-sandgrey-100),
|
|
112
|
-
post-mode-color-interactive-primary-selected-fg2: var(--post-core-color-sandgrey-060),
|
|
113
|
-
post-mode-color-interactive-primary-selected-stroke1: var(--post-core-color-sandgrey-100),
|
|
114
|
-
post-mode-color-interactive-primary-selected-fg3: var(--post-core-color-brand-white),
|
|
115
|
-
post-mode-color-interactive-primary-selected-bg2: var(--post-core-color-notification-green),
|
|
116
|
-
post-mode-color-interactive-primary-selected-stroke4: var(--post-core-color-notification-green),
|
|
117
|
-
post-mode-color-interactive-primary-selected-stroke2: var(--post-core-color-brand-white),
|
|
118
|
-
post-mode-color-interactive-primary-selected-stroke3: var(--post-core-color-brand-white),
|
|
119
|
-
post-mode-color-interactive-notification-info-fg: var(--post-core-color-sandgrey-100),
|
|
120
|
-
post-mode-color-interactive-notification-info-bg: var(--post-mode-color-signal-information-light),
|
|
121
|
-
post-mode-color-interactive-notification-info-icon: var(--post-mode-color-signal-information-dark),
|
|
122
|
-
post-mode-color-interactive-notification-info-stroke: var(--post-mode-color-signal-information-dark),
|
|
123
|
-
post-mode-color-interactive-notification-success-fg: var(--post-core-color-sandgrey-100),
|
|
124
|
-
post-mode-color-interactive-notification-success-bg: var(--post-mode-color-signal-success-light),
|
|
125
|
-
post-mode-color-interactive-notification-success-icon: var(--post-mode-color-signal-success-dark),
|
|
126
|
-
post-mode-color-interactive-notification-success-stroke: var(--post-mode-color-signal-success-dark),
|
|
127
|
-
post-mode-color-interactive-notification-warning-fg: var(--post-core-color-sandgrey-100),
|
|
128
|
-
post-mode-color-interactive-notification-warning-bg: var(--post-mode-color-signal-warning-light),
|
|
129
|
-
post-mode-color-interactive-notification-warning-icon: var(--post-mode-color-signal-warning-dark),
|
|
130
|
-
post-mode-color-interactive-notification-warning-stroke: var(--post-mode-color-signal-warning-dark),
|
|
131
|
-
post-mode-color-interactive-notification-error-fg: var(--post-core-color-sandgrey-100),
|
|
132
|
-
post-mode-color-interactive-notification-error-bg: var(--post-mode-color-signal-error-light),
|
|
133
|
-
post-mode-color-interactive-notification-error-icon: var(--post-mode-color-signal-error-dark),
|
|
134
|
-
post-mode-color-interactive-notification-error-stroke: var(--post-mode-color-signal-error-dark),
|
|
135
|
-
post-mode-color-surface-default-bg: var(--post-core-color-sandgrey-002),
|
|
136
|
-
post-mode-color-surface-default-fg: var(--post-core-color-sandgrey-100),
|
|
137
|
-
post-mode-color-surface-default-stroke: var(--post-core-color-sandgrey-100),
|
|
138
|
-
post-mode-color-surface-accent1-bg: var(--post-core-color-brand-white),
|
|
139
|
-
post-mode-color-surface-accent1-fg: var(--post-core-color-sandgrey-100),
|
|
140
|
-
post-mode-color-surface-accent2-bg: var(--post-core-color-sandgrey-006),
|
|
141
|
-
post-mode-color-surface-accent2-fg: var(--post-core-color-sandgrey-100),
|
|
142
|
-
post-mode-color-surface-accent3-bg: var(--post-core-color-brand-postyellow),
|
|
143
|
-
post-mode-color-surface-accent3-fg: var(--post-core-color-sandgrey-100),
|
|
144
|
-
post-mode-color-surface-accent4-bg: var(--post-core-color-sandgrey-080),
|
|
145
|
-
post-mode-color-surface-accent4-fg: var(--post-core-color-brand-white),
|
|
146
|
-
post-mode-color-surface-accent4-fg-accent: var(--post-core-color-brand-postyellow),
|
|
147
|
-
post-mode-color-notification-badge-bg: var(--post-core-color-notification-red),
|
|
148
|
-
post-mode-color-notification-badge-fg: var(--post-core-color-brand-white),
|
|
149
|
-
post-mode-color-notification-badge-stroke: var(--post-core-color-brand-white),
|
|
150
|
-
post-mode-color-notification-popover-hover: var(--post-core-color-sandgrey-020),
|
|
151
|
-
);
|
|
152
|
-
|
|
153
|
-
$post-dark: (
|
|
154
|
-
post-mode-color-signal-success-dark: var(--post-core-color-notification-green),
|
|
155
|
-
post-mode-color-signal-success-light: var(--post-core-color-notification-green-light),
|
|
156
|
-
post-mode-color-signal-error-dark: var(--post-core-color-notification-red),
|
|
157
|
-
post-mode-color-signal-error-light: var(--post-core-color-notification-red-light),
|
|
158
|
-
post-mode-color-signal-warning-dark: var(--post-core-color-notification-orange),
|
|
159
|
-
post-mode-color-signal-warning-light: var(--post-core-color-notification-orange-light),
|
|
160
|
-
post-mode-color-signal-information-dark: var(--post-core-color-notification-blue),
|
|
161
|
-
post-mode-color-signal-information-light: var(--post-core-color-notification-blue-light),
|
|
162
|
-
post-mode-color-interactive-button-primary-enabled-fg: var(--post-core-color-brand-white),
|
|
163
|
-
post-mode-color-interactive-button-primary-enabled-bg: var(--post-core-color-sandgrey-100),
|
|
164
|
-
post-mode-color-interactive-button-primary-enabled-stroke: var(--post-mode-color-interactive-button-primary-enabled-bg),
|
|
165
|
-
post-mode-color-interactive-button-primary-enabled-fg-inverted: var(--post-core-color-sandgrey-100),
|
|
166
|
-
post-mode-color-interactive-button-primary-enabled-bg-inverted: var(--post-core-color-brand-white),
|
|
167
|
-
post-mode-color-interactive-button-primary-enabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
168
|
-
post-mode-color-interactive-button-primary-hover-fg: var(--post-core-color-brand-white),
|
|
169
|
-
post-mode-color-interactive-button-primary-hover-bg: var(--post-core-color-sandgrey-070),
|
|
170
|
-
post-mode-color-interactive-button-primary-hover-stroke: var(--post-mode-color-interactive-button-primary-hover-bg),
|
|
171
|
-
post-mode-color-interactive-button-primary-hover-fg-inverted: var(--post-core-color-sandgrey-070),
|
|
172
|
-
post-mode-color-interactive-button-primary-hover-bg-inverted: var(--post-core-color-brand-white),
|
|
173
|
-
post-mode-color-interactive-button-primary-hover-stroke-inverted: var(--post-core-color-brand-white),
|
|
174
|
-
post-mode-color-interactive-button-primary-disabled-fg: var(--post-core-color-sandgrey-060),
|
|
175
|
-
post-mode-color-interactive-button-primary-disabled-bg: var(--post-core-color-brand-white),
|
|
176
|
-
post-mode-color-interactive-button-primary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
177
|
-
post-mode-color-interactive-button-primary-disabled-fg-inverted: var(--post-core-color-brand-white),
|
|
178
|
-
post-mode-color-interactive-button-primary-disabled-bg-inverted: var(--post-core-color-sandgrey-060),
|
|
179
|
-
post-mode-color-interactive-button-primary-disabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
180
|
-
post-mode-color-interactive-button-secondary-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
181
|
-
post-mode-color-interactive-button-secondary-enabled-bg: var(--post-core-color-brand-white),
|
|
182
|
-
post-mode-color-interactive-button-secondary-enabled-stroke: var(--post-core-color-sandgrey-100),
|
|
183
|
-
post-mode-color-interactive-button-secondary-enabled-fg-inverted: var(--post-core-color-brand-white),
|
|
184
|
-
post-mode-color-interactive-button-secondary-enabled-bg-inverted: var(--post-core-color-sandgrey-100),
|
|
185
|
-
post-mode-color-interactive-button-secondary-enabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
186
|
-
post-mode-color-interactive-button-secondary-hover-fg: var(--post-core-color-sandgrey-070),
|
|
187
|
-
post-mode-color-interactive-button-secondary-hover-bg: var(--post-core-color-brand-white),
|
|
188
|
-
post-mode-color-interactive-button-secondary-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
189
|
-
post-mode-color-interactive-button-secondary-hover-fg-inverted: var(--post-core-color-brand-white),
|
|
190
|
-
post-mode-color-interactive-button-secondary-hover-bg-inverted: var(--post-core-color-sandgrey-070),
|
|
191
|
-
post-mode-color-interactive-button-secondary-hover-stroke-inverted: var(--post-core-color-brand-white),
|
|
192
|
-
post-mode-color-interactive-button-secondary-disabled-fg: var(--post-core-color-sandgrey-060),
|
|
193
|
-
post-mode-color-interactive-button-secondary-disabled-bg: var(--post-core-color-brand-white),
|
|
194
|
-
post-mode-color-interactive-button-secondary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
195
|
-
post-mode-color-interactive-button-secondary-disabled-fg-inverted: var(--post-core-color-brand-white),
|
|
196
|
-
post-mode-color-interactive-button-secondary-disabled-bg-inverted: var(--post-core-color-sandgrey-060),
|
|
197
|
-
post-mode-color-interactive-button-secondary-disabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
198
|
-
post-mode-color-interactive-button-tertiary-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
199
|
-
post-mode-color-interactive-button-tertiary-enabled-bg: var(--post-core-color-colorless),
|
|
200
|
-
post-mode-color-interactive-button-tertiary-enabled-stroke: var(--post-mode-color-interactive-button-tertiary-enabled-bg),
|
|
201
|
-
post-mode-color-interactive-button-tertiary-enabled-fg-inverted: var(--post-core-color-brand-white),
|
|
202
|
-
post-mode-color-interactive-button-tertiary-enabled-bg-inverted: var(--post-core-color-colorless),
|
|
203
|
-
post-mode-color-interactive-button-tertiary-enabled-stroke-inverted: var(--post-core-color-colorless),
|
|
204
|
-
post-mode-color-interactive-button-tertiary-hover-fg: var(--post-core-color-sandgrey-070),
|
|
205
|
-
post-mode-color-interactive-button-tertiary-hover-bg: var(--post-core-color-colorless),
|
|
206
|
-
post-mode-color-interactive-button-tertiary-hover-stroke: var(--post-mode-color-interactive-button-tertiary-hover-bg),
|
|
207
|
-
post-mode-color-interactive-button-tertiary-hover-fg-inverted: var(--post-core-color-brand-white),
|
|
208
|
-
post-mode-color-interactive-button-tertiary-hover-bg-inverted: var(--post-core-color-sandgrey-070),
|
|
209
|
-
post-mode-color-interactive-button-tertiary-hover-stroke-inverted: var(--post-core-color-colorless),
|
|
210
|
-
post-mode-color-interactive-button-tertiary-disabled-fg: var(--post-core-color-sandgrey-060),
|
|
211
|
-
post-mode-color-interactive-button-tertiary-disabled-bg: var(--post-core-color-colorless),
|
|
212
|
-
post-mode-color-interactive-button-tertiary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
213
|
-
post-mode-color-interactive-button-tertiary-disabled-fg-inverted: var(--post-core-color-brand-white),
|
|
214
|
-
post-mode-color-interactive-button-tertiary-disabled-bg-inverted: var(--post-core-color-sandgrey-060),
|
|
215
|
-
post-mode-color-interactive-button-tertiary-disabled-stroke-inverted: var(--post-core-color-brand-white),
|
|
216
|
-
post-mode-color-interactive-button-segmented-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
217
|
-
post-mode-color-interactive-button-segmented-enabled-bg: var(--post-core-color-brand-white),
|
|
218
|
-
post-mode-color-interactive-button-segmented-enabled-stroke: var(--post-core-color-sandgrey-100),
|
|
219
|
-
post-mode-color-interactive-button-segmented-hover-fg: var(--post-core-color-sandgrey-070),
|
|
220
|
-
post-mode-color-interactive-button-segmented-hover-bg: var(--post-core-color-brand-white),
|
|
221
|
-
post-mode-color-interactive-button-segmented-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
222
|
-
post-mode-color-interactive-button-segmented-selected-fg: var(--post-core-color-brand-white),
|
|
223
|
-
post-mode-color-interactive-button-segmented-selected-bg: var(--post-core-color-sandgrey-100),
|
|
224
|
-
post-mode-color-interactive-button-segmented-selected-stroke: var(--post-core-color-sandgrey-100),
|
|
225
|
-
post-mode-color-interactive-focus-stroke: var(--post-core-color-sandgrey-100),
|
|
226
|
-
post-mode-color-interactive-focus-stroke-inverted: var(--post-core-color-brand-white),
|
|
227
|
-
post-mode-color-interactive-text_input-enabled-fg: var(--post-core-color-sandgrey-100),
|
|
228
|
-
post-mode-color-interactive-text_input-enabled-bg: var(--post-core-color-brand-white),
|
|
229
|
-
post-mode-color-interactive-text_input-enabled-stroke: var(--post-mode-color-interactive-text_input-enabled-fg),
|
|
230
|
-
post-mode-color-interactive-text_input-hover-fg-label: var(--post-core-color-sandgrey-070),
|
|
231
|
-
post-mode-color-interactive-text_input-hover-bg: var(--post-core-color-brand-white),
|
|
232
|
-
post-mode-color-interactive-text_input-hover-fg-value: var(--post-core-color-sandgrey-100),
|
|
233
|
-
post-mode-color-interactive-text_input-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
234
|
-
post-mode-color-interactive-primary-enabled-bg1: var(--post-core-color-brand-white),
|
|
235
|
-
post-mode-color-interactive-primary-enabled-fg1: var(--post-core-color-sandgrey-100),
|
|
236
|
-
post-mode-color-interactive-primary-enabled-fg2: var(--post-core-color-sandgrey-060),
|
|
237
|
-
post-mode-color-interactive-primary-enabled-stroke: var(--post-core-color-sandgrey-100),
|
|
238
|
-
post-mode-color-interactive-primary-enabled-fg3: var(--post-core-color-brand-white),
|
|
239
|
-
post-mode-color-interactive-primary-enabled-bg2: var(--post-core-color-sandgrey-100),
|
|
240
|
-
post-mode-color-interactive-primary-enabled-stroke3: var(--post-core-color-brand-white),
|
|
241
|
-
post-mode-color-interactive-primary-hover-bg: var(--post-core-color-brand-white),
|
|
242
|
-
post-mode-color-interactive-primary-hover-fg1: var(--post-core-color-sandgrey-070),
|
|
243
|
-
post-mode-color-interactive-primary-hover-fg2: var(--post-core-color-sandgrey-060),
|
|
244
|
-
post-mode-color-interactive-primary-hover-stroke: var(--post-core-color-sandgrey-070),
|
|
245
|
-
post-mode-color-interactive-primary-hover-fg3: var(--post-core-color-brand-white),
|
|
246
|
-
post-mode-color-interactive-primary-hover-bg2: var(--post-core-color-sandgrey-070),
|
|
247
|
-
post-mode-color-interactive-primary-hover-stroke3: var(--post-core-color-brand-white),
|
|
248
|
-
post-mode-color-interactive-primary-disabled-bg: var(--post-core-color-brand-white),
|
|
249
|
-
post-mode-color-interactive-primary-disabled-fg1: var(--post-core-color-sandgrey-060),
|
|
250
|
-
post-mode-color-interactive-primary-disabled-fg2: var(--post-core-color-sandgrey-060),
|
|
251
|
-
post-mode-color-interactive-primary-disabled-stroke: var(--post-core-color-sandgrey-060),
|
|
252
|
-
post-mode-color-interactive-primary-disabled-bg2: var(--post-core-color-sandgrey-012),
|
|
253
|
-
post-mode-color-interactive-primary-disabled-fg3: var(--post-core-color-brand-white),
|
|
254
|
-
post-mode-color-interactive-primary-disabled-bg3: var(--post-core-color-sandgrey-012),
|
|
255
|
-
post-mode-color-interactive-primary-disabled-stroke2: var(--post-core-color-sandgrey-060),
|
|
256
|
-
post-mode-color-interactive-primary-disabled-bg4: var(--post-core-color-sandgrey-060),
|
|
257
|
-
post-mode-color-interactive-primary-disabled-stroke3: var(--post-core-color-brand-white),
|
|
258
|
-
post-mode-color-interactive-primary-selected-bg1: var(--post-core-color-brand-white),
|
|
259
|
-
post-mode-color-interactive-primary-selected-fg1: var(--post-core-color-sandgrey-100),
|
|
260
|
-
post-mode-color-interactive-primary-selected-fg2: var(--post-core-color-sandgrey-060),
|
|
261
|
-
post-mode-color-interactive-primary-selected-stroke1: var(--post-core-color-sandgrey-100),
|
|
262
|
-
post-mode-color-interactive-primary-selected-fg3: var(--post-core-color-brand-white),
|
|
263
|
-
post-mode-color-interactive-primary-selected-bg2: var(--post-core-color-notification-green),
|
|
264
|
-
post-mode-color-interactive-primary-selected-stroke4: var(--post-core-color-notification-green),
|
|
265
|
-
post-mode-color-interactive-primary-selected-stroke2: var(--post-core-color-brand-white),
|
|
266
|
-
post-mode-color-interactive-primary-selected-stroke3: var(--post-core-color-brand-white),
|
|
267
|
-
post-mode-color-interactive-notification-info-fg: var(--post-core-color-sandgrey-100),
|
|
268
|
-
post-mode-color-interactive-notification-info-bg: var(--post-mode-color-signal-information-light),
|
|
269
|
-
post-mode-color-interactive-notification-info-icon: var(--post-mode-color-signal-information-dark),
|
|
270
|
-
post-mode-color-interactive-notification-info-stroke: var(--post-mode-color-signal-information-dark),
|
|
271
|
-
post-mode-color-interactive-notification-success-fg: var(--post-core-color-sandgrey-100),
|
|
272
|
-
post-mode-color-interactive-notification-success-bg: var(--post-mode-color-signal-success-light),
|
|
273
|
-
post-mode-color-interactive-notification-success-icon: var(--post-mode-color-signal-success-dark),
|
|
274
|
-
post-mode-color-interactive-notification-success-stroke: var(--post-mode-color-signal-success-dark),
|
|
275
|
-
post-mode-color-interactive-notification-warning-fg: var(--post-core-color-sandgrey-100),
|
|
276
|
-
post-mode-color-interactive-notification-warning-bg: var(--post-mode-color-signal-warning-light),
|
|
277
|
-
post-mode-color-interactive-notification-warning-icon: var(--post-mode-color-signal-warning-dark),
|
|
278
|
-
post-mode-color-interactive-notification-warning-stroke: var(--post-mode-color-signal-warning-dark),
|
|
279
|
-
post-mode-color-interactive-notification-error-fg: var(--post-core-color-sandgrey-100),
|
|
280
|
-
post-mode-color-interactive-notification-error-bg: var(--post-mode-color-signal-error-light),
|
|
281
|
-
post-mode-color-interactive-notification-error-icon: var(--post-mode-color-signal-error-dark),
|
|
282
|
-
post-mode-color-interactive-notification-error-stroke: var(--post-mode-color-signal-error-dark),
|
|
283
|
-
post-mode-color-surface-default-bg: var(--post-core-color-sandgrey-002),
|
|
284
|
-
post-mode-color-surface-default-fg: var(--post-core-color-sandgrey-100),
|
|
285
|
-
post-mode-color-surface-default-stroke: var(--post-core-color-sandgrey-100),
|
|
286
|
-
post-mode-color-surface-accent1-bg: var(--post-core-color-brand-white),
|
|
287
|
-
post-mode-color-surface-accent1-fg: var(--post-core-color-sandgrey-100),
|
|
288
|
-
post-mode-color-surface-accent2-bg: var(--post-core-color-sandgrey-006),
|
|
289
|
-
post-mode-color-surface-accent2-fg: var(--post-core-color-sandgrey-100),
|
|
290
|
-
post-mode-color-surface-accent3-bg: var(--post-core-color-brand-postyellow),
|
|
291
|
-
post-mode-color-surface-accent3-fg: var(--post-core-color-sandgrey-100),
|
|
292
|
-
post-mode-color-surface-accent4-bg: var(--post-core-color-sandgrey-080),
|
|
293
|
-
post-mode-color-surface-accent4-fg: var(--post-core-color-brand-white),
|
|
294
|
-
post-mode-color-surface-accent4-fg-accent: var(--post-core-color-brand-postyellow),
|
|
295
|
-
post-mode-color-notification-badge-bg: var(--post-core-color-notification-red),
|
|
296
|
-
post-mode-color-notification-badge-fg: var(--post-core-color-brand-white),
|
|
297
|
-
post-mode-color-notification-badge-stroke: var(--post-core-color-brand-white),
|
|
298
|
-
post-mode-color-notification-popover-hover: var(--post-core-color-sandgrey-020),
|
|
299
|
-
);
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@use 'sass:list';
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
@use 'sass:meta';
|
|
4
|
-
|
|
5
|
-
@use '../functions/string';
|
|
6
|
-
@use '../functions/tokens' as tokens-fn;
|
|
7
|
-
@use '../tokens/utilities' as tokens;
|
|
8
|
-
|
|
9
|
-
$token-maps: meta.module-variables(tokens);
|
|
10
|
-
|
|
11
|
-
@function from-tokens($set, $group: $set) {
|
|
12
|
-
$map-name: 'post-#{$set}';
|
|
13
|
-
$token-prefix: 'post-utility-#{$group}-';
|
|
14
|
-
|
|
15
|
-
@if (not map.has-key($token-maps, $map-name)) {
|
|
16
|
-
@error 'The utility token map named "$#{$map-name}" is missing.';
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
$values: ();
|
|
20
|
-
@each $key, $value in map.get($token-maps, $map-name) {
|
|
21
|
-
@if (string.contains($key, $token-prefix)) {
|
|
22
|
-
$new-value: (
|
|
23
|
-
string.replace($key, $token-prefix, ''): $value,
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
$values: map.merge($values, $new-value);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@if (list.length($values) == 0) {
|
|
31
|
-
@error 'No token matching "#{$token-prefix}*" was found in the "$#{$map-name}" map.';
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@return $values;
|
|
35
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:color' as sass-color;
|
|
3
|
-
@use 'sass:list';
|
|
4
|
-
|
|
5
|
-
@use '../../themes/bootstrap/core' as *;
|
|
6
|
-
@use '../../themes/bootstrap/utilities' as bu; // TODO: Move Design System utilities to utilities folder.
|
|
7
|
-
@use '../../mixins/color' as color-mx;
|
|
8
|
-
@use '../../mixins/utilities';
|
|
9
|
-
@use '../../variables/color';
|
|
10
|
-
@use '../../variables/spacing';
|
|
11
|
-
@use '../../variables/grid';
|
|
12
|
-
|
|
13
|
-
.bold {
|
|
14
|
-
font-weight: 700;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.light {
|
|
18
|
-
font-weight: 300;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.regular {
|
|
22
|
-
font-weight: 400;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.h-visuallyhidden {
|
|
26
|
-
@include utilities.visuallyhidden;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.h-visuallyhidden-up-md {
|
|
30
|
-
@include media-breakpoint-up(md) {
|
|
31
|
-
@include utilities.visuallyhidden;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.h-visuallyhidden-down-rg {
|
|
36
|
-
@include media-breakpoint-down(rg) {
|
|
37
|
-
@include utilities.visuallyhidden;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.h-visuallyhidden-down-lg {
|
|
42
|
-
@include media-breakpoint-down(lg) {
|
|
43
|
-
@include utilities.visuallyhidden;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.h-clearfix {
|
|
48
|
-
@include clearfix;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
//-- Legacy --
|
|
52
|
-
span.spacer {
|
|
53
|
-
display: block;
|
|
54
|
-
width: spacing.$spacer;
|
|
55
|
-
height: spacing.$spacer;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.no-toggle-arrow::after {
|
|
59
|
-
display: none !important;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
// Background Utility
|
|
63
|
-
@each $name, $color in color.$background-colors {
|
|
64
|
-
.bg-#{$name} {
|
|
65
|
-
@include color-mx.colored-background($color);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// TODO: refactor to link default styles
|
|
70
|
-
.text-auto {
|
|
71
|
-
a {
|
|
72
|
-
color: inherit;
|
|
73
|
-
|
|
74
|
-
&:hover {
|
|
75
|
-
opacity: 0.8;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
a {
|
|
81
|
-
color: var(--post-contrast-color);
|
|
82
|
-
|
|
83
|
-
&:hover {
|
|
84
|
-
color: rgba(var(--post-contrast-color-rgb), 0.8);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@include utilities.high-contrast-mode() {
|
|
88
|
-
&,
|
|
89
|
-
&:visited,
|
|
90
|
-
&:focus,
|
|
91
|
-
&:hover {
|
|
92
|
-
color: LinkText !important;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
package/variables/_options.scss
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
@use './../color';
|
|
2
|
-
|
|
3
|
-
// Carousel
|
|
4
|
-
|
|
5
|
-
$carousel-control-color: color.$white !default;
|
|
6
|
-
$carousel-control-width: 15% !default;
|
|
7
|
-
$carousel-control-opacity: 0.5 !default;
|
|
8
|
-
$carousel-control-hover-opacity: 0.9 !default;
|
|
9
|
-
$carousel-control-transition: opacity 0.15s ease !default;
|
|
10
|
-
|
|
11
|
-
$carousel-indicator-width: 30px !default;
|
|
12
|
-
$carousel-indicator-height: 3px !default;
|
|
13
|
-
$carousel-indicator-hit-area-height: 10px !default;
|
|
14
|
-
$carousel-indicator-spacer: 3px !default;
|
|
15
|
-
$carousel-indicator-active-bg: color.$white !default;
|
|
16
|
-
$carousel-indicator-transition: opacity 0.6s ease !default;
|
|
17
|
-
|
|
18
|
-
$carousel-caption-width: 70% !default;
|
|
19
|
-
$carousel-caption-color: color.$white !default;
|
|
20
|
-
|
|
21
|
-
$carousel-control-icon-width: 20px !default;
|
|
22
|
-
|
|
23
|
-
$carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' width='8' height='8' viewBox='0 0 8 8'><path d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/></svg>") !default;
|
|
24
|
-
$carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' width='8' height='8' viewBox='0 0 8 8'><path d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/></svg>") !default;
|
|
25
|
-
|
|
26
|
-
$carousel-transition-duration: 0.6s !default;
|
|
27
|
-
$carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@use './forms';
|
|
2
|
-
@use './../color';
|
|
3
|
-
@use './../../functions/icons';
|
|
4
|
-
|
|
5
|
-
$form-select-border-radius: forms.$input-border-radius;
|
|
6
|
-
$form-select-disabled-color: forms.$input-disabled-color;
|
|
7
|
-
$form-select-disabled-bg: forms.$input-disabled-bg;
|
|
8
|
-
$form-select-disabled-border-color: color.$gray-40;
|
|
9
|
-
$form-select-indicator-color: color.$black;
|
|
10
|
-
$form-select-indicator: url('#{icons.get-colored-svg-url('2113', $form-select-indicator-color)}') !default;
|
|
11
|
-
$form-select-indicator-disabled: url('#{icons.get-colored-svg-url('2113', $form-select-disabled-border-color)}') !default;
|
|
12
|
-
$form-select-indicator-hcm-dark: url('#{icons.get-colored-svg-url('2113', color.$white)}') !default;
|
|
13
|
-
$form-select-indicator-hcm-light: url('#{icons.get-colored-svg-url('2113', color.$black)}') !default;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
@use './../color';
|
|
2
|
-
@use './../spacing';
|
|
3
|
-
@use './../type';
|
|
4
|
-
@use './../components/button';
|
|
5
|
-
@use './../components/forms';
|
|
6
|
-
@use './../../functions/icons';
|
|
7
|
-
@use './../../functions/sizing';
|
|
8
|
-
|
|
9
|
-
// Bootstrap variables
|
|
10
|
-
$form-feedback-margin-top: 0 !default;
|
|
11
|
-
$form-feedback-font-size: type.$font-size-12 !default;
|
|
12
|
-
$form-feedback-valid-color: color.$gray-60 !default;
|
|
13
|
-
$form-feedback-invalid-color: color.$error !default;
|
|
14
|
-
$form-feedback-icon-valid: url('#{icons.get-colored-svg-url('2105', color.$success)}') !default;
|
|
15
|
-
$form-feedback-icon-valid-hcm-dark: url('#{icons.get-colored-svg-url('2105', color.$white)}') !default;
|
|
16
|
-
$form-feedback-icon-valid-hcm-light: url('#{icons.get-colored-svg-url('2105', color.$black)}') !default;
|
|
17
|
-
$form-feedback-icon-invalid: url('#{icons.get-colored-svg-url('2104', color.$error)}') !default;
|
|
18
|
-
$form-feedback-icon-invalid-hcm-dark: url('#{icons.get-colored-svg-url('2104', color.$white)}') !default;
|
|
19
|
-
$form-feedback-icon-invalid-hcm-light: url('#{icons.get-colored-svg-url('2104', color.$black)}') !default;
|
|
20
|
-
|
|
21
|
-
// Design System custom variables
|
|
22
|
-
$form-feedback-padding-x: spacing.$size-regular !default;
|
|
23
|
-
$form-feedback-padding-y: sizing.px-to-rem(6);
|
|
24
|
-
$form-feedback-padding-y-sm: spacing.$size-micro;
|
|
25
|
-
$form-feedback-icon-size: 2rem !default; // Equals 24pt [svg-size]
|
|
26
|
-
$form-feedback-icon-offset: spacing.$size-mini !default;
|
|
27
|
-
$form-feedback-valid-bg: color.$success !default;
|
|
28
|
-
$form-feedback-valid-text: color.$white !default;
|
|
29
|
-
$form-feedback-invalid-bg: color.$error !default;
|
|
30
|
-
$form-feedback-invalid-text: color.$white !default;
|
|
31
|
-
$form-feedback-custom-color: color.$success !default;
|
|
32
|
-
$form-feedback-custom-bg: color.$success !default;
|
|
33
|
-
$form-feedback-invalid-box-shadow: 0 0 0 forms.$input-focus-width
|
|
34
|
-
rgba($form-feedback-invalid-color, 0.25) !default;
|
|
35
|
-
$form-feedback-valid-box-shadow: 0 0 0 forms.$input-focus-width
|
|
36
|
-
rgba($form-feedback-valid-color, 0.25) !default;
|
|
37
|
-
$form-feedback-custom-text: color.$white !default;
|
|
38
|
-
$form-feedback-custom-box-shadow: 0 0 0 0.2rem rgba($form-feedback-custom-color, 0.25) !default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use './../color';
|
|
3
|
-
@use './../spacing';
|
|
4
|
-
@use './../commons';
|
|
5
|
-
|
|
6
|
-
// List group
|
|
7
|
-
|
|
8
|
-
$list-group-bg: color.$white !default;
|
|
9
|
-
$list-group-border-color: color.$gray-10 !default;
|
|
10
|
-
$list-group-border-width: commons.$border-width !default;
|
|
11
|
-
$list-group-border-radius: 0 !default;
|
|
12
|
-
|
|
13
|
-
$list-group-item-padding-y: map.get(spacing.$post-sizes, 'small-regular') !default;
|
|
14
|
-
$list-group-item-padding-x: map.get(spacing.$post-sizes, 'large') !default;
|
|
15
|
-
|
|
16
|
-
$list-group-hover-bg: color.$light !default;
|
|
17
|
-
$list-group-hover-bg-inverted: color.$white !default;
|
|
18
|
-
$list-group-active-color: color.$white !default;
|
|
19
|
-
$list-group-active-bg: color.$gray-80 !default;
|
|
20
|
-
$list-group-active-border-color: $list-group-active-bg !default;
|
|
21
|
-
|
|
22
|
-
$list-group-disabled-color: color.$gray-20 !default;
|
|
23
|
-
$list-group-disabled-bg: $list-group-bg !default;
|
|
24
|
-
|
|
25
|
-
$list-group-action-color: color.$gray-60 !default;
|
|
26
|
-
$list-group-action-hover-color: color.$black !default;
|
|
27
|
-
|
|
28
|
-
$list-group-action-active-color: color.$black !default;
|
|
29
|
-
$list-group-action-active-bg: color.$gray-20 !default;
|