@oslokommune/punkt-css 9.2.6 → 9.4.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.
- package/CHANGELOG.md +46 -0
- package/README.md +1 -1
- package/dist/css/components/alert.css +18 -16
- package/dist/css/components/alert.min.css +1 -1
- package/dist/css/components/badge.css +2 -13
- package/dist/css/components/badge.min.css +1 -1
- package/dist/css/components/footer.css +5 -5
- package/dist/css/components/footer.min.css +1 -1
- package/dist/css/components/header.css +20 -11
- package/dist/css/components/header.min.css +1 -1
- package/dist/css/components/inputwrapper.css +21 -20
- package/dist/css/components/inputwrapper.min.css +1 -1
- package/dist/css/components/linkcard.css +21 -12
- package/dist/css/components/linkcard.min.css +1 -1
- package/dist/css/components/messagebox.css +12 -12
- package/dist/css/components/messagebox.min.css +1 -1
- package/dist/css/components/tag.css +126 -40
- package/dist/css/components/tag.min.css +1 -1
- package/dist/css/components/textinput.css +61 -35
- package/dist/css/components/textinput.min.css +1 -1
- package/dist/css/pkt-base.css +1418 -243
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +286 -164
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +487 -344
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +2130 -716
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_colors.scss +108 -0
- package/dist/scss/abstracts/variables/_spacing.scss +12 -10
- package/dist/scss/base/_colors.scss +111 -9
- package/dist/scss/base/_typography.scss +15 -58
- package/dist/scss/components/_alert.scss +28 -25
- package/dist/scss/components/_badge.scss +56 -55
- package/dist/scss/components/_footer.scss +5 -8
- package/dist/scss/components/_header.scss +30 -16
- package/dist/scss/components/_inputwrapper.scss +27 -24
- package/dist/scss/components/_linkcard.scss +41 -16
- package/dist/scss/components/_messagebox.scss +16 -14
- package/dist/scss/components/_tag.scss +150 -41
- package/dist/scss/elements/_button.scss +220 -156
- package/dist/scss/elements/_checkbox-radio.scss +86 -150
- package/dist/scss/elements/_form.scss +26 -24
- package/dist/scss/elements/_hr.scss +1 -1
- package/dist/scss/elements/_input.scss +63 -41
- package/dist/scss/elements/_list.scss +11 -6
- package/dist/scss/elements/_section.scss +8 -8
- package/dist/scss/elements/_table.scss +13 -9
- package/package.json +2 -2
|
@@ -39,108 +39,109 @@ $-sizes: (
|
|
|
39
39
|
);
|
|
40
40
|
|
|
41
41
|
$-skins: (
|
|
42
|
-
'primary': ('light': ('
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'focus
|
|
46
|
-
'focus
|
|
47
|
-
'focus
|
|
48
|
-
'focus
|
|
49
|
-
'hover
|
|
50
|
-
'hover
|
|
51
|
-
'hover
|
|
52
|
-
'active
|
|
53
|
-
'active
|
|
54
|
-
'active
|
|
55
|
-
'disabled
|
|
56
|
-
'disabled
|
|
57
|
-
'disabled
|
|
42
|
+
'primary': ('light': ('button-background-normal': --pkt-color-brand-dark-blue-1000,
|
|
43
|
+
'button-border-normal': --pkt-color-brand-dark-blue-1000,
|
|
44
|
+
'button-text-normal': --pkt-color-brand-neutrals-white,
|
|
45
|
+
'button-background-focus': --pkt-color-brand-warm-blue-1000,
|
|
46
|
+
'button-border-focus': --pkt-color-brand-warm-blue-1000,
|
|
47
|
+
'button-text-focus': --pkt-color-brand-neutrals-white,
|
|
48
|
+
'border-states-focus': --pkt-color-brand-purple-1000,
|
|
49
|
+
'button-background-hover': --pkt-color-brand-warm-blue-1000,
|
|
50
|
+
'button-border-hover': --pkt-color-brand-warm-blue-1000,
|
|
51
|
+
'button-text-hover': --pkt-color-brand-neutrals-white,
|
|
52
|
+
'button-background-active': --pkt-color-brand-warm-blue-1000,
|
|
53
|
+
'button-border-active': --pkt-color-brand-warm-blue-1000,
|
|
54
|
+
'button-text-active': --pkt-color-brand-neutrals-white,
|
|
55
|
+
'button-background-disabled': --pkt-color-brand-neutrals-100,
|
|
56
|
+
'button-border-disabled': --pkt-color-brand-neutrals-100,
|
|
57
|
+
'button-text-disabled': --pkt-color-grays-gray-500,
|
|
58
58
|
),
|
|
59
|
-
'dark': ('
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'focus
|
|
63
|
-
'focus
|
|
64
|
-
'focus
|
|
65
|
-
'focus
|
|
66
|
-
'hover
|
|
67
|
-
'hover
|
|
68
|
-
'hover
|
|
69
|
-
'active
|
|
70
|
-
'active
|
|
71
|
-
'active
|
|
72
|
-
'disabled
|
|
73
|
-
'disabled
|
|
74
|
-
'disabled
|
|
59
|
+
'dark': ('button-background-normal': --pkt-color-brand-blue-500,
|
|
60
|
+
'button-border-normal': --pkt-color-brand-blue-500,
|
|
61
|
+
'button-text-normal': --pkt-color-brand-dark-blue-1000,
|
|
62
|
+
'button-background-focus': --pkt-color-brand-blue-1000,
|
|
63
|
+
'button-border-focus': --pkt-color-brand-blue-1000,
|
|
64
|
+
'button-text-focus': --pkt-color-brand-dark-blue-1000,
|
|
65
|
+
'border-states-focus': --pkt-color-brand-purple-1000,
|
|
66
|
+
'button-background-hover': --pkt-color-brand-blue-1000,
|
|
67
|
+
'button-border-hover': --pkt-color-brand-blue-1000,
|
|
68
|
+
'button-text-hover': --pkt-color-brand-dark-blue-1000,
|
|
69
|
+
'button-background-active': --pkt-color-brand-blue-1000,
|
|
70
|
+
'button-border-active': --pkt-color-brand-blue-1000,
|
|
71
|
+
'button-text-active': --pkt-color-brand-dark-blue-1000,
|
|
72
|
+
'button-background-disabled': --pkt-color-brand-neutrals-100,
|
|
73
|
+
'button-border-disabled': --pkt-color-brand-neutrals-100,
|
|
74
|
+
'button-text-disabled': --pkt-color-grays-gray-600,
|
|
75
75
|
),
|
|
76
76
|
),
|
|
77
|
-
'secondary': ('light': ('
|
|
78
|
-
'
|
|
79
|
-
'
|
|
80
|
-
'focus
|
|
81
|
-
'focus
|
|
82
|
-
'focus
|
|
83
|
-
'focus
|
|
84
|
-
'hover
|
|
85
|
-
'hover
|
|
86
|
-
'hover
|
|
87
|
-
'active
|
|
88
|
-
'active
|
|
89
|
-
'active
|
|
90
|
-
'disabled
|
|
91
|
-
'disabled
|
|
92
|
-
'disabled
|
|
77
|
+
'secondary': ('light': ('button-background-normal': --pkt-color-brand-neutrals-transparent,
|
|
78
|
+
'button-border-normal': --pkt-color-brand-neutrals-transparent,
|
|
79
|
+
'button-text-normal': --pkt-color-brand-dark-blue-1000,
|
|
80
|
+
'button-background-focus': --pkt-color-brand-warm-blue-1000,
|
|
81
|
+
'button-border-focus': --pkt-color-brand-warm-blue-1000,
|
|
82
|
+
'button-text-focus': --pkt-color-brand-neutrals-white,
|
|
83
|
+
'border-states-focus': --pkt-color-brand-purple-1000,
|
|
84
|
+
'button-background-hover': --pkt-color-brand-warm-blue-1000,
|
|
85
|
+
'button-border-hover': --pkt-color-brand-warm-blue-1000,
|
|
86
|
+
'button-text-hover': --pkt-color-brand-neutrals-white,
|
|
87
|
+
'button-background-active': --pkt-color-brand-warm-blue-1000,
|
|
88
|
+
'button-border-active': --pkt-color-brand-warm-blue-1000,
|
|
89
|
+
'button-text-active': --pkt-color-brand-neutrals-white,
|
|
90
|
+
'button-background-disabled': --pkt-color-brand-neutrals-100,
|
|
91
|
+
'button-border-disabled': --pkt-color-brand-neutrals-100,
|
|
92
|
+
'button-text-disabled': --pkt-color-grays-gray-600,
|
|
93
93
|
),
|
|
94
|
-
'dark': ('
|
|
95
|
-
'
|
|
96
|
-
'
|
|
97
|
-
'focus
|
|
98
|
-
'focus
|
|
99
|
-
'focus
|
|
100
|
-
'focus
|
|
101
|
-
'hover
|
|
102
|
-
'hover
|
|
103
|
-
'hover
|
|
104
|
-
'active
|
|
105
|
-
'active
|
|
106
|
-
'active
|
|
107
|
-
'disabled
|
|
108
|
-
'disabled
|
|
109
|
-
'disabled
|
|
94
|
+
'dark': ('button-background-normal': --pkt-color-brand-neutrals-transparent,
|
|
95
|
+
'button-border-normal': --pkt-color-brand-neutrals-white,
|
|
96
|
+
'button-text-normal': --pkt-color-brand-neutrals-white,
|
|
97
|
+
'button-background-focus': --pkt-color-brand-blue-500,
|
|
98
|
+
'button-border-focus': --pkt-color-brand-blue-500,
|
|
99
|
+
'button-text-focus': --pkt-color-brand-dark-blue-1000,
|
|
100
|
+
'border-states-focus': --pkt-color-brand-purple-1000,
|
|
101
|
+
'button-background-hover': --pkt-color-brand-blue-500,
|
|
102
|
+
'button-border-hover': --pkt-color-brand-blue-500,
|
|
103
|
+
'button-text-hover': --pkt-color-brand-dark-blue-1000,
|
|
104
|
+
'button-background-active': --pkt-color-brand-blue-500,
|
|
105
|
+
'button-border-active': --pkt-color-brand-blue-500,
|
|
106
|
+
'button-text-active': --pkt-color-brand-dark-blue-1000,
|
|
107
|
+
'button-background-disabled': --pkt-color-grays-gray-100,
|
|
108
|
+
'button-border-disabled': --pkt-color-grays-gray-100,
|
|
109
|
+
'button-text-disabled': --pkt-color-grays-gray-600,
|
|
110
110
|
),
|
|
111
111
|
),
|
|
112
|
-
'tertiary': ('light': ('
|
|
113
|
-
'
|
|
114
|
-
'
|
|
115
|
-
'focus
|
|
116
|
-
'focus
|
|
117
|
-
'focus
|
|
118
|
-
'
|
|
119
|
-
'hover
|
|
120
|
-
'hover
|
|
121
|
-
'
|
|
122
|
-
'active
|
|
123
|
-
'active
|
|
124
|
-
'
|
|
125
|
-
'disabled
|
|
126
|
-
'disabled
|
|
112
|
+
'tertiary': ('light': ('button-background-normal': --pkt-color-brand-neutrals-transparent,
|
|
113
|
+
'button-border-normal': --pkt-color-brand-neutrals-transparent,
|
|
114
|
+
'button-text-normal': --pkt-color-brand-dark-blue-1000,
|
|
115
|
+
'button-background-focus': --pkt-color-brand-neutrals-200,
|
|
116
|
+
'button-border-focus': --pkt-color-brand-warm-blue-1000,
|
|
117
|
+
'button-text-focus': --pkt-color-brand-warm-blue-1000,
|
|
118
|
+
'border-states-focus': --pkt-color-brand-purple-1000,
|
|
119
|
+
'button-background-hover': --pkt-color-brand-neutrals-200,
|
|
120
|
+
'button-border-hover': --pkt-color-brand-neutrals-200,
|
|
121
|
+
'button-text-hover': --pkt-color-brand-warm-blue-1000,
|
|
122
|
+
'button-background-active': --pkt-color-brand-warm-blue-1000,
|
|
123
|
+
'button-border-active': --pkt-color-brand-warm-blue-1000,
|
|
124
|
+
'button-text-active': --pkt-color-brand-neutrals-white,
|
|
125
|
+
'button-background-disabled': --pkt-color-brand-neutrals-100,
|
|
126
|
+
'button-border-disabled': --pkt-color-brand-neutrals-100,
|
|
127
|
+
'button-text-disabled': --pkt-color-grays-gray-600,
|
|
127
128
|
),
|
|
128
|
-
'dark': ('
|
|
129
|
-
'
|
|
130
|
-
'
|
|
131
|
-
'focus
|
|
132
|
-
'focus
|
|
133
|
-
'focus
|
|
134
|
-
'focus
|
|
135
|
-
'hover
|
|
136
|
-
'hover
|
|
137
|
-
'hover
|
|
138
|
-
'active
|
|
139
|
-
'active
|
|
140
|
-
'active
|
|
141
|
-
'disabled
|
|
142
|
-
'disabled
|
|
143
|
-
'disabled
|
|
129
|
+
'dark': ('button-background-normal': --pkt-color-brand-neutrals-transparent,
|
|
130
|
+
'button-border-normal': --pkt-color-brand-neutrals-transparent,
|
|
131
|
+
'button-text-normal': --pkt-color-brand-neutrals-white,
|
|
132
|
+
'button-background-focus': --pkt-color-brand-dark-blue-700,
|
|
133
|
+
'button-border-focus': --pkt-color-brand-dark-blue-700,
|
|
134
|
+
'border-states-focus': --pkt-color-brand-purple-1000,
|
|
135
|
+
'button-text-focus': --pkt-color-brand-neutrals-white,
|
|
136
|
+
'button-background-hover': --pkt-color-brand-dark-blue-700,
|
|
137
|
+
'button-border-hover': --pkt-color-brand-dark-blue-700,
|
|
138
|
+
'button-text-hover': --pkt-color-brand-neutrals-white,
|
|
139
|
+
'button-background-active': --pkt-color-brand-dark-blue-700,
|
|
140
|
+
'button-border-active': --pkt-color-brand-dark-blue-700,
|
|
141
|
+
'button-text-active': --pkt-color-brand-neutrals-white,
|
|
142
|
+
'button-background-disabled': --pkt-color-brand-neutrals-100,
|
|
143
|
+
'button-border-disabled': --pkt-color-brand-neutrals-100,
|
|
144
|
+
'button-text-disabled': --pkt-color-grays-gray-600,
|
|
144
145
|
),
|
|
145
146
|
),
|
|
146
147
|
);
|
|
@@ -152,7 +153,7 @@ $-skins: (
|
|
|
152
153
|
|
|
153
154
|
// Only print primary skin and css vars that differ from primary
|
|
154
155
|
@if $name =='primary' or $value !=map.get($-skins, 'primary', $mode, $key) {
|
|
155
|
-
--
|
|
156
|
+
--pkt-color-#{$key}: var(#{$value});
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
159
|
}
|
|
@@ -239,13 +240,76 @@ $-skins: (
|
|
|
239
240
|
);
|
|
240
241
|
|
|
241
242
|
// Dark mode
|
|
242
|
-
&--green-dark
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
243
|
+
&--green-dark {
|
|
244
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-dark-green-1000);
|
|
245
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-dark-green-1000);
|
|
246
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
&--green-dark-outline {
|
|
250
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
251
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-dark-green-1000);
|
|
252
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&--green {
|
|
256
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-green-1000);
|
|
257
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-green-1000);
|
|
258
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&--green-outline {
|
|
262
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
263
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-green-1000);
|
|
264
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&--blue {
|
|
268
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-blue-1000);
|
|
269
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-blue-1000);
|
|
270
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&--blue-outline {
|
|
274
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
275
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-blue-1000);
|
|
276
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&--beige-light {
|
|
280
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-light-beige-1000);
|
|
281
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-light-beige-1000);
|
|
282
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&--beige-dark-outline {
|
|
286
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
287
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-dark-beige-1000);
|
|
288
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
&--yellow {
|
|
292
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-yellow-1000);
|
|
293
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-yellow-1000);
|
|
294
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&--yellow-outline {
|
|
298
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
299
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-yellow-1000);
|
|
300
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
&--red {
|
|
304
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-red-1000);
|
|
305
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-red-1000);
|
|
306
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
307
|
+
}
|
|
308
|
+
|
|
247
309
|
&--red-outline {
|
|
248
|
-
color: var(--color-
|
|
310
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
311
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-red-1000);
|
|
312
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
249
313
|
}
|
|
250
314
|
}
|
|
251
315
|
}
|
|
@@ -269,9 +333,9 @@ $value in $-skins {
|
|
|
269
333
|
-ms-user-select: none;
|
|
270
334
|
user-select: none;
|
|
271
335
|
vertical-align: top;
|
|
272
|
-
background-color: var(--
|
|
273
|
-
border: 2px solid var(--
|
|
274
|
-
color: var(--
|
|
336
|
+
background-color: var(--pkt-color-button-background-normal);
|
|
337
|
+
border: 2px solid var(--pkt-color-button-border-normal);
|
|
338
|
+
color: var(--pkt-color-button-text-normal);
|
|
275
339
|
text-decoration: none;
|
|
276
340
|
text-decoration-thickness: 1px;
|
|
277
341
|
text-underline-offset: 0.3em;
|
|
@@ -291,25 +355,25 @@ $value in $-skins {
|
|
|
291
355
|
|
|
292
356
|
&:link,
|
|
293
357
|
&:visited {
|
|
294
|
-
color: var(--
|
|
358
|
+
color: var(--pkt-color-button-text-normal);
|
|
295
359
|
}
|
|
296
360
|
|
|
297
361
|
@at-root a.#{$-module-name}:focus,
|
|
298
362
|
&:enabled:focus,
|
|
299
363
|
&.#{$-module-name}--focus {
|
|
300
|
-
background-color: var(--
|
|
301
|
-
color: var(--
|
|
302
|
-
border-color: var(--
|
|
303
|
-
outline: 4px solid var(--
|
|
364
|
+
background-color: var(--pkt-color-button-background-focus);
|
|
365
|
+
color: var(--pkt-color-button-text-focus);
|
|
366
|
+
border-color: var(--pkt-color-button-border-focus);
|
|
367
|
+
outline: 4px solid var(--pkt-color-border-states-focus);
|
|
304
368
|
text-decoration: none;
|
|
305
369
|
}
|
|
306
370
|
|
|
307
371
|
@at-root a.#{$-module-name}:hover,
|
|
308
372
|
&:enabled:hover,
|
|
309
373
|
&.#{$-module-name}--hover {
|
|
310
|
-
background-color: var(--
|
|
311
|
-
border-color: var(--
|
|
312
|
-
color: var(--
|
|
374
|
+
background-color: var(--pkt-color-button-background-hover);
|
|
375
|
+
border-color: var(--pkt-color-button-border-hover);
|
|
376
|
+
color: var(--pkt-color-button-text-hover);
|
|
313
377
|
outline: 0;
|
|
314
378
|
text-decoration: underline;
|
|
315
379
|
}
|
|
@@ -318,17 +382,17 @@ $value in $-skins {
|
|
|
318
382
|
&:enabled:active,
|
|
319
383
|
&.#{$-module-name}--active,
|
|
320
384
|
&.#{$-module-name}--active:hover {
|
|
321
|
-
background-color: var(--
|
|
322
|
-
border-color: var(--
|
|
323
|
-
color: var(--
|
|
385
|
+
background-color: var(--pkt-color-button-background-active);
|
|
386
|
+
border-color: var(--pkt-color-button-border-active);
|
|
387
|
+
color: var(--pkt-color-button-text-active);
|
|
324
388
|
outline: 0;
|
|
325
389
|
text-decoration: none;
|
|
326
390
|
}
|
|
327
391
|
|
|
328
392
|
&:disabled {
|
|
329
|
-
background-color: var(--
|
|
330
|
-
border-color: var(--
|
|
331
|
-
color: var(--
|
|
393
|
+
background-color: var(--pkt-color-button-background-disabled);
|
|
394
|
+
border-color: var(--pkt-color-button-border-disabled);
|
|
395
|
+
color: var(--pkt-color-button-text-disabled);
|
|
332
396
|
cursor: inherit;
|
|
333
397
|
}
|
|
334
398
|
|
|
@@ -345,76 +409,76 @@ $value in $-skins {
|
|
|
345
409
|
}
|
|
346
410
|
|
|
347
411
|
|
|
348
|
-
// button colors
|
|
412
|
+
// button colors modifiers
|
|
349
413
|
&--green-dark {
|
|
350
|
-
--
|
|
351
|
-
--
|
|
352
|
-
--
|
|
414
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-dark-green-1000);
|
|
415
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-dark-green-1000);
|
|
416
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-neutrals-white);
|
|
353
417
|
}
|
|
354
418
|
|
|
355
419
|
&--green-dark-outline {
|
|
356
|
-
--
|
|
357
|
-
--
|
|
358
|
-
--
|
|
420
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
421
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-dark-green-1000);
|
|
422
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
359
423
|
}
|
|
360
424
|
|
|
361
425
|
&--green {
|
|
362
|
-
--
|
|
363
|
-
--
|
|
364
|
-
--
|
|
426
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-green-1000);
|
|
427
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-green-1000);
|
|
428
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
365
429
|
}
|
|
366
430
|
|
|
367
431
|
&--green-outline {
|
|
368
|
-
--
|
|
369
|
-
--
|
|
370
|
-
--
|
|
432
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
433
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-green-1000);
|
|
434
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
371
435
|
}
|
|
372
436
|
|
|
373
437
|
&--blue {
|
|
374
|
-
--
|
|
375
|
-
--
|
|
376
|
-
--
|
|
438
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-blue-1000);
|
|
439
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-blue-1000);
|
|
440
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
377
441
|
}
|
|
378
442
|
|
|
379
443
|
&--blue-outline {
|
|
380
|
-
--
|
|
381
|
-
--
|
|
382
|
-
--
|
|
444
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
445
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-blue-1000);
|
|
446
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
383
447
|
}
|
|
384
448
|
|
|
385
449
|
&--beige-light {
|
|
386
|
-
--
|
|
387
|
-
--
|
|
388
|
-
--
|
|
450
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-light-beige-1000);
|
|
451
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-light-beige-1000);
|
|
452
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
389
453
|
}
|
|
390
454
|
|
|
391
455
|
&--beige-dark-outline {
|
|
392
|
-
--
|
|
393
|
-
--
|
|
394
|
-
--
|
|
456
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
457
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-dark-beige-1000);
|
|
458
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
395
459
|
}
|
|
396
460
|
|
|
397
461
|
&--yellow {
|
|
398
|
-
--
|
|
399
|
-
--
|
|
400
|
-
--
|
|
462
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-yellow-1000);
|
|
463
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-yellow-1000);
|
|
464
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
401
465
|
}
|
|
402
466
|
|
|
403
467
|
&--yellow-outline {
|
|
404
|
-
--
|
|
405
|
-
--
|
|
406
|
-
--
|
|
468
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
469
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-yellow-1000);
|
|
470
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
407
471
|
}
|
|
408
472
|
|
|
409
473
|
&--red {
|
|
410
|
-
--
|
|
411
|
-
--
|
|
412
|
-
--
|
|
474
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-red-1000);
|
|
475
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-red-1000);
|
|
476
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
413
477
|
}
|
|
414
478
|
|
|
415
479
|
&--red-outline {
|
|
416
|
-
--
|
|
417
|
-
--
|
|
418
|
-
--
|
|
480
|
+
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
481
|
+
--pkt-color-button-border-normal: var(--pkt-color-brand-red-1000);
|
|
482
|
+
--pkt-color-button-text-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
419
483
|
}
|
|
420
484
|
}
|