@unifiedsoftware/styles 2.0.0-alpha.2 → 2.0.0-alpha.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.
@@ -1,32 +1,25 @@
1
1
  @use '../../../variables' as *;
2
2
 
3
+ $colors-map: (primary, secondary, success, info, warning, danger);
4
+
3
5
  html {
4
6
  -webkit-text-size-adjust: 100%;
5
7
  text-rendering: optimizeLegibility;
6
8
  -webkit-font-smoothing: antialiased;
7
9
  }
8
- $colors-map: (
9
- inherit: inherit,
10
- primary: var(--#{$prefix}primary-color),
11
- secondary: var(--#{$prefix}secondary-color),
12
- success: var(--#{$prefix}success-color),
13
- info: var(--#{$prefix}info-color),
14
- warning: var(--#{$prefix}warning-color),
15
- danger: var(--#{$prefix}danger-color),
16
- );
17
10
 
18
11
  .#{$prefix}theme-fci {
19
12
  .#{$prefix}button {
20
- --#{$prefix}button-font-weight: 400;
13
+ --#{$prefix}button-font-weight: 500;
21
14
  --#{$prefix}button-font-family: var(--#{$prefix}font-sans);
22
15
 
23
16
  --#{$prefix}button-divider-width: 1px;
24
17
  --#{$prefix}button-divider-color: #fff;
25
18
 
26
19
  &--xs {
27
- --#{$prefix}button-height: 24px;
20
+ --#{$prefix}button-height: 22px;
28
21
  --#{$prefix}button-padding-y: 0;
29
- --#{$prefix}button-padding-x: 0.75rem;
22
+ --#{$prefix}button-padding-x: 0.625rem;
30
23
  --#{$prefix}button-font-size: 0.75rem;
31
24
  --#{$prefix}button-border-radius: 6px;
32
25
  --#{$prefix}button-gap: 0.25rem;
@@ -37,11 +30,11 @@ $colors-map: (
37
30
  }
38
31
 
39
32
  &--sm {
40
- --#{$prefix}button-height: 28px;
33
+ --#{$prefix}button-height: 26px;
41
34
  --#{$prefix}button-padding-y: 0;
42
- --#{$prefix}button-padding-x: 0.875rem;
35
+ --#{$prefix}button-padding-x: 0.75rem;
43
36
  --#{$prefix}button-font-size: 0.75rem;
44
- --#{$prefix}button-border-radius: 8px;
37
+ --#{$prefix}button-border-radius: 6px;
45
38
  --#{$prefix}button-gap: 0.25rem;
46
39
 
47
40
  .#{$prefix}icon {
@@ -50,11 +43,11 @@ $colors-map: (
50
43
  }
51
44
 
52
45
  &--md {
53
- --#{$prefix}button-height: 32px;
46
+ --#{$prefix}button-height: 30px;
54
47
  --#{$prefix}button-padding-y: 0;
55
- --#{$prefix}button-padding-x: 1rem;
48
+ --#{$prefix}button-padding-x: 0.875rem;
56
49
  --#{$prefix}button-font-size: 0.875rem;
57
- --#{$prefix}button-border-radius: 8px;
50
+ --#{$prefix}button-border-radius: 6px;
58
51
  --#{$prefix}button-gap: 0.375rem;
59
52
 
60
53
  .#{$prefix}icon {
@@ -63,11 +56,11 @@ $colors-map: (
63
56
  }
64
57
 
65
58
  &--lg {
66
- --#{$prefix}button-height: 40px;
59
+ --#{$prefix}button-height: 34px;
67
60
  --#{$prefix}button-padding-y: 0;
68
- --#{$prefix}button-padding-x: 1.25rem;
61
+ --#{$prefix}button-padding-x: 1rem;
69
62
  --#{$prefix}button-font-size: 0.875rem;
70
- --#{$prefix}button-border-radius: 10px;
63
+ --#{$prefix}button-border-radius: 8px;
71
64
  --#{$prefix}button-gap: 0.5rem;
72
65
 
73
66
  .#{$prefix}icon {
@@ -76,11 +69,11 @@ $colors-map: (
76
69
  }
77
70
 
78
71
  &--xl {
79
- --#{$prefix}button-height: 48px;
72
+ --#{$prefix}button-height: 40px;
80
73
  --#{$prefix}button-padding-y: 0;
81
74
  --#{$prefix}button-padding-x: 1.25rem;
82
75
  --#{$prefix}button-font-size: 1rem;
83
- --#{$prefix}button-border-radius: 10px;
76
+ --#{$prefix}button-border-radius: 8px;
84
77
  --#{$prefix}button-gap: 0.5rem;
85
78
 
86
79
  .#{$prefix}icon {
@@ -88,10 +81,10 @@ $colors-map: (
88
81
  }
89
82
  }
90
83
 
91
- &--xxl {
92
- --#{$prefix}button-height: 56px;
84
+ &--2xl {
85
+ --#{$prefix}button-height: 44px;
93
86
  --#{$prefix}button-padding-y: 0;
94
- --#{$prefix}button-padding-x: 1.75rem;
87
+ --#{$prefix}button-padding-x: 1.5rem;
95
88
  --#{$prefix}button-font-size: 1.125rem;
96
89
  --#{$prefix}button-border-radius: 10px;
97
90
  --#{$prefix}button-gap: 0.75rem;
@@ -127,17 +120,18 @@ $colors-map: (
127
120
 
128
121
  &--outlined {
129
122
  & > .#{$prefix}overlay {
130
- --#{$prefix}overlay-color: inherit;
123
+ --#{$prefix}overlay-color: var(--#{$prefix}secondary-color);
131
124
  --#{$prefix}overlay-opacity: 0;
132
- --#{$prefix}_hover-overlay-opacity: 0.16;
133
- --#{$prefix}_active-overlay-opacity: 0.24;
134
- --#{$prefix}_focus-hover-overlay-opacity: 0.12;
135
- --#{$prefix}_focus-active-overlay-opacity: 0.24;
125
+ --#{$prefix}_hover-overlay-opacity: 0.08;
126
+ --#{$prefix}_active-overlay-opacity: 0.1;
127
+ --#{$prefix}_focus-hover-overlay-opacity: 0.08;
128
+ --#{$prefix}_focus-active-overlay-opacity: 0.1;
136
129
  }
137
130
 
138
131
  & > .#{$prefix}outline {
139
132
  --#{$prefix}outline-border-width: 1px;
140
- --#{$prefix}outline-border-color: currentColor;
133
+ --#{$prefix}outline-border-color: var(--#{$prefix}secondary-color);
134
+ --#{$prefix}outline-opacity: 0.16;
141
135
  }
142
136
  }
143
137
 
@@ -172,6 +166,22 @@ $colors-map: (
172
166
  --#{$prefix}outline-border-color: transparent;
173
167
  }
174
168
  }
169
+
170
+ &--bordered {
171
+ & > .#{$prefix}overlay {
172
+ --#{$prefix}overlay-color: inherit;
173
+ --#{$prefix}overlay-opacity: 0;
174
+ --#{$prefix}_hover-overlay-opacity: 0.16;
175
+ --#{$prefix}_active-overlay-opacity: 0.24;
176
+ --#{$prefix}_focus-hover-overlay-opacity: 0.12;
177
+ --#{$prefix}_focus-active-overlay-opacity: 0.24;
178
+ }
179
+
180
+ & > .#{$prefix}outline {
181
+ --#{$prefix}outline-border-width: 1px;
182
+ --#{$prefix}outline-border-color: currentColor;
183
+ }
184
+ }
175
185
  }
176
186
 
177
187
  .#{$prefix}button--xs.#{$prefix}button--icon-only {
@@ -204,32 +214,36 @@ $colors-map: (
204
214
  }
205
215
  }
206
216
 
207
- .#{$prefix}button--xxl.#{$prefix}button--icon-only {
217
+ .#{$prefix}button--2xl.#{$prefix}button--icon-only {
208
218
  .#{$prefix}icon {
209
219
  --#{$prefix}icon-font-size: 1.875rem;
210
220
  }
211
221
  }
212
222
 
213
- @each $key, $value in $colors-map {
214
- .#{$prefix}button--filled.#{$prefix}button--#{$key} {
215
- --#{$prefix}button-background: #{$value};
223
+ @each $color in $colors-map {
224
+ .#{$prefix}button--filled.#{$prefix}button--#{$color} {
225
+ --#{$prefix}button-background: var(--#{$prefix}#{$color}-color);
216
226
  }
217
227
 
218
- .#{$prefix}button--outlined.#{$prefix}button--#{$key} {
219
- --#{$prefix}button-color: #{$value};
228
+ .#{$prefix}button--outlined.#{$prefix}button--#{$color} {
229
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-color);
220
230
  }
221
231
 
222
- .#{$prefix}button--flat.#{$prefix}button--#{$key} {
223
- --#{$prefix}button-color: #{$value};
232
+ .#{$prefix}button--flat.#{$prefix}button--#{$color} {
233
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-color);
224
234
  }
225
235
 
226
- .#{$prefix}button--text.#{$prefix}button--#{$key} {
227
- --#{$prefix}button-color: #{$value};
236
+ .#{$prefix}button--text.#{$prefix}button--#{$color} {
237
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-color);
228
238
  }
