@norges-domstoler/dds-design-tokens 6.0.1 → 7.1.0

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.
@@ -0,0 +1,214 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ .dds-core {
6
+ --dds-font-family-sans: 'IBM Plex Sans', Arial, sans-serif;
7
+ --dds-font-family-monospace: 'IBM Plex Mono', 'Courier New', monospace; /* For kode */
8
+ --dds-font-size-x5: 5rem;
9
+ --dds-font-size-x4: 4rem;
10
+ --dds-font-size-x3: 3rem;
11
+ --dds-font-size-x2-5: 2.5rem;
12
+ --dds-font-size-x2: 2rem;
13
+ --dds-font-size-x1-5: 1.5rem;
14
+ --dds-font-size-x1-25: 1.25rem;
15
+ --dds-font-size-x1-125: 1.125rem;
16
+ --dds-font-size-x1: 1rem;
17
+ --dds-font-size-x0-875: 0.875rem;
18
+ --dds-font-size-x0-75: 0.75rem;
19
+ --dds-font-size-xxlarge: 3rem;
20
+ --dds-font-size-xlarge: 2rem;
21
+ --dds-font-size-large: 1.5rem;
22
+ --dds-font-size-medium: 1.25rem;
23
+ --dds-font-size-small: 1.125rem;
24
+ --dds-font-size-xsmall: 1rem;
25
+ --dds-font-size-xxsmall: 0.875rem;
26
+ --dds-font-size-xxxsmall: 0.75rem;
27
+ --dds-font-weight-light: 300;
28
+ --dds-font-weight-normal: 400;
29
+ --dds-font-weight-bold: 600;
30
+ --dds-font-lineheight-x1: 1.5; /* Brukes på str ×1_25 og mindre */
31
+ --dds-font-lineheight-x2: 1.35; /* Brukes på str x1.5, ×2 og ×3 */
32
+ --dds-font-lineheight-x3: 1.2; /* Brukes på str ×3 og større */
33
+ --dds-font-lineheight-list: 2.5; /* Brukes på lister */
34
+ --dds-font-letter-spacing-tight: -0.01em; /* Brukes på str ×2.5 og større */
35
+ --dds-font-letter-spacing-normal: 0em; /* Brukes på str ×1 og opp til og med ×2 */
36
+ --dds-font-letter-spacing-loose: 0.01em; /* Brukes på størrelser under ×1 */
37
+ --dds-font-paragraph-spacing-small: 1em; /* Brukes på str ×1_25 og mindre */
38
+ --dds-font-paragraph-spacing-medium: 0.66em; /* Brukes på str x1.5, ×2 og ×3 */
39
+ --dds-font-paragraph-spacing-large: 0.5em; /* Brukes på str ×3 og større */
40
+ --dds-font-paragraph-spacing-heading: 0.4em; /* Brukes på på alle headere (bottom) */
41
+ --dds-font-style-underline: underline;
42
+ --dds-font-style-normal: none;
43
+ --dds-font-style-italic: italic;
44
+ --dds-spacing-padding-top-heading: 0.7em; /* Ekstra spacing over dds-header. 70% av størrelsen på headeren */
45
+ --dds-spacing-x0: 0rem;
46
+ --dds-spacing-x0-125: 0.125rem;
47
+ --dds-spacing-x0-25: 0.25rem;
48
+ --dds-spacing-x0-5: 0.5rem;
49
+ --dds-spacing-x0-75: 0.75rem;
50
+ --dds-spacing-x1: 1rem;
51
+ --dds-spacing-x1-5: 1.5rem;
52
+ --dds-spacing-x2: 2rem;
53
+ --dds-spacing-x2-5: 2.5rem;
54
+ --dds-spacing-x3: 3rem;
55
+ --dds-spacing-x4: 4rem;
56
+ --dds-spacing-x6: 6rem;
57
+ --dds-spacing-x10: 10rem;
58
+ --dds-shadow-1: 1px 2px 4px 0px rgba(11, 13, 14, 10%);
59
+ --dds-shadow-2: 2px 4px 8px 0px rgba(11, 13, 14, 10%);
60
+ --dds-shadow-3: 4px 8px 16px 0px rgba(11, 13, 14, 10%);
61
+ --dds-shadow-4: 8px 16px 32px 0px rgba(11, 13, 14, 10%);
62
+ --dds-grid-xs-gutter-size: 16px;
63
+ --dds-grid-xs-count: 4;
64
+ --dds-grid-sm-gutter-size: 16px;
65
+ --dds-grid-sm-count: 8;
66
+ --dds-grid-lg-gutter-size: 24px;
67
+ --dds-grid-lg-count: 12;
68
+ --dds-grid-md-gutter-size: 24px;
69
+ --dds-grid-md-count: 12;
70
+ --dds-grid-xl-gutter-size: 24px;
71
+ --dds-grid-xl-count: 12;
72
+ --dds-icon-size-large: 40px;
73
+ --dds-icon-size-medium: 24px;
74
+ --dds-icon-size-small: 16px;
75
+ --dds-breakpoint-xs: 1px;
76
+ --dds-breakpoint-sm: 600px;
77
+ --dds-breakpoint-md: 960px;
78
+ --dds-breakpoint-lg: 1280px;
79
+ --dds-breakpoint-xl: 1920px;
80
+ --dds-color-bg-default: #ffffff; /* UI shell base color */
81
+ --dds-color-bg-subtle: #f8f9f9; /* Alternative UI shell base color */
82
+ --dds-color-surface-default: #ffffff; /* Default bg */
83
+ --dds-color-surface-subtle: #f8f9f9; /* Subtle surface color */
84
+ --dds-color-surface-medium: #ebecee; /* Medium surface color */
85
+ --dds-color-surface-hover-default: #e7f1f7; /* Hover on surface (default, subtle, medium) */
86
+ --dds-color-surface-hover-subtle: #f8f9f9; /* Subtle hover on surface (default, medium) */
87
+ --dds-color-surface-selected-default: #e7f1f7; /* Selected state for surface (default, subtle, medium) */
88
+ --dds-color-surface-inverse-default: #354754; /* Can be used as a surface for menu, navigation, footer etc */
89
+ --dds-color-surface-inverse-hover: #313d45; /* Hover on surface.inverse */
90
+ --dds-color-surface-inverse-selected: #202b32; /* selected on surface.inverse */
91
+ --dds-color-surface-action-resting: #106ead; /* Primary button bg */
92
+ --dds-color-surface-action-hover: #0d588a; /* Hover on surface.action/selected */
93
+ --dds-color-surface-action-selected: #106ead; /* Selected state for components such as togglebutton, togglebar, progress tracker, checkbox etc */
94
+ --dds-color-surface-action-danger-resting: #d83737; /* Danger button */
95
+ --dds-color-surface-action-danger-hover: #ad2c2c; /* Hover on surface.action-danger */
96
+ --dds-color-surface-action-selected-disabled: #77838c; /* bg on a selected disabled checkbox, radio etc */
97
+ --dds-color-surface-danger-default: #fbebeb; /* tag, message, errormessage */
98
+ --dds-color-surface-danger-strong: #e47373; /* tag strong value */
99
+ --dds-color-surface-success-default: #f0f9f0; /* tag, message */
100
+ --dds-color-surface-success-strong: #93d294; /* tag with strong value */
101
+ --dds-color-surface-warning-default: #fefced; /* tag, message */
102
+ --dds-color-surface-warning-strong: #f7e982; /* tag strong value */
103
+ --dds-color-surface-info-default: #f1f8fd; /* tag, message */
104
+ --dds-color-surface-info-strong: #9eceee; /* tag strong value */
105
+ --dds-color-surface-paper-default: #ffffff; /* modal, drawer, popover etc */
106
+ --dds-color-surface-backdrop-default: #0b0d0e80; /* background overlay for modals (50%) */
107
+ --dds-color-surface-field-default: #ffffff; /* Form elements (textinput, datepicker etc) */
108
+ --dds-color-surface-field-disabled: #f8f9f9; /* disabled state on surface.field */
109
+ --dds-color-surface-highlighted-default: #ffe6df; /* bg for highlighted text on text.default. Use with $Text */
110
+ --dds-color-surface-scrollbar: #adb5ba; /* Used for scrollbar */
111
+ --dds-color-surface-notification: #d83737; /* bg on a notification */
112
+ --dds-color-surface-skeleton: #cfd4d7; /* Used for skeleton */
113
+ --dds-color-border-default: #77838c; /* Form components, togglebutton, secondary button, checkbox etc */
114
+ --dds-color-border-subtle: #cfd4d7; /* Dropdown, tooltip, overflow etc */
115
+ --dds-color-border-inverse: #acbbc6; /* Border or divider on surface.inverse */
116
+ --dds-color-border-action-default: #106ead; /* Used in progress tracker */
117
+ --dds-color-border-action-hover: #0d588a; /* Hover on secondary button etc */
118
+ --dds-color-border-success: #65be66; /* Used with tag-default */
119
+ --dds-color-border-warning: #f4e04d; /* Tag.default */
120
+ --dds-color-border-danger: #d83737; /* Tag.default, error message field */
121
+ --dds-color-border-info: #75b9e6; /* Tag.default */
122
+ --dds-color-border-on-action: #ffffff; /* Used on primary split button */
123
+ --dds-color-text-default: #0b0d0e; /* default text, heading, body. on surface.hover */
124
+ --dds-color-text-medium: #3a4146; /* Label, etc */
125
+ --dds-color-text-subtle: #545c62; /* Disabled or less important text */
126
+ --dds-color-text-on-inverse: #ffffff; /* On surface.inverse */
127
+ --dds-color-text-on-action: #ffffff; /* On surface.action (primary and danger button) */
128
+ --dds-color-text-on-status-default: #0b0d0e; /* On default status surfaces */
129
+ --dds-color-text-on-status-strong: #0b0d0e; /* On status surfaces with strong prop */
130
+ --dds-color-text-action-resting: #106ead; /* Link, number in progress tracker */
131
+ --dds-color-text-action-hover: #0d588a; /* Hover on text.action */
132
+ --dds-color-text-requiredfield: #d83737; /* Asterix to indicate required field */
133
+ --dds-color-text-action-visited: #7f29b4; /* Used for visited links */
134
+ --dds-color-text-action-visited-on-inverse: #cca9e1; /* Used for visited links on inverse surfaces */
135
+ --dds-color-text-on-notification: #ffffff; /* Used on surface.notification */
136
+ --dds-color-text-danger: #ad2c2c; /* Error text on paper, or default or subtle surafce/bg */
137
+ --dds-color-icon-default: #0b0d0e; /* Often used with text.default */
138
+ --dds-color-icon-medium: #3a4146; /* Often used with text.medium */
139
+ --dds-color-icon-subtle: #545c62; /* Often used with text.subtle */
140
+ --dds-color-icon-on-inverse: #ffffff; /* On surface.inverse */
141
+ --dds-color-icon-on-action: #ffffff; /* On surface.action (primary and danger button) */
142
+ --dds-color-icon-action-resting: #106ead; /* Often used with Text.action */
143
+ --dds-color-icon-action-hover: #0d588a; /* hover on icon-action, used on secondary buttons etc */
144
+ --dds-color-icon-on-success-default: #3d723d; /* On surface.success-default */
145
+ --dds-color-icon-on-success-strong: #0b0d0e; /* On surface-success-strong */
146
+ --dds-color-icon-on-warning-default: #92862e; /* On surface.warning-default */
147
+ --dds-color-icon-on-warning-strong: #0b0d0e; /* On surface.warning-strong */
148
+ --dds-color-icon-on-danger-default: #ad2c2c; /* On surface.danger-default */
149
+ --dds-color-icon-on-danger-strong: #0b0d0e; /* On surface.danger-strong */
150
+ --dds-color-icon-on-info-default: #466f8a; /* On surface.info-default */
151
+ --dds-color-icon-on-info-strong: #0b0d0e; /* On surface.info-strong */
152
+ --dds-color-icon-danger: #ad2c2c; /* Error icon on paper, or default or subtle surafce/bg */
153
+ --dds-color-brand-primary-default: #354754; /* Primary brand color */
154
+ --dds-color-brand-primary-subtle: #eaeff4; /* Primary brand color */
155
+ --dds-color-brand-primary-medium: #4f6a7e; /* Primary brand color */
156
+ --dds-color-brand-primary-strong: #202b32;
157
+ --dds-color-brand-secondary-default: #9ab8b7; /* Secondary brand color */
158
+ --dds-color-brand-secondary-subtle: #e6eded; /* Secondary brand color */
159
+ --dds-color-brand-secondary-medium: #b8cdcd; /* Secondary brand color */
160
+ --dds-color-brand-secondary-strong: #4d6463;
161
+ --dds-color-brand-tertiary-default: #f2a68f; /* Tertiary brand color */
162
+ --dds-color-brand-tertiary-subtle: #ffe6df; /* Tertiary brand color */
163
+ --dds-color-brand-tertiary-medium: #f6c1b1; /* Tertiary brand color */
164
+ --dds-color-brand-tertiary-strong: #f27e55;
165
+ --dds-color-focus-outside: #2f4a5c; /* Contrast to .inside */
166
+ --dds-color-focus-inside: #f1f8fd; /* Contrast to .outside */
167
+ --dds-font-label-medium: 600 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Label for form components */
168
+ --dds-font-body-xsmall: 400 0.75rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* used with xsmall button and input fields */
169
+ --dds-font-body-small: 400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* used with small button and input fields */
170
+ --dds-font-body-medium: 400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* standard body text, used with medium button and input fields */
171
+ --dds-font-body-large: 400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Used for large button and large search */
172
+ --dds-font-heading-xxsmall: 600 0.75rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h6 */
173
+ --dds-font-heading-xsmall: 600 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h5 */
174
+ --dds-font-heading-small: 600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h4 */
175
+ --dds-font-heading-medium: 600 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h3 */
176
+ --dds-font-heading-large: 400 clamp(1.25rem, 0.833rem + 1.111vw, 1.5rem)/1.35 'IBM Plex Sans', Arial, sans-serif; /* Default h2 */
177
+ --dds-font-heading-xlarge: 400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.35 'IBM Plex Sans', Arial, sans-serif; /* Default H1 */
178
+ --dds-font-heading-xxlarge: 300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.2 'IBM Plex Sans', Arial, sans-serif; /* Display or extra large page title (h1) */
179
+ --dds-font-lead-medium: 300 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Lead brukes som ingress når man skriver artikler etc */
180
+ --dds-font-code-medium: 400 1rem/1.5 'IBM Plex Mono', 'Courier New', monospace; /* Brukes for kodesnutter etc */
181
+ --dds-border-radius-button: 2px; /* For use in button component and togglebutton */
182
+ --dds-border-radius-surface: 4px; /* Most surfaces, for example cards, papers, messages, backgrounds in GUI */
183
+ --dds-border-radius-input: 2px; /* All input fields, and check boxes */
184
+ --dds-border-radius-chip: 4px; /* Chips and tags */
185
+ --dds-border-radius-rounded: 9999px; /* Rounded and circular components such as radiobutton, toggle, togglebutton and progress tracker */
186
+ --dds-font-heading-xxlarge-letter-spacing: -0.01em;
187
+ --dds-font-heading-xxlarge-paragraph-spacing: 0.4em;
188
+ --dds-font-heading-xlarge-letter-spacing: 0em;
189
+ --dds-font-heading-xlarge-paragraph-spacing: 0.4em;
190
+ --dds-font-heading-large-letter-spacing: 0em;
191
+ --dds-font-heading-large-paragraph-spacing: 0.4em;
192
+ --dds-font-heading-medium-letter-spacing: 0em;
193
+ --dds-font-heading-medium-paragraph-spacing: 0.4em;
194
+ --dds-font-heading-small-letter-spacing: 0em;
195
+ --dds-font-heading-small-paragraph-spacing: 0.4em;
196
+ --dds-font-heading-xsmall-letter-spacing: 0.01em;
197
+ --dds-font-heading-xsmall-paragraph-spacing: 0.4em;
198
+ --dds-font-heading-xxsmall-letter-spacing: 0.01em;
199
+ --dds-font-heading-xxsmall-paragraph-spacing: 0.4em;
200
+ --dds-font-body-large-letter-spacing: 0em;
201
+ --dds-font-body-large-paragraph-spacing: 1em;
202
+ --dds-font-body-medium-letter-spacing: 0em;
203
+ --dds-font-body-medium-paragraph-spacing: 1em;
204
+ --dds-font-body-small-letter-spacing: 0.01em;
205
+ --dds-font-body-small-paragraph-spacing: 1em;
206
+ --dds-font-body-xsmall-letter-spacing: 0.01em;
207
+ --dds-font-body-xsmall-paragraph-spacing: 1em;
208
+ --dds-font-lead-medium-letter-spacing: 0em;
209
+ --dds-font-lead-medium-paragraph-spacing: 1em;
210
+ --dds-font-code-medium-letter-spacing: 0em;
211
+ --dds-font-code-medium-paragraph-spacing: 1em;
212
+ --dds-font-label-medium-letter-spacing: 0.01em;
213
+ --dds-font-label-medium-paragraph-spacing: 1em;
214
+ }
@@ -0,0 +1,214 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+
5
+ .dds-public {
6
+ --dds-font-family-sans: 'IBM Plex Sans', Arial, sans-serif;
7
+ --dds-font-family-monospace: 'IBM Plex Mono', 'Courier New', monospace; /* For kode */
8
+ --dds-font-size-x5: 5rem;
9
+ --dds-font-size-x4: 4rem;
10
+ --dds-font-size-x3: 3rem;
11
+ --dds-font-size-x2-5: 2.5rem;
12
+ --dds-font-size-x2: 2rem;
13
+ --dds-font-size-x1-5: 1.5rem;
14
+ --dds-font-size-x1-25: 1.25rem;
15
+ --dds-font-size-x1-125: 1.125rem;
16
+ --dds-font-size-x1: 1rem;
17
+ --dds-font-size-x0-875: 0.875rem;
18
+ --dds-font-size-x0-75: 0.75rem;
19
+ --dds-font-size-xxlarge: 4rem;
20
+ --dds-font-size-xlarge: 3rem;
21
+ --dds-font-size-large: 2rem;
22
+ --dds-font-size-medium: 1.5rem;
23
+ --dds-font-size-small: 1.25rem;
24
+ --dds-font-size-xsmall: 1.125rem;
25
+ --dds-font-size-xxsmall: 1rem;
26
+ --dds-font-size-xxxsmall: 0.875rem;
27
+ --dds-font-weight-light: 300;
28
+ --dds-font-weight-normal: 400;
29
+ --dds-font-weight-bold: 600;
30
+ --dds-font-lineheight-x1: 1.5; /* Brukes på str ×1_25 og mindre */
31
+ --dds-font-lineheight-x2: 1.35; /* Brukes på str x1.5, ×2 og ×3 */
32
+ --dds-font-lineheight-x3: 1.2; /* Brukes på str ×3 og større */
33
+ --dds-font-lineheight-list: 2.5; /* Brukes på lister */
34
+ --dds-font-letter-spacing-tight: -0.01em; /* Brukes på str ×2.5 og større */
35
+ --dds-font-letter-spacing-normal: 0em; /* Brukes på str ×1 og opp til og med ×2 */
36
+ --dds-font-letter-spacing-loose: 0.01em; /* Brukes på størrelser under ×1 */
37
+ --dds-font-paragraph-spacing-small: 1em; /* Brukes på str ×1_25 og mindre */
38
+ --dds-font-paragraph-spacing-medium: 0.66em; /* Brukes på str x1.5, ×2 og ×3 */
39
+ --dds-font-paragraph-spacing-large: 0.5em; /* Brukes på str ×3 og større */
40
+ --dds-font-paragraph-spacing-heading: 0.4em; /* Brukes på på alle headere (bottom) */
41
+ --dds-font-style-underline: underline;
42
+ --dds-font-style-normal: none;
43
+ --dds-font-style-italic: italic;
44
+ --dds-spacing-padding-top-heading: 0.7em; /* Ekstra spacing over dds-header. 70% av størrelsen på headeren */
45
+ --dds-spacing-x0: 0rem;
46
+ --dds-spacing-x0-125: 0.125rem;
47
+ --dds-spacing-x0-25: 0.25rem;
48
+ --dds-spacing-x0-5: 0.5rem;
49
+ --dds-spacing-x0-75: 0.75rem;
50
+ --dds-spacing-x1: 1rem;
51
+ --dds-spacing-x1-5: 1.5rem;
52
+ --dds-spacing-x2: 2rem;
53
+ --dds-spacing-x2-5: 2.5rem;
54
+ --dds-spacing-x3: 3rem;
55
+ --dds-spacing-x4: 4rem;
56
+ --dds-spacing-x6: 6rem;
57
+ --dds-spacing-x10: 10rem;
58
+ --dds-shadow-1: 1px 2px 4px 0px rgba(11, 13, 14, 10%);
59
+ --dds-shadow-2: 2px 4px 8px 0px rgba(11, 13, 14, 10%);
60
+ --dds-shadow-3: 4px 8px 16px 0px rgba(11, 13, 14, 10%);
61
+ --dds-shadow-4: 8px 16px 32px 0px rgba(11, 13, 14, 10%);
62
+ --dds-grid-xs-gutter-size: 16px;
63
+ --dds-grid-xs-count: 4;
64
+ --dds-grid-sm-gutter-size: 16px;
65
+ --dds-grid-sm-count: 8;
66
+ --dds-grid-lg-gutter-size: 24px;
67
+ --dds-grid-lg-count: 12;
68
+ --dds-grid-md-gutter-size: 24px;
69
+ --dds-grid-md-count: 12;
70
+ --dds-grid-xl-gutter-size: 24px;
71
+ --dds-grid-xl-count: 12;
72
+ --dds-icon-size-large: 40px;
73
+ --dds-icon-size-medium: 24px;
74
+ --dds-icon-size-small: 16px;
75
+ --dds-breakpoint-xs: 1px;
76
+ --dds-breakpoint-sm: 600px;
77
+ --dds-breakpoint-md: 960px;
78
+ --dds-breakpoint-lg: 1280px;
79
+ --dds-breakpoint-xl: 1920px;
80
+ --dds-color-bg-default: #ffffff; /* UI shell base color */
81
+ --dds-color-bg-subtle: #f8f9f9; /* Alternative UI shell base color */
82
+ --dds-color-surface-default: #ffffff; /* Default bg */
83
+ --dds-color-surface-subtle: #f8f9f9; /* Subtle surface color */
84
+ --dds-color-surface-medium: #ebecee; /* Medium surface color */
85
+ --dds-color-surface-hover-default: #e7f1f7; /* Hover on surface (default, subtle, medium) */
86
+ --dds-color-surface-hover-subtle: #f8f9f9; /* Subtle hover on surface (default, medium) */
87
+ --dds-color-surface-selected-default: #e7f1f7; /* Selected state for surface (default, subtle, medium) */
88
+ --dds-color-surface-inverse-default: #354754; /* Can be used as a surface for menu, navigation, footer etc */
89
+ --dds-color-surface-inverse-hover: #313d45; /* Hover on surface.inverse */
90
+ --dds-color-surface-inverse-selected: #202b32; /* selected on surface.inverse */
91
+ --dds-color-surface-action-resting: #106ead; /* Primary button bg */
92
+ --dds-color-surface-action-hover: #0d588a; /* Hover on surface.action/selected */
93
+ --dds-color-surface-action-selected: #106ead; /* Selected state for components such as togglebutton, togglebar, progress tracker, checkbox etc */
94
+ --dds-color-surface-action-danger-resting: #d83737; /* Danger button */
95
+ --dds-color-surface-action-danger-hover: #ad2c2c; /* Hover on surface.action-danger */
96
+ --dds-color-surface-action-selected-disabled: #77838c; /* bg on a selected disabled checkbox, radio etc */
97
+ --dds-color-surface-danger-default: #fbebeb; /* tag, message, errormessage */
98
+ --dds-color-surface-danger-strong: #e47373; /* tag strong value */
99
+ --dds-color-surface-success-default: #f0f9f0; /* tag, message */
100
+ --dds-color-surface-success-strong: #93d294; /* tag with strong value */
101
+ --dds-color-surface-warning-default: #fefced; /* tag, message */
102
+ --dds-color-surface-warning-strong: #f7e982; /* tag strong value */
103
+ --dds-color-surface-info-default: #f1f8fd; /* tag, message */
104
+ --dds-color-surface-info-strong: #9eceee; /* tag strong value */
105
+ --dds-color-surface-paper-default: #ffffff; /* modal, drawer, popover etc */
106
+ --dds-color-surface-backdrop-default: #0b0d0e80; /* background overlay for modals (50%) */
107
+ --dds-color-surface-field-default: #ffffff; /* Form elements (textinput, datepicker etc) */
108
+ --dds-color-surface-field-disabled: #f8f9f9; /* disabled state on surface.field */
109
+ --dds-color-surface-highlighted-default: #ffe6df; /* bg for highlighted text on text.default. Use with $Text */
110
+ --dds-color-surface-scrollbar: #adb5ba; /* Used for scrollbar */
111
+ --dds-color-surface-notification: #d83737; /* bg on a notification */
112
+ --dds-color-surface-skeleton: #cfd4d7; /* Used for skeleton */
113
+ --dds-color-border-default: #77838c; /* Form components, togglebutton, secondary button, checkbox etc */
114
+ --dds-color-border-subtle: #cfd4d7; /* Dropdown, tooltip, overflow etc */
115
+ --dds-color-border-inverse: #acbbc6; /* Border or divider on surface.inverse */
116
+ --dds-color-border-action-default: #106ead; /* Used in progress tracker */
117
+ --dds-color-border-action-hover: #0d588a; /* Hover on secondary button etc */
118
+ --dds-color-border-success: #65be66; /* Used with tag-default */
119
+ --dds-color-border-warning: #f4e04d; /* Tag.default */
120
+ --dds-color-border-danger: #d83737; /* Tag.default, error message field */
121
+ --dds-color-border-info: #75b9e6; /* Tag.default */
122
+ --dds-color-border-on-action: #ffffff; /* Used on primary split button */
123
+ --dds-color-text-default: #0b0d0e; /* default text, heading, body. on surface.hover */
124
+ --dds-color-text-medium: #3a4146; /* Label, etc */
125
+ --dds-color-text-subtle: #545c62; /* Disabled or less important text */
126
+ --dds-color-text-on-inverse: #ffffff; /* On surface.inverse */
127
+ --dds-color-text-on-action: #ffffff; /* On surface.action (primary and danger button) */
128
+ --dds-color-text-on-status-default: #0b0d0e; /* On default status surfaces */
129
+ --dds-color-text-on-status-strong: #0b0d0e; /* On status surfaces with strong prop */
130
+ --dds-color-text-action-resting: #106ead; /* Link, number in progress tracker */
131
+ --dds-color-text-action-hover: #0d588a; /* Hover on text.action */
132
+ --dds-color-text-requiredfield: #d83737; /* Asterix to indicate required field */
133
+ --dds-color-text-action-visited: #7f29b4; /* Used for visited links */
134
+ --dds-color-text-action-visited-on-inverse: #cca9e1; /* Used for visited links on inverse surfaces */
135
+ --dds-color-text-on-notification: #ffffff; /* Used on surface.notification */
136
+ --dds-color-text-danger: #ad2c2c; /* Error text on paper, or default or subtle surafce/bg */
137
+ --dds-color-icon-default: #0b0d0e; /* Often used with text.default */
138
+ --dds-color-icon-medium: #3a4146; /* Often used with text.medium */
139
+ --dds-color-icon-subtle: #545c62; /* Often used with text.subtle */
140
+ --dds-color-icon-on-inverse: #ffffff; /* On surface.inverse */
141
+ --dds-color-icon-on-action: #ffffff; /* On surface.action (primary and danger button) */
142
+ --dds-color-icon-action-resting: #106ead; /* Often used with Text.action */
143
+ --dds-color-icon-action-hover: #0d588a; /* hover on icon-action, used on secondary buttons etc */
144
+ --dds-color-icon-on-success-default: #3d723d; /* On surface.success-default */
145
+ --dds-color-icon-on-success-strong: #0b0d0e; /* On surface-success-strong */
146
+ --dds-color-icon-on-warning-default: #92862e; /* On surface.warning-default */
147
+ --dds-color-icon-on-warning-strong: #0b0d0e; /* On surface.warning-strong */
148
+ --dds-color-icon-on-danger-default: #ad2c2c; /* On surface.danger-default */
149
+ --dds-color-icon-on-danger-strong: #0b0d0e; /* On surface.danger-strong */
150
+ --dds-color-icon-on-info-default: #466f8a; /* On surface.info-default */
151
+ --dds-color-icon-on-info-strong: #0b0d0e; /* On surface.info-strong */
152
+ --dds-color-icon-danger: #ad2c2c; /* Error icon on paper, or default or subtle surafce/bg */
153
+ --dds-color-brand-primary-default: #354754; /* Primary brand color */
154
+ --dds-color-brand-primary-subtle: #eaeff4; /* Primary brand color */
155
+ --dds-color-brand-primary-medium: #4f6a7e; /* Primary brand color */
156
+ --dds-color-brand-primary-strong: #202b32;
157
+ --dds-color-brand-secondary-default: #9ab8b7; /* Secondary brand color */
158
+ --dds-color-brand-secondary-subtle: #e6eded; /* Secondary brand color */
159
+ --dds-color-brand-secondary-medium: #b8cdcd; /* Secondary brand color */
160
+ --dds-color-brand-secondary-strong: #4d6463;
161
+ --dds-color-brand-tertiary-default: #f2a68f; /* Tertiary brand color */
162
+ --dds-color-brand-tertiary-subtle: #ffe6df; /* Tertiary brand color */
163
+ --dds-color-brand-tertiary-medium: #f6c1b1; /* Tertiary brand color */
164
+ --dds-color-brand-tertiary-strong: #f27e55;
165
+ --dds-color-focus-outside: #2f4a5c; /* Contrast to .inside */
166
+ --dds-color-focus-inside: #f1f8fd; /* Contrast to .outside */
167
+ --dds-border-radius-button: 2px; /* For use in button component and togglebutton */
168
+ --dds-border-radius-surface: 2px; /* Most surfaces, for example cards, papers, messages, backgrounds in GUI */
169
+ --dds-border-radius-input: 2px; /* All input fields, and check boxes */
170
+ --dds-border-radius-chip: 2px; /* Chips and tags */
171
+ --dds-border-radius-rounded: 9999px; /* Rounded and circular components such as radiobutton, toggle, togglebutton and progress tracker */
172
+ --dds-font-label-medium: 600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Label for form components */
173
+ --dds-font-body-xsmall: 400 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* used with xsmall button and input fields */
174
+ --dds-font-body-small: 400 1rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* used with small button and input fields */
175
+ --dds-font-body-medium: 400 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* standard body text, used with medium button and input fields */
176
+ --dds-font-body-large: 400 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Used for large button and large search */
177
+ --dds-font-heading-xxsmall: 600 0.875rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h6 */
178
+ --dds-font-heading-xsmall: 600 1rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h5 */
179
+ --dds-font-heading-small: 600 1.125rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h4 */
180
+ --dds-font-heading-medium: 600 1.25rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Default h3 */
181
+ --dds-font-heading-large: 400 clamp(1.5rem, 0.667rem + 2.222vw, 2rem)/1.35 'IBM Plex Sans', Arial, sans-serif; /* Default h2 */
182
+ --dds-font-heading-xlarge: 300 clamp(2.5rem, 1.667rem + 2.222vw, 3rem)/1.35 'IBM Plex Sans', Arial, sans-serif; /* Default H1 */
183
+ --dds-font-heading-xxlarge: 300 clamp(3rem, 1.333rem + 4.444vw, 4rem)/1.2 'IBM Plex Sans', Arial, sans-serif; /* Display or extra large page title (h1) */
184
+ --dds-font-lead-medium: 300 1.5rem/1.5 'IBM Plex Sans', Arial, sans-serif; /* Lead brukes som ingress når man skriver artikler etc */
185
+ --dds-font-code-medium: 400 1.125rem/1.5 'IBM Plex Mono', 'Courier New', monospace; /* Brukes for kodesnutter etc */
186
+ --dds-font-heading-xxlarge-letter-spacing: -0.01em;
187
+ --dds-font-heading-xxlarge-paragraph-spacing: 0.4em;
188
+ --dds-font-heading-xlarge-letter-spacing: -0.01em;
189
+ --dds-font-heading-xlarge-paragraph-spacing: 0.4em;
190
+ --dds-font-heading-large-letter-spacing: 0em;
191
+ --dds-font-heading-large-paragraph-spacing: 0.4em;
192
+ --dds-font-heading-medium-letter-spacing: 0em;
193
+ --dds-font-heading-medium-paragraph-spacing: 0.4em;
194
+ --dds-font-heading-small-letter-spacing: 0em;
195
+ --dds-font-heading-small-paragraph-spacing: 0.4em;
196
+ --dds-font-heading-xsmall-letter-spacing: 0em;
197
+ --dds-font-heading-xsmall-paragraph-spacing: 0.4em;
198
+ --dds-font-heading-xxsmall-letter-spacing: 0.01em;
199
+ --dds-font-heading-xxsmall-paragraph-spacing: 0.4em;
200
+ --dds-font-body-large-letter-spacing: 0em;
201
+ --dds-font-body-large-paragraph-spacing: 1em;
202
+ --dds-font-body-medium-letter-spacing: 0em;
203
+ --dds-font-body-medium-paragraph-spacing: 1em;
204
+ --dds-font-body-small-letter-spacing: 0em;
205
+ --dds-font-body-small-paragraph-spacing: 1em;
206
+ --dds-font-body-xsmall-letter-spacing: 0.01em;
207
+ --dds-font-body-xsmall-paragraph-spacing: 1em;
208
+ --dds-font-lead-medium-letter-spacing: 0em;
209
+ --dds-font-lead-medium-paragraph-spacing: 0.66em;
210
+ --dds-font-code-medium-letter-spacing: 0em;
211
+ --dds-font-code-medium-paragraph-spacing: 1em;
212
+ --dds-font-label-medium-letter-spacing: 0.01em;
213
+ --dds-font-label-medium-paragraph-spacing: 1em;
214
+ }