@sbb-esta/lyne-elements 4.0.0-next.1 → 4.0.0-next.2
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/alert/alert/alert.component.js +5 -5
- package/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +6 -6
- package/badge.css +3 -3
- package/breadcrumb/breadcrumb/breadcrumb.component.js +4 -4
- package/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +4 -4
- package/button/common.js +1 -1
- package/button/mini-button/mini-button.component.js +1 -1
- package/button.js +1 -1
- package/calendar/calendar.component.js +1 -1
- package/card/card-badge/card-badge.component.js +7 -7
- package/card/card-button/card-button.component.d.ts +1 -1
- package/card/card-link/card-link.component.d.ts +1 -1
- package/carousel/carousel/carousel.component.d.ts +2 -1
- package/carousel/carousel/carousel.component.d.ts.map +1 -1
- package/carousel/carousel/carousel.component.js +33 -28
- package/carousel/carousel-list/carousel-list.component.d.ts +1 -1
- package/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
- package/carousel/carousel-list/carousel-list.component.js +17 -22
- package/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/checkbox/common.js +1 -1
- package/checkbox-common-CrwfdL9V.js +5 -0
- package/checkbox.js +1 -1
- package/chip/chip/chip.component.js +3 -3
- package/chip-label/chip-label.component.js +8 -8
- package/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/core/controllers/media-matchers-controller.js +27 -27
- package/core/dom/breakpoint.d.ts +1 -0
- package/core/dom/breakpoint.d.ts.map +1 -1
- package/core/styles/core.scss +46 -47
- package/core/styles/mixins/chip.scss +4 -4
- package/core/styles/mixins/lists.scss +3 -3
- package/core/styles/mixins/panel.scss +2 -2
- package/core/styles/mixins/typo.scss +42 -40
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss +166 -38
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +4 -4
- package/core/styles/typography.scss +6 -6
- package/core.css +83 -84
- package/custom-elements.json +1494 -1515
- package/development/alert/alert/alert.component.js +7 -5
- package/development/autocomplete-grid/autocomplete-grid-option/autocomplete-grid-option.component.js +3 -3
- package/development/breadcrumb/breadcrumb/breadcrumb.component.js +3 -3
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.component.js +3 -3
- package/development/button/common.js +1 -1
- package/development/button/mini-button/mini-button.component.js +2 -2
- package/development/button.js +1 -1
- package/development/calendar/calendar.component.js +15 -15
- package/development/card/card-badge/card-badge.component.js +3 -3
- package/development/card/card-button/card-button.component.d.ts +1 -1
- package/development/card/card-link/card-link.component.d.ts +1 -1
- package/development/carousel/carousel/carousel.component.d.ts +2 -1
- package/development/carousel/carousel/carousel.component.d.ts.map +1 -1
- package/development/carousel/carousel/carousel.component.js +19 -8
- package/development/carousel/carousel-list/carousel-list.component.d.ts +1 -1
- package/development/carousel/carousel-list/carousel-list.component.d.ts.map +1 -1
- package/development/carousel/carousel-list/carousel-list.component.js +7 -14
- package/development/checkbox/checkbox/checkbox.component.d.ts +1 -1
- package/development/checkbox/common.js +1 -1
- package/development/{checkbox-common-BZFJgZd7.js → checkbox-common-BKjxH3Rp.js} +12 -12
- package/development/checkbox.js +1 -1
- package/development/chip/chip/chip.component.js +3 -3
- package/development/chip-label/chip-label.component.js +6 -6
- package/development/core/controllers/media-matchers-controller.d.ts.map +1 -1
- package/development/core/controllers/media-matchers-controller.js +5 -6
- package/development/core/dom/breakpoint.d.ts +1 -0
- package/development/core/dom/breakpoint.d.ts.map +1 -1
- package/development/core/dom/breakpoint.js +1 -1
- package/development/dialog/dialog-close-button/dialog-close-button.component.js +1 -1
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +3 -3
- package/development/file-selector/common.js +1 -1
- package/development/file-selector/file-selector/file-selector.component.d.ts +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts +1 -1
- package/development/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +8 -8
- package/development/{file-selector-common-CsFa5XJ-.js → file-selector-common-B-9Eiig3.js} +4 -4
- package/development/file-selector.js +1 -1
- package/development/footer/footer.component.js +3 -3
- package/development/form-error/form-error.component.js +5 -5
- package/development/form-field/form-field/form-field.component.js +14 -14
- package/development/header/common/header-action-common.js +3 -3
- package/development/header/header-button/header-button.component.d.ts +1 -1
- package/development/header/header-environment/header-environment.component.js +3 -3
- package/development/header/header-link/header-link.component.d.ts +1 -1
- package/development/image/image.component.d.ts +0 -1
- package/development/image/image.component.d.ts.map +1 -1
- package/development/image/image.component.js +11 -16
- package/development/link/common/block-link-common.js +10 -10
- package/development/menu/common/menu-action-common.js +3 -3
- package/development/message/message.component.js +6 -6
- package/development/{mini-button-common-Di32bSJj.js → mini-button-common-D1dU4MgN.js} +4 -4
- package/development/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +3 -3
- package/development/navigation/common/navigation-action-common.js +11 -11
- package/development/navigation/navigation-button/navigation-button.component.d.ts +1 -1
- package/development/navigation/navigation-link/navigation-link.component.d.ts +1 -1
- package/development/navigation/navigation-list/navigation-list.component.js +3 -3
- package/development/navigation/navigation-marker/navigation-marker.component.js +9 -9
- package/development/navigation/navigation-section/navigation-section.component.js +5 -5
- package/development/notification/notification.component.js +7 -7
- package/development/option/optgroup/optgroup-base-element.js +3 -3
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option/option-base-element.js +14 -4
- package/development/option/option/option.component.d.ts.map +1 -1
- package/development/option/option/option.component.js +8 -5
- package/development/option/option-hint/option-hint.component.js +3 -3
- package/development/paginator/compact-paginator/compact-paginator.component.d.ts +1 -1
- package/development/paginator/compact-paginator/compact-paginator.component.js +3 -3
- package/development/paginator/paginator/paginator.component.d.ts +1 -1
- package/development/paginator/paginator/paginator.component.js +12 -12
- package/development/radio-button/common.js +1 -1
- package/development/radio-button/radio-button/radio-button.component.d.ts +1 -1
- package/development/{radio-button-common-5uawgCpB.js → radio-button-common-BPrInmpg.js} +11 -11
- package/development/radio-button.js +1 -1
- package/development/sbb-tokens-DZrHvErO.js +19 -0
- package/development/select/select.component.js +1 -1
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +1 -1
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +1 -1
- package/development/sidebar/sidebar-title/sidebar-title.component.js +1 -1
- package/development/status/status.component.js +4 -4
- package/development/stepper/step/step.component.js +3 -3
- package/development/stepper/step-label/step-label.component.js +15 -15
- package/development/tabs/tab-label/tab-label.component.js +18 -18
- package/development/tag/tag/tag.component.js +7 -7
- package/development/teaser/teaser.component.js +3 -3
- package/development/teaser-hero/teaser-hero.component.js +2 -2
- package/development/teaser-product/common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.d.ts +1 -1
- package/development/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +1 -1
- package/development/{teaser-product-common-B1KK4iNu.js → teaser-product-common-v3BvyFdH.js} +5 -5
- package/development/teaser-product.js +1 -1
- package/development/timetable-occupancy/timetable-occupancy.component.js +3 -3
- package/development/title/title-base.js +10 -10
- package/development/title/title.component.d.ts +1 -2
- package/development/title/title.component.d.ts.map +1 -1
- package/development/title/title.component.js +25 -13
- package/development/toast/toast.component.js +5 -5
- package/development/toggle/toggle/toggle.component.js +3 -3
- package/development/toggle/toggle-option/toggle-option.component.js +3 -3
- package/development/toggle-check/toggle-check.component.js +11 -11
- package/development/tooltip/tooltip.component.js +3 -3
- package/development/train/train/train.component.js +4 -4
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +3 -3
- package/development/train/train-wagon/train-wagon.component.js +9 -9
- package/dialog/dialog-close-button/dialog-close-button.component.js +4 -4
- package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
- package/file-selector/common.js +1 -1
- package/file-selector/file-selector/file-selector.component.d.ts +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.d.ts +1 -1
- package/file-selector/file-selector-dropzone/file-selector-dropzone.component.js +9 -9
- package/{file-selector-common-CUp299VH.js → file-selector-common-DbYkpr-x.js} +1 -1
- package/file-selector.js +1 -1
- package/footer/footer.component.js +1 -1
- package/form-error/form-error.component.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/header/common/header-action-common.js +1 -1
- package/header/header-button/header-button.component.d.ts +1 -1
- package/header/header-environment/header-environment.component.js +4 -4
- package/header/header-link/header-link.component.d.ts +1 -1
- package/image/image.component.d.ts +0 -1
- package/image/image.component.d.ts.map +1 -1
- package/image/image.component.js +93 -97
- package/link/common/block-link-common.js +14 -14
- package/lists.css +9 -9
- package/menu/common/menu-action-common.js +1 -1
- package/message/message.component.js +6 -6
- package/mini-button-common-DSGLaplg.js +10 -0
- package/mini-calendar/mini-calendar-month/mini-calendar-month.component.js +1 -1
- package/navigation/common/navigation-action-common.js +17 -17
- package/navigation/navigation-button/navigation-button.component.d.ts +1 -1
- package/navigation/navigation-link/navigation-link.component.d.ts +1 -1
- package/navigation/navigation-list/navigation-list.component.js +3 -3
- package/navigation/navigation-marker/navigation-marker.component.js +12 -12
- package/navigation/navigation-section/navigation-section.component.js +5 -5
- package/notification/notification.component.js +1 -1
- package/off-brand-theme.css +136 -137
- package/option/optgroup/optgroup-base-element.js +1 -1
- package/option/option/option-base-element.d.ts.map +1 -1
- package/option/option/option-base-element.js +30 -20
- package/option/option/option.component.d.ts.map +1 -1
- package/option/option/option.component.js +8 -8
- package/option/option-hint/option-hint.component.js +10 -10
- package/package.json +1 -1
- package/paginator/compact-paginator/compact-paginator.component.d.ts +1 -1
- package/paginator/compact-paginator/compact-paginator.component.js +1 -1
- package/paginator/paginator/paginator.component.d.ts +1 -1
- package/paginator/paginator/paginator.component.js +1 -1
- package/radio-button/common.js +1 -1
- package/radio-button/radio-button/radio-button.component.d.ts +1 -1
- package/radio-button-common-chJrmIBn.js +5 -0
- package/radio-button.js +1 -1
- package/safety-theme.css +140 -141
- package/sbb-tokens-BNWpZrLn.js +11 -0
- package/select/select.component.js +1 -1
- package/sidebar/icon-sidebar-button/icon-sidebar-button.component.d.ts +1 -1
- package/sidebar/icon-sidebar-link/icon-sidebar-link.component.d.ts +1 -1
- package/sidebar/sidebar-title/sidebar-title.component.js +5 -5
- package/standard-theme.css +136 -137
- package/status/status.component.js +4 -4
- package/stepper/step/step.component.js +3 -3
- package/stepper/step-label/step-label.component.js +1 -1
- package/table.css +27 -27
- package/tabs/tab-label/tab-label.component.js +10 -10
- package/tag/tag/tag.component.js +1 -1
- package/teaser/teaser.component.js +1 -1
- package/teaser-hero/teaser-hero.component.js +1 -1
- package/teaser-product/common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.d.ts +1 -1
- package/teaser-product/teaser-product-static/teaser-product-static.component.d.ts +1 -1
- package/teaser-product-common-a4NenpSA.js +5 -0
- package/teaser-product.js +1 -1
- package/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/title/title-base.js +19 -19
- package/title/title.component.d.ts +1 -2
- package/title/title.component.d.ts.map +1 -1
- package/title/title.component.js +17 -17
- package/toast/toast.component.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +7 -7
- package/toggle-check/toggle-check.component.js +15 -15
- package/tooltip/tooltip.component.js +5 -5
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon/train-wagon.component.js +1 -1
- package/typography.css +11 -11
- package/checkbox-common-BGA_q9nc.js +0 -5
- package/development/sbb-tokens-DXgmy_b-.js +0 -21
- package/mini-button-common-DBnJfrBZ.js +0 -10
- package/radio-button-common-BT3VkZLM.js +0 -5
- package/sbb-tokens-CB1Hgctn.js +0 -12
- package/teaser-product-common-BwqWqRrK.js +0 -5
|
@@ -3,68 +3,80 @@
|
|
|
3
3
|
// ----------------------------------------------------------------------------------------------------
|
|
4
4
|
|
|
5
5
|
@mixin title-rules {
|
|
6
|
-
margin-block: var(--sbb-title-margin-block
|
|
6
|
+
margin-block: var(--sbb-title-margin-block, 0);
|
|
7
7
|
margin-inline: 0;
|
|
8
8
|
font-family: var(--sbb-typo-font-family);
|
|
9
9
|
font-weight: bold;
|
|
10
|
-
line-height: var(--sbb-title-line-height, var(--sbb-typo-line-height-
|
|
11
|
-
letter-spacing: var(--sbb-typo-letter-spacing-
|
|
10
|
+
line-height: var(--sbb-title-line-height, var(--sbb-typo-line-height-heading));
|
|
11
|
+
letter-spacing: var(--sbb-typo-letter-spacing-heading);
|
|
12
12
|
font-size: var(--sbb-title-font-size);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
@mixin title--level-1 {
|
|
16
|
-
--sbb-title-font-size: var(--sbb-title-font-size-level-1);
|
|
16
|
+
--sbb-title-font-size: var(--sbb-title-font-size-level-1-lean, var(--sbb-heading-font-size-1));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
@mixin title--level-1-spacing {
|
|
20
|
-
--sbb-title-margin-block
|
|
21
|
-
|
|
20
|
+
--sbb-title-margin-block: var(
|
|
21
|
+
--sbb-heading-margin-block-1-lean,
|
|
22
|
+
var(--sbb-heading-margin-block-1)
|
|
23
|
+
);
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
@mixin title--level-2 {
|
|
25
|
-
--sbb-title-font-size: var(--sbb-title-font-size-level-2);
|
|
27
|
+
--sbb-title-font-size: var(--sbb-title-font-size-level-2-lean, var(--sbb-heading-font-size-2));
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
@mixin title--level-2-spacing {
|
|
29
|
-
--sbb-title-margin-block
|
|
30
|
-
|
|
31
|
+
--sbb-title-margin-block: var(
|
|
32
|
+
--sbb-heading-margin-block-2-lean,
|
|
33
|
+
var(--sbb-heading-margin-block-2)
|
|
34
|
+
);
|
|
31
35
|
}
|
|
32
36
|
|
|
33
37
|
@mixin title--level-3 {
|
|
34
|
-
--sbb-title-font-size: var(--sbb-title-font-size-level-3);
|
|
38
|
+
--sbb-title-font-size: var(--sbb-title-font-size-level-3-lean, var(--sbb-heading-font-size-3));
|
|
35
39
|
}
|
|
36
40
|
|
|
37
41
|
@mixin title--level-3-spacing {
|
|
38
|
-
--sbb-title-margin-block
|
|
39
|
-
|
|
42
|
+
--sbb-title-margin-block: var(
|
|
43
|
+
--sbb-heading-margin-block-3-lean,
|
|
44
|
+
var(--sbb-heading-margin-block-3)
|
|
45
|
+
);
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
@mixin title--level-4 {
|
|
43
|
-
--sbb-title-font-size: var(--sbb-title-font-size-level-4);
|
|
49
|
+
--sbb-title-font-size: var(--sbb-title-font-size-level-4-lean, var(--sbb-heading-font-size-4));
|
|
44
50
|
}
|
|
45
51
|
|
|
46
52
|
@mixin title--level-4-spacing {
|
|
47
|
-
--sbb-title-margin-block
|
|
48
|
-
|
|
53
|
+
--sbb-title-margin-block: var(
|
|
54
|
+
--sbb-heading-margin-block-4-lean,
|
|
55
|
+
var(--sbb-heading-margin-block-4)
|
|
56
|
+
);
|
|
49
57
|
}
|
|
50
58
|
|
|
51
59
|
@mixin title--level-5 {
|
|
52
|
-
--sbb-title-font-size: var(--sbb-title-font-size-level-5);
|
|
60
|
+
--sbb-title-font-size: var(--sbb-title-font-size-level-5-lean, var(--sbb-heading-font-size-5));
|
|
53
61
|
}
|
|
54
62
|
|
|
55
63
|
@mixin title--level-5-spacing {
|
|
56
|
-
--sbb-title-margin-block
|
|
57
|
-
|
|
64
|
+
--sbb-title-margin-block: var(
|
|
65
|
+
--sbb-heading-margin-block-5-lean,
|
|
66
|
+
var(--sbb-heading-margin-block-5)
|
|
67
|
+
);
|
|
58
68
|
}
|
|
59
69
|
|
|
60
70
|
@mixin title--level-6 {
|
|
61
|
-
--sbb-title-font-size: var(--sbb-title-font-size-level-6);
|
|
62
|
-
--sbb-title-line-height: var(--sbb-typo-line-height-
|
|
71
|
+
--sbb-title-font-size: var(--sbb-title-font-size-level-6-lean, var(--sbb-heading-font-size-6));
|
|
72
|
+
--sbb-title-line-height: var(--sbb-typo-line-height-text);
|
|
63
73
|
}
|
|
64
74
|
|
|
65
75
|
@mixin title--level-6-spacing {
|
|
66
|
-
--sbb-title-margin-block
|
|
67
|
-
|
|
76
|
+
--sbb-title-margin-block: var(
|
|
77
|
+
--sbb-heading-margin-block-6-lean,
|
|
78
|
+
var(--sbb-heading-margin-block-6)
|
|
79
|
+
);
|
|
68
80
|
}
|
|
69
81
|
|
|
70
82
|
@mixin title-1($exclude-spacing: false) {
|
|
@@ -119,24 +131,14 @@
|
|
|
119
131
|
--sbb-title-text-color-normal: var(--sbb-color-3-negative);
|
|
120
132
|
}
|
|
121
133
|
|
|
122
|
-
// @deprecated, non-standard values, title rules combined with title level mixins are the alternative
|
|
123
|
-
@mixin title($exclude-spacing: false) {
|
|
124
|
-
@if not($exclude-spacing) {
|
|
125
|
-
--sbb-title-margin-block-start: var(--sbb-spacing-responsive-m);
|
|
126
|
-
--sbb-title-margin-block-end: var(--sbb-spacing-responsive-s);
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@include title-rules;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
134
|
// ----------------------------------------------------------------------------------------------------
|
|
133
135
|
// Typo: Text Style Mixins
|
|
134
136
|
// ----------------------------------------------------------------------------------------------------
|
|
135
137
|
@mixin text {
|
|
136
138
|
font-family: var(--sbb-typo-font-family);
|
|
137
139
|
font-weight: normal;
|
|
138
|
-
line-height: var(--sbb-typo-line-height-
|
|
139
|
-
letter-spacing: var(--sbb-typo-letter-spacing-
|
|
140
|
+
line-height: var(--sbb-typo-line-height-text);
|
|
141
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
140
142
|
font-size: var(--sbb-text-font-size);
|
|
141
143
|
}
|
|
142
144
|
|
|
@@ -145,7 +147,7 @@
|
|
|
145
147
|
}
|
|
146
148
|
|
|
147
149
|
@mixin text-xl--regular {
|
|
148
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
150
|
+
--sbb-text-font-size: var(--sbb-text-font-size-xl);
|
|
149
151
|
@include text;
|
|
150
152
|
}
|
|
151
153
|
|
|
@@ -155,7 +157,7 @@
|
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
@mixin text-l--regular {
|
|
158
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
160
|
+
--sbb-text-font-size: var(--sbb-text-font-size-l);
|
|
159
161
|
@include text;
|
|
160
162
|
}
|
|
161
163
|
|
|
@@ -165,7 +167,7 @@
|
|
|
165
167
|
}
|
|
166
168
|
|
|
167
169
|
@mixin text-m--regular {
|
|
168
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
170
|
+
--sbb-text-font-size: var(--sbb-text-font-size-m);
|
|
169
171
|
@include text;
|
|
170
172
|
}
|
|
171
173
|
|
|
@@ -175,7 +177,7 @@
|
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
@mixin text-s--regular {
|
|
178
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
180
|
+
--sbb-text-font-size: var(--sbb-text-font-size-s);
|
|
179
181
|
@include text;
|
|
180
182
|
}
|
|
181
183
|
|
|
@@ -185,7 +187,7 @@
|
|
|
185
187
|
}
|
|
186
188
|
|
|
187
189
|
@mixin text-xs--regular {
|
|
188
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
190
|
+
--sbb-text-font-size: var(--sbb-text-font-size-xs);
|
|
189
191
|
@include text;
|
|
190
192
|
}
|
|
191
193
|
|
|
@@ -195,7 +197,7 @@
|
|
|
195
197
|
}
|
|
196
198
|
|
|
197
199
|
@mixin text-xxs--regular {
|
|
198
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
200
|
+
--sbb-text-font-size: var(--sbb-text-font-size-xxs);
|
|
199
201
|
@include text;
|
|
200
202
|
}
|
|
201
203
|
|
package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 28 Oct 2025 06:41:21 GMT
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
4
3
|
*/
|
|
5
4
|
|
|
6
5
|
$theme: 'standard' !default;
|
|
@@ -645,10 +644,10 @@ $theme: 'standard' !default;
|
|
|
645
644
|
*/
|
|
646
645
|
--sbb-spacing-responsive-xxl-ultra: 7.5rem;
|
|
647
646
|
--sbb-typo-font-family: "SBB", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
648
|
-
--sbb-typo-letter-spacing-
|
|
649
|
-
--sbb-typo-letter-spacing-
|
|
650
|
-
--sbb-typo-line-height-
|
|
651
|
-
--sbb-typo-line-height-
|
|
647
|
+
--sbb-typo-letter-spacing-heading: 0em;
|
|
648
|
+
--sbb-typo-letter-spacing-text: 0.03em;
|
|
649
|
+
--sbb-typo-line-height-heading: 1.4;
|
|
650
|
+
--sbb-typo-line-height-text: 1.75;
|
|
652
651
|
/**
|
|
653
652
|
* Original Value: 12px
|
|
654
653
|
*/
|
|
@@ -728,7 +727,7 @@ $theme: 'standard' !default;
|
|
|
728
727
|
(
|
|
729
728
|
'standard': var(--sbb-color-red),
|
|
730
729
|
'off-brand': var(--sbb-color-royal),
|
|
731
|
-
'safety': var(--sbb-color-
|
|
730
|
+
'safety': var(--sbb-color-royal),
|
|
732
731
|
),
|
|
733
732
|
$theme
|
|
734
733
|
)};
|
|
@@ -736,7 +735,7 @@ $theme: 'standard' !default;
|
|
|
736
735
|
(
|
|
737
736
|
'standard': var(--sbb-color-red85),
|
|
738
737
|
'off-brand': var(--sbb-color-royal85),
|
|
739
|
-
'safety': var(--sbb-color-
|
|
738
|
+
'safety': var(--sbb-color-royal85),
|
|
740
739
|
),
|
|
741
740
|
$theme
|
|
742
741
|
)};
|
|
@@ -744,7 +743,7 @@ $theme: 'standard' !default;
|
|
|
744
743
|
(
|
|
745
744
|
'standard': var(--sbb-color-red125),
|
|
746
745
|
'off-brand': var(--sbb-color-royal125),
|
|
747
|
-
'safety': var(--sbb-color-
|
|
746
|
+
'safety': var(--sbb-color-royal125),
|
|
748
747
|
),
|
|
749
748
|
$theme
|
|
750
749
|
)};
|
|
@@ -752,7 +751,7 @@ $theme: 'standard' !default;
|
|
|
752
751
|
(
|
|
753
752
|
'standard': var(--sbb-color-red150),
|
|
754
753
|
'off-brand': var(--sbb-color-royal150),
|
|
755
|
-
'safety': var(--sbb-color-
|
|
754
|
+
'safety': var(--sbb-color-royal150),
|
|
756
755
|
),
|
|
757
756
|
$theme
|
|
758
757
|
)};
|
|
@@ -927,7 +926,7 @@ $theme: 'standard' !default;
|
|
|
927
926
|
var(--sbb-shadow-level-11-shadow-2) var(--sbb-shadow-color-hard-2-negative),
|
|
928
927
|
var(--sbb-shadow-level-11-shadow-1) var(--sbb-shadow-color-hard-1-negative);
|
|
929
928
|
|
|
930
|
-
--sbb-font-default
|
|
929
|
+
--sbb-font-color-default: var(--sbb-color-2);
|
|
931
930
|
|
|
932
931
|
/* Focus outline */
|
|
933
932
|
--sbb-focus-outline-color-default: var(--sbb-color-black);
|
|
@@ -939,19 +938,99 @@ $theme: 'standard' !default;
|
|
|
939
938
|
--sbb-focus-outline-width: var(--sbb-border-width-1x);
|
|
940
939
|
|
|
941
940
|
/* Title */
|
|
942
|
-
--sbb-font-size-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
--sbb-font-size-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
941
|
+
--sbb-heading-font-size-1: #{theme-pattern-select(
|
|
942
|
+
(
|
|
943
|
+
'standard': var(--sbb-typo-scale-2-5x),
|
|
944
|
+
'lean': var(--sbb-typo-scale-2x),
|
|
945
|
+
),
|
|
946
|
+
$theme
|
|
947
|
+
)};
|
|
948
|
+
--sbb-heading-font-size-2: #{theme-pattern-select(
|
|
949
|
+
(
|
|
950
|
+
'standard': var(--sbb-typo-scale-2x),
|
|
951
|
+
'lean': var(--sbb-typo-scale-1-5x),
|
|
952
|
+
),
|
|
953
|
+
$theme
|
|
954
|
+
)};
|
|
955
|
+
--sbb-heading-font-size-3: #{theme-pattern-select(
|
|
956
|
+
(
|
|
957
|
+
'standard': var(--sbb-typo-scale-1-5x),
|
|
958
|
+
'lean': var(--sbb-typo-scale-1-25x),
|
|
959
|
+
),
|
|
960
|
+
$theme
|
|
961
|
+
)};
|
|
962
|
+
--sbb-heading-font-size-4: #{theme-pattern-select(
|
|
963
|
+
(
|
|
964
|
+
'standard': var(--sbb-typo-scale-1-25x),
|
|
965
|
+
'lean': var(--sbb-typo-scale-1-125x),
|
|
966
|
+
),
|
|
967
|
+
$theme
|
|
968
|
+
)};
|
|
969
|
+
--sbb-heading-font-size-5: #{theme-pattern-select(
|
|
970
|
+
(
|
|
971
|
+
'standard': var(--sbb-typo-scale-1-125x),
|
|
972
|
+
'lean': var(--sbb-typo-scale-0-875x),
|
|
973
|
+
),
|
|
974
|
+
$theme
|
|
975
|
+
)};
|
|
976
|
+
--sbb-heading-font-size-6: #{theme-pattern-select(
|
|
977
|
+
(
|
|
978
|
+
'standard': var(--sbb-typo-scale-0-875x),
|
|
979
|
+
'lean': var(--sbb-typo-scale-0-75x),
|
|
980
|
+
),
|
|
981
|
+
$theme
|
|
982
|
+
)};
|
|
983
|
+
|
|
984
|
+
--sbb-heading-margin-block-1: #{theme-pattern-select(
|
|
985
|
+
(
|
|
986
|
+
'standard': var(--sbb-spacing-responsive-l) var(--sbb-spacing-responsive-s),
|
|
987
|
+
'lean': var(--sbb-spacing-responsive-s) var(--sbb-spacing-fixed-3x),
|
|
988
|
+
),
|
|
989
|
+
$theme
|
|
990
|
+
)};
|
|
991
|
+
--sbb-heading-margin-block-2: #{theme-pattern-select(
|
|
992
|
+
(
|
|
993
|
+
'standard': var(--sbb-spacing-responsive-m) var(--sbb-spacing-responsive-xxxs),
|
|
994
|
+
'lean': var(--sbb-spacing-responsive-s) var(--sbb-spacing-fixed-3x),
|
|
995
|
+
),
|
|
996
|
+
$theme
|
|
997
|
+
)};
|
|
998
|
+
--sbb-heading-margin-block-3: #{theme-pattern-select(
|
|
999
|
+
(
|
|
1000
|
+
'standard': var(--sbb-spacing-responsive-m) var(--sbb-spacing-responsive-xxxs),
|
|
1001
|
+
'lean': var(--sbb-spacing-responsive-s) var(--sbb-spacing-responsive-xxxs),
|
|
1002
|
+
),
|
|
1003
|
+
$theme
|
|
1004
|
+
)};
|
|
1005
|
+
--sbb-heading-margin-block-4: #{theme-pattern-select(
|
|
1006
|
+
(
|
|
1007
|
+
'standard': var(--sbb-spacing-responsive-m) var(--sbb-spacing-fixed-3x),
|
|
1008
|
+
'lean': var(--sbb-spacing-responsive-s) var(--sbb-spacing-fixed-2x),
|
|
1009
|
+
),
|
|
1010
|
+
$theme
|
|
1011
|
+
)};
|
|
1012
|
+
--sbb-heading-margin-block-5: #{theme-pattern-select(
|
|
1013
|
+
(
|
|
1014
|
+
'standard': var(--sbb-spacing-responsive-m) var(--sbb-spacing-fixed-2x),
|
|
1015
|
+
'lean': var(--sbb-spacing-responsive-s) var(--sbb-spacing-fixed-1x),
|
|
1016
|
+
),
|
|
1017
|
+
$theme
|
|
1018
|
+
)};
|
|
1019
|
+
--sbb-heading-margin-block-6: #{theme-pattern-select(
|
|
1020
|
+
(
|
|
1021
|
+
'standard': var(--sbb-spacing-responsive-m) var(--sbb-spacing-fixed-1x),
|
|
1022
|
+
'lean': var(--sbb-spacing-responsive-s) 0,
|
|
1023
|
+
),
|
|
1024
|
+
$theme
|
|
1025
|
+
)};
|
|
1026
|
+
|
|
1027
|
+
/* Text */
|
|
1028
|
+
--sbb-text-font-size-xl: var(--sbb-typo-scale-1-25x);
|
|
1029
|
+
--sbb-text-font-size-l: var(--sbb-typo-scale-1-125x);
|
|
1030
|
+
--sbb-text-font-size-m: var(--sbb-typo-scale-default);
|
|
1031
|
+
--sbb-text-font-size-s: var(--sbb-typo-scale-0-875x);
|
|
1032
|
+
--sbb-text-font-size-xs: var(--sbb-typo-scale-0-75x);
|
|
1033
|
+
--sbb-text-font-size-xxs: var(--sbb-typo-scale-0-75x);
|
|
955
1034
|
|
|
956
1035
|
/* Spacing */
|
|
957
1036
|
--sbb-spacing-responsive-xxxs: var(--sbb-spacing-responsive-xxxs-zero);
|
|
@@ -986,7 +1065,13 @@ $theme: 'standard' !default;
|
|
|
986
1065
|
|
|
987
1066
|
@mixin breakpoint-small {
|
|
988
1067
|
/* Title */
|
|
989
|
-
--sbb-font-size-
|
|
1068
|
+
--sbb-heading-font-size-1: #{theme-pattern-select(
|
|
1069
|
+
(
|
|
1070
|
+
'standard': var(--sbb-typo-scale-3x),
|
|
1071
|
+
'lean': var(--sbb-typo-scale-2x),
|
|
1072
|
+
),
|
|
1073
|
+
$theme
|
|
1074
|
+
)};
|
|
990
1075
|
|
|
991
1076
|
/* Spacing */
|
|
992
1077
|
--sbb-spacing-responsive-l: var(--sbb-spacing-responsive-l-small);
|
|
@@ -1001,18 +1086,55 @@ $theme: 'standard' !default;
|
|
|
1001
1086
|
|
|
1002
1087
|
@mixin breakpoint-large {
|
|
1003
1088
|
/* Title */
|
|
1004
|
-
--sbb-font-size-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
--sbb-font-size-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1089
|
+
--sbb-heading-font-size-1: #{theme-pattern-select(
|
|
1090
|
+
(
|
|
1091
|
+
'standard': var(--sbb-typo-scale-3-5x),
|
|
1092
|
+
'lean': var(--sbb-typo-scale-2-5x),
|
|
1093
|
+
),
|
|
1094
|
+
$theme
|
|
1095
|
+
)};
|
|
1096
|
+
--sbb-heading-font-size-2: #{theme-pattern-select(
|
|
1097
|
+
(
|
|
1098
|
+
'standard': var(--sbb-typo-scale-2-5x),
|
|
1099
|
+
'lean': var(--sbb-typo-scale-2x),
|
|
1100
|
+
),
|
|
1101
|
+
$theme
|
|
1102
|
+
)};
|
|
1103
|
+
--sbb-heading-font-size-3: #{theme-pattern-select(
|
|
1104
|
+
(
|
|
1105
|
+
'standard': var(--sbb-typo-scale-2x),
|
|
1106
|
+
'lean': var(--sbb-typo-scale-1-5x),
|
|
1107
|
+
),
|
|
1108
|
+
$theme
|
|
1109
|
+
)};
|
|
1110
|
+
--sbb-heading-font-size-4: #{theme-pattern-select(
|
|
1111
|
+
(
|
|
1112
|
+
'standard': var(--sbb-typo-scale-1-5x),
|
|
1113
|
+
'lean': var(--sbb-typo-scale-1-25x),
|
|
1114
|
+
),
|
|
1115
|
+
$theme
|
|
1116
|
+
)};
|
|
1117
|
+
--sbb-heading-font-size-5: #{theme-pattern-select(
|
|
1118
|
+
(
|
|
1119
|
+
'standard': var(--sbb-typo-scale-1-25x),
|
|
1120
|
+
'lean': var(--sbb-typo-scale-default),
|
|
1121
|
+
),
|
|
1122
|
+
$theme
|
|
1123
|
+
)};
|
|
1124
|
+
--sbb-heading-font-size-6: #{theme-pattern-select(
|
|
1125
|
+
(
|
|
1126
|
+
'standard': var(--sbb-typo-scale-default),
|
|
1127
|
+
'lean': var(--sbb-typo-scale-0-875x),
|
|
1128
|
+
),
|
|
1129
|
+
$theme
|
|
1130
|
+
)};
|
|
1131
|
+
|
|
1132
|
+
/* Text */
|
|
1133
|
+
--sbb-text-font-size-xl: var(--sbb-typo-scale-1-5x);
|
|
1134
|
+
--sbb-text-font-size-l: var(--sbb-typo-scale-1-25x);
|
|
1135
|
+
--sbb-text-font-size-m: var(--sbb-typo-scale-1-125x);
|
|
1136
|
+
--sbb-text-font-size-s: var(--sbb-typo-scale-default);
|
|
1137
|
+
--sbb-text-font-size-xs: var(--sbb-typo-scale-0-875x);
|
|
1016
1138
|
|
|
1017
1139
|
/* Spacing */
|
|
1018
1140
|
--sbb-spacing-responsive-xxxs: var(--sbb-spacing-responsive-xxxs-large);
|
|
@@ -1040,7 +1162,13 @@ $theme: 'standard' !default;
|
|
|
1040
1162
|
|
|
1041
1163
|
@mixin breakpoint-ultra {
|
|
1042
1164
|
/* Title */
|
|
1043
|
-
--sbb-font-size-
|
|
1165
|
+
--sbb-heading-font-size-1: #{theme-pattern-select(
|
|
1166
|
+
(
|
|
1167
|
+
'standard': var(--sbb-typo-scale-4x),
|
|
1168
|
+
'lean': var(--sbb-typo-scale-2-5x),
|
|
1169
|
+
),
|
|
1170
|
+
$theme
|
|
1171
|
+
)};
|
|
1044
1172
|
|
|
1045
1173
|
/* Spacing */
|
|
1046
1174
|
--sbb-spacing-responsive-m: var(--sbb-spacing-responsive-m-ultra);
|
|
@@ -340,10 +340,10 @@ $sbb-spacing-responsive-xxl-large: 6rem;
|
|
|
340
340
|
/// Original Value: 120px
|
|
341
341
|
$sbb-spacing-responsive-xxl-ultra: 7.5rem;
|
|
342
342
|
$sbb-typo-font-family: "SBB", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
343
|
-
$sbb-typo-letter-spacing-
|
|
344
|
-
$sbb-typo-letter-spacing-
|
|
345
|
-
$sbb-typo-line-height-
|
|
346
|
-
$sbb-typo-line-height-
|
|
343
|
+
$sbb-typo-letter-spacing-heading: 0em;
|
|
344
|
+
$sbb-typo-letter-spacing-text: 0.03em;
|
|
345
|
+
$sbb-typo-line-height-heading: 1.4;
|
|
346
|
+
$sbb-typo-line-height-text: 1.75;
|
|
347
347
|
/// Original Value: 12px
|
|
348
348
|
$sbb-typo-scale-0-75x: 0.75rem;
|
|
349
349
|
/// Original Value: 13px
|
|
@@ -18,27 +18,27 @@ sup {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.sbb-text-xxs {
|
|
21
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
21
|
+
--sbb-text-font-size: var(--sbb-text-font-size-xxs);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
.sbb-text-xs {
|
|
25
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
25
|
+
--sbb-text-font-size: var(--sbb-text-font-size-xs);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.sbb-text-s {
|
|
29
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
29
|
+
--sbb-text-font-size: var(--sbb-text-font-size-s);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.sbb-text-m {
|
|
33
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
33
|
+
--sbb-text-font-size: var(--sbb-text-font-size-m);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.sbb-text-l {
|
|
37
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
37
|
+
--sbb-text-font-size: var(--sbb-text-font-size-l);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.sbb-text-xl {
|
|
41
|
-
--sbb-text-font-size: var(--sbb-font-size-
|
|
41
|
+
--sbb-text-font-size: var(--sbb-text-font-size-xl);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.sbb-text--bold {
|