229
239
 
230
- @if $key == 'secondary' {
231
- .#{$prefix}button--filled.#{$prefix}button--#{$key} {
232
- --#{$prefix}button-color: #{$value};
240
+ .#{$prefix}button--bordered.#{$prefix}button--#{$color} {
241
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-color);
242
+ }
243
+
244
+ @if $color == 'secondary' {
245
+ .#{$prefix}button--filled.#{$prefix}button--#{$color} {
246
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-color);
233
247
  --#{$prefix}button-background: transparent;
234
248
 
235
249
  & > .#{$prefix}overlay {
@@ -241,6 +255,53 @@ $colors-map: (
241
255
  --#{$prefix}_focus-active-overlay-opacity: 0.32;
242
256
  }
243
257
  }
258
+
259
+ .#{$prefix}button--bordered.#{$prefix}button--#{$color} {
260
+ & > .#{$prefix}overlay {
261
+ --#{$prefix}_hover-overlay-opacity: 0.08;
262
+ --#{$prefix}_active-overlay-opacity: 0.12;
263
+ --#{$prefix}_focus-hover-overlay-opacity: 0.08;
264
+ --#{$prefix}_focus-active-overlay-opacity: 0.12;
265
+ }
266
+
267
+ & > .#{$prefix}outline {
268
+ --#{$prefix}outline-opacity: 0.16;
269
+ }
270
+ }
271
+ }
272
+
273
+ @if $color == 'success' or $color == 'warning' {
274
+ .#{$prefix}button--outlined.#{$prefix}button--#{$color} {
275
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-dark-color);
276
+ }
277
+
278
+ .#{$prefix}button--bordered.#{$prefix}button--#{$color} {
279
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-dark-color);
280
+
281
+ & > .#{$prefix}overlay {
282
+ --#{$prefix}overlay-color: var(--#{$prefix}#{$color}-color);
283
+ }
284
+ }
285
+ }
286
+
287
+ @if $color == 'success' or $color == 'info' or $color == 'warning' {
288
+ .#{$prefix}button--flat.#{$prefix}button--#{$color} {
289
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-dark-color);
290
+
291
+ & > .#{$prefix}overlay {
292
+ --#{$prefix}overlay-color: var(--#{$prefix}#{$color}-color);
293
+ }
294
+ }
295
+ }
296
+
297
+ @if $color == 'success' or $color == 'info' or $color == 'warning' {
298
+ .#{$prefix}button--text.#{$prefix}button--#{$color} {
299
+ --#{$prefix}button-color: var(--#{$prefix}#{$color}-dark-color);
300
+
301
+ & > .#{$prefix}overlay {
302
+ --#{$prefix}overlay-color: var(--#{$prefix}#{$color}-color);
303
+ }
304
+ }
244
305
  }
245
306
  }
246
307
  }
@@ -5,7 +5,7 @@
5
5
  --#{$prefix}card-border-width: 1px;
6
6
  --#{$prefix}card-border-style: solid;
7
7
  --#{$prefix}card-border-color: var(--#{$prefix}border-color);
8
- --#{$prefix}card-border-radius: 10px;
8
+ --#{$prefix}card-border-radius: 8px;
9
9
  --#{$prefix}card-box-shadow: rgb(255, 255, 255) 0px 0px 0px 0px, rgba(51, 65, 85, 0.1) 0px 0px 0px 1px,
10
10
  rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
11
11
 
@@ -46,25 +46,27 @@
46
46
  }
47
47
 
48
48
  .#{$prefix}card--xs {
49
- --#{$prefix}card-padding-y: 0.5rem;
50
- --#{$prefix}card-padding-x: 0.75rem;
51
- --#{$prefix}card-gap: 0.5rem;
52
-
49
+ --#{$prefix}card-header-padding-y: 0.375rem;
50
+ --#{$prefix}card-header-padding-x: 0.75rem;
53
51
  --#{$prefix}card-header-min-height: 1.75rem;
54
52
  --#{$prefix}card-header-gap: 0.5rem;
55
53
  --#{$prefix}card-header-content-gap: 0.25rem;
56
54
 
57
- --#{$prefix}card-header-title-font-size: 12px;
55
+ --#{$prefix}card-header-title-font-size: 11px;
58
56
  --#{$prefix}card-header-title-font-weight: 500;
59
57
  --#{$prefix}card-header-title-line-height: 14px;
60
58
 
61
- --#{$prefix}card-header-subtitle-font-size: 11px;
59
+ --#{$prefix}card-header-subtitle-font-size: 10px;
62
60
  --#{$prefix}card-header-subtitle-font-weight: 500;
63
61
  --#{$prefix}card-header-subtitle-line-height: 14px;
64
62
 
63
+ --#{$prefix}card-body-padding-y: 0.375rem;
64
+ --#{$prefix}card-body-padding-x: 0.75rem;
65
65
  --#{$prefix}card-body-font-size: 0.75rem;
66
66
  --#{$prefix}card-body-line-height: 18px;
67
67
 
68
+ --#{$prefix}card-footer-padding-y: 0.375rem;
69
+ --#{$prefix}card-footer-padding-x: 0.75rem;
68
70
  --#{$prefix}card-footer-min-height: 1.75rem;
69
71
  --#{$prefix}card-footer-gap: 0.5rem;
70
72
  }
@@ -74,28 +76,30 @@
74
76
  }
75
77
 
76
78
  .#{$prefix}card--sm {
77
- --#{$prefix}card-padding-y: 0.5rem;
78
- --#{$prefix}card-padding-x: 1rem;
79
- --#{$prefix}card-gap: 0.5rem;
80
-
81
79
  --#{$prefix}card-title-padding-y: 0.875rem 0.375rem;
82
80
  --#{$prefix}card-title-font-size: 1.25rem;
83
81
 
82
+ --#{$prefix}card-header-padding-y: 0.375rem;
83
+ --#{$prefix}card-header-padding-x: 1rem;
84
84
  --#{$prefix}card-header-min-height: 2rem;
85
85
  --#{$prefix}card-header-gap: 0.75rem;
86
86
  --#{$prefix}card-header-content-gap: 0.5rem;
87
87
 
88
- --#{$prefix}card-header-title-font-size: 13px;
88
+ --#{$prefix}card-header-title-font-size: 12px;
89
89
  --#{$prefix}card-header-title-font-weight: 500;
90
90
  --#{$prefix}card-header-title-line-height: 16px;
91
91
 
92
- --#{$prefix}card-header-subtitle-font-size: 12px;
92
+ --#{$prefix}card-header-subtitle-font-size: 11px;
93
93
  --#{$prefix}card-header-subtitle-font-weight: 500;
94
94
  --#{$prefix}card-header-subtitle-line-height: 16px;
95
95
 
96
+ --#{$prefix}card-body-padding-y: 0.375rem;
97
+ --#{$prefix}card-body-padding-x: 1rem;
96
98
  --#{$prefix}card-body-font-size: 0.875rem;
97
99
  --#{$prefix}card-body-line-height: 20px;
98
100
 
101
+ --#{$prefix}card-footer-padding-y: 0.375rem;
102
+ --#{$prefix}card-footer-padding-x: 1rem;
99
103
  --#{$prefix}card-footer-min-height: 2rem;
100
104
  --#{$prefix}card-footer-gap: 0.75rem;
101
105
  }
@@ -105,26 +109,28 @@
105
109
  }
106
110
 
107
111
  .#{$prefix}card--md {
108
- --#{$prefix}card-padding-y: 0.75rem;
109
- --#{$prefix}card-padding-x: 1.5rem;
110
- --#{$prefix}card-gap: 0.75rem;
111
-
112
112
  --#{$prefix}card-title-padding-y: 1rem 0.5rem;
113
113
  --#{$prefix}card-title-font-size: 1.25rem;
114
114
 
115
115
  --#{$prefix}card-header-min-height: 2rem;
116
- --#{$prefix}card-header-gap: 1rem;
116
+ --#{$prefix}card-header-padding-y: 0.5rem;
117
+ --#{$prefix}card-header-padding-x: 1rem;
118
+ --#{$prefix}card-header-gap: 0.75rem;
117
119
  --#{$prefix}card-header-content-gap: 0.5rem;
118
120
 
119
- --#{$prefix}card-header-title-font-size: 0.875rem;
121
+ --#{$prefix}card-header-title-font-size: 13px;
120
122
  --#{$prefix}card-header-title-line-height: 16px;
121
123
 
122
- --#{$prefix}card-header-subtitle-font-size: 0.8125rem;
124
+ --#{$prefix}card-header-subtitle-font-size: 12px;
123
125
  --#{$prefix}card-header-subtitle-line-height: 16px;
124
126
 
127
+ --#{$prefix}card-body-padding-y: 0.5rem;
128
+ --#{$prefix}card-body-padding-x: 1rem;
125
129
  --#{$prefix}card-body-font-size: 0.875rem;
126
130
  --#{$prefix}card-body-line-height: 24px;
127
131
 
132
+ --#{$prefix}card-footer-padding-y: 0.5rem;
133
+ --#{$prefix}card-footer-padding-x: 1rem;
128
134
  --#{$prefix}card-footer-min-height: 2rem;
129
135
  --#{$prefix}card-footer-gap: 1rem;
130
136
  }
@@ -134,26 +140,28 @@
134
140
  }
135
141
 
136
142
  .#{$prefix}card--lg {
137
- --#{$prefix}card-padding-y: 1.125rem;
138
- --#{$prefix}card-padding-x: 1.75rem;
139
- --#{$prefix}card-gap: 1.125rem;
140
-
141
143
  --#{$prefix}card-title-padding-y: 1.25rem 0.75rem;
142
144
  --#{$prefix}card-title-font-size: 1.5rem;
143
145
 
146
+ --#{$prefix}card-header-padding-y: 0.625rem;
147
+ --#{$prefix}card-header-padding-x: 1.25rem;
144
148
  --#{$prefix}card-header-min-height: 2.25rem;
145
149
  --#{$prefix}card-header-gap: 1rem;
146
150
  --#{$prefix}card-header-content-gap: 0.75rem;
147
151
 
148
- --#{$prefix}card-header-title-font-size: 1rem;
152
+ --#{$prefix}card-header-title-font-size: 14px;
149
153
  --#{$prefix}card-header-title-line-height: 18px;
150
154
 
151
- --#{$prefix}card-header-subtitle-font-size: 0.875rem;
155
+ --#{$prefix}card-header-subtitle-font-size: 13px;
152
156
  --#{$prefix}card-header-subtitle-line-height: 18px;
153
157
 
158
+ --#{$prefix}card-body-padding-y: 0.625rem;
159
+ --#{$prefix}card-body-padding-x: 1.25rem;
154
160
  --#{$prefix}card-body-font-size: 1rem;
155
161
  --#{$prefix}card-body-line-height: 24px;
156
162
 
163
+ --#{$prefix}card-footer-padding-y: 0.625rem;
164
+ --#{$prefix}card-footer-padding-x: 1.25rem;
157
165
  --#{$prefix}card-footer-min-height: 2.25rem;
158
166
  --#{$prefix}card-footer-gap: 1rem;
159
167
  }
@@ -163,23 +171,25 @@
163
171
  }
164
172
 
165
173
  .#{$prefix}card--xl {
166
- --#{$prefix}card-padding-y: 1.25rem;
167
- --#{$prefix}card-padding-x: 2rem;
168
- --#{$prefix}card-gap: 1.25rem;
169
-
174
+ --#{$prefix}card-header-padding-y: 0.75rem;
175
+ --#{$prefix}card-header-padding-x: 1.5rem;
170
176
  --#{$prefix}card-header-min-height: 2.5rem;
171
177
  --#{$prefix}card-header-gap: 1rem;
172
178
  --#{$prefix}card-header-content-gap: 0.875rem;
173
179
 
174
- --#{$prefix}card-header-title-font-size: 1.125rem;
180
+ --#{$prefix}card-header-title-font-size: 16px;
175
181
  --#{$prefix}card-header-title-line-height: 20px;
176
182
 
177
- --#{$prefix}card-header-subtitle-font-size: 1rem;
183
+ --#{$prefix}card-header-subtitle-font-size: 15px;
178
184
  --#{$prefix}card-header-subtitle-line-height: 20px;
179
185
 
186
+ --#{$prefix}card-body-padding-y: 0.75rem;
187
+ --#{$prefix}card-body-padding-x: 1.5rem;
180
188
  --#{$prefix}card-body-font-size: 1.125rem;
181
189
  --#{$prefix}card-body-line-height: 28px;
182
190
 
191
+ --#{$prefix}card-footer-padding-y: 0.75rem;
192
+ --#{$prefix}card-footer-padding-x: 1.5rem;
183
193
  --#{$prefix}card-footer-min-height: 2.5rem;
184
194
  --#{$prefix}card-footer-gap: 1rem;
185
195
  }
@@ -188,29 +198,31 @@
188
198
  --#{$prefix}icon-font-size-default: 36px;
189
199
  }
190
200
 
191
- .#{$prefix}card--xxl {
192
- --#{$prefix}card-padding-y: 1.5rem;
193
- --#{$prefix}card-padding-x: 2rem;
194
- --#{$prefix}card-gap: 1.5rem;
195
-
201
+ .#{$prefix}card--2xl {
202
+ --#{$prefix}card-header-padding-y: 0.75rem;
203
+ --#{$prefix}card-header-padding-x: 1.5rem;
196
204
  --#{$prefix}card-header-min-height: 3rem;
197
- --#{$prefix}card-header-gap: 1.5em;
205
+ --#{$prefix}card-header-gap: 1rem;
198
206
  --#{$prefix}card-header-content-gap: 1rem;
199
207
 
200
- --#{$prefix}card-header-title-font-size: 1.25rem;
208
+ --#{$prefix}card-header-title-font-size: 18px;
201
209
  --#{$prefix}card-header-title-line-height: 24px;
202
210
 
203
- --#{$prefix}card-header-subtitle-font-size: 1.125rem;
211
+ --#{$prefix}card-header-subtitle-font-size: 16px;
204
212
  --#{$prefix}card-header-subtitle-line-height: 24px;
205
213
 
214
+ --#{$prefix}card-body-padding-y: 0.75rem;
215
+ --#{$prefix}card-body-padding-x: 1.5rem;
206
216
  --#{$prefix}card-body-font-size: 1.25rem;
207
217
  --#{$prefix}card-body-line-height: 36px;
208
218
 
219
+ --#{$prefix}card-footer-padding-y: 0.75rem;
220
+ --#{$prefix}card-footer-padding-x: 1.5rem;
209
221
  --#{$prefix}card-footer-min-height: 2.5rem;
210
222
  --#{$prefix}card-footer-gap: 1rem;
211
223
  }
212
224
 
213
- .#{$prefix}card--xxl .#{$prefix}card-header .#{$prefix}icon:not(.#{$prefix}button .#{$prefix}icon) {
214
- --#{$prefix}icon-font-size-default: 48px;
225
+ .#{$prefix}card--2xl .#{$prefix}card-header .#{$prefix}icon:not(.#{$prefix}button .#{$prefix}icon) {
226
+ --#{$prefix}icon-font-size-default: 40px;
215
227
  }
216
228
  }
@@ -2,6 +2,10 @@
2
2
 
3
3
  .#{$prefix}theme-fci {
4
4
  .#{$prefix}checkbox-group {
5
+ &--xs {
6
+ --#{$prefix}checkbox-group-gap: 0.2rem;
7
+ }
8
+
5
9
  &--sm {
6
10
  --#{$prefix}checkbox-group-gap: 0.375rem;
7
11
  }
@@ -13,13 +17,16 @@
13
17
  &--lg {
14
18
  --#{$prefix}checkbox-group-gap: 0.75rem;
15
19
  }
20
+
21
+ &--xl {
22
+ --#{$prefix}checkbox-group-gap: 0.875rem;
23
+ }
16
24
  }
17
25
 
18
26
  .#{$prefix}checkbox {
19
27
  --#{$prefix}checkbox-control-border-width: 1px;
20
28
  --#{$prefix}checkbox-control-border-style: solid;
21
29
  --#{$prefix}checkbox-control-border-color: rgba(0, 0, 0, 0.2);
22
- --#{$prefix}checkbox-control-border-radius: 6px;
23
30
  --#{$prefix}checkbox-control-color: var(--#{$prefix}white-color);
24
31
 
25
32
  --#{$prefix}_checked-checkbox-control-border-color: var(--#{$prefix}primary-color);
@@ -27,40 +34,74 @@
27
34
 
28
35
  --#{$prefix}checkbox-tap-background: var(--#{$prefix}primary-color);
29
36
 
37
+ &--xs {
38
+ --#{$prefix}checkbox-gap: 0.375rem;
39
+
40
+ --#{$prefix}checkbox-control-border-radius: 4px;
41
+
42
+ --#{$prefix}checkbox-control-width: 14px;
43
+ --#{$prefix}checkbox-control-height: 14px;
44
+ --#{$prefix}checkbox-label-font-size: 0.75rem;
45
+
46
+ & .#{$prefix}icon {
47
+ --#{$prefix}icon-font-size: 0.5rem;
48
+ }
49
+ }
50
+
30
51
  &--sm {
31
52
  --#{$prefix}checkbox-gap: 0.375rem;
32
53
 
54
+ --#{$prefix}checkbox-control-border-radius: 4px;
55
+
33
56
  --#{$prefix}checkbox-control-width: 16px;
34
57
  --#{$prefix}checkbox-control-height: 16px;
35
58
  --#{$prefix}checkbox-label-font-size: 0.75rem;
36
59
 
37
60
  & .#{$prefix}icon {
38
- --#{$prefix}icon-font-size: 0.75rem;
61
+ --#{$prefix}icon-font-size: 0.5rem;
39
62
  }
40
63
  }
41
64
 
42
65
  &--md {
43
66
  --#{$prefix}checkbox-gap: 0.5rem;
44
67
 
45
- --#{$prefix}checkbox-control-width: 20px;
46
- --#{$prefix}checkbox-control-height: 20px;
68
+ --#{$prefix}checkbox-control-border-radius: 4px;
69
+
70
+ --#{$prefix}checkbox-control-width: 18px;
71
+ --#{$prefix}checkbox-control-height: 18px;
47
72
 
48
73
  --#{$prefix}checkbox-label-font-size: 0.875rem;
49
74
 
50
75
  & .#{$prefix}icon {
51
- --#{$prefix}icon-font-size: 1rem;
76
+ --#{$prefix}icon-font-size: 0.625rem;
52
77
  }
53
78
  }
54
79
 
55
80
  &--lg {
56
81
  --#{$prefix}checkbox-gap: 0.5rem;
57
82
 
58
- --#{$prefix}checkbox-control-width: 24px;
59
- --#{$prefix}checkbox-control-height: 24px;
83
+ --#{$prefix}checkbox-control-border-radius: 6px;
84
+
85
+ --#{$prefix}checkbox-control-width: 20px;
86
+ --#{$prefix}checkbox-control-height: 20px;
87
+ --#{$prefix}checkbox-label-font-size: 0.875rem;
88
+
89
+ .#{$prefix}icon {
90
+ --#{$prefix}icon-font-size: 0.75rem;
91
+ }
92
+ }
93
+
94
+ &--xl {
95
+ --#{$prefix}checkbox-gap: 0.5rem;
96
+
97
+ --#{$prefix}checkbox-control-border-radius: 6px;
98
+
99
+ --#{$prefix}checkbox-control-width: 22px;
100
+ --#{$prefix}checkbox-control-height: 22px;
60
101
  --#{$prefix}checkbox-label-font-size: 1rem;
61
102
 
62
103
  .#{$prefix}icon {
63
- --#{$prefix}icon-font-size: 1.125rem;
104
+ --#{$prefix}icon-font-size: 0.875rem;
64
105
  }
65
106
  }
66
107