igniteui-theming 1.4.14 → 2.0.1
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/package.json +1 -1
- package/sass/themes/_functions.scss +5 -2
- package/sass/themes/_mixins.scss +4 -1
- package/sass/themes/schemas/components/light/_action-strip.scss +24 -8
- package/sass/themes/schemas/components/light/_avatar.scss +2 -2
- package/sass/themes/schemas/components/light/_badge.scss +2 -2
- package/sass/themes/schemas/components/light/_button-group.scss +18 -7
- package/sass/themes/schemas/components/light/_button.scss +90 -34
- package/sass/themes/schemas/components/light/_calendar.scss +60 -22
- package/sass/themes/schemas/components/light/_card.scss +18 -7
- package/sass/themes/schemas/components/light/_carousel.scss +12 -6
- package/sass/themes/schemas/components/light/_checkbox.scss +48 -16
- package/sass/themes/schemas/components/light/_chip.scss +12 -6
- package/sass/themes/schemas/components/light/_dialog.scss +18 -7
- package/sass/themes/schemas/components/light/_drop-down.scss +30 -13
- package/sass/themes/schemas/components/light/_expansion-panel.scss +12 -5
- package/sass/themes/schemas/components/light/_grid.scss +20 -9
- package/sass/themes/schemas/components/light/_icon.scss +0 -2
- package/sass/themes/schemas/components/light/_input-group.scss +54 -21
- package/sass/themes/schemas/components/light/_list.scss +24 -10
- package/sass/themes/schemas/components/light/_navdrawer.scss +18 -7
- package/sass/themes/schemas/components/light/_progress.scss +13 -7
- package/sass/themes/schemas/components/light/_snackbar.scss +18 -6
- package/sass/themes/schemas/components/light/_splitter.scss +6 -2
- package/sass/themes/schemas/components/light/_stepper.scss +28 -14
- package/sass/themes/schemas/components/light/_switch.scss +42 -15
- package/sass/themes/schemas/components/light/_tabs.scss +12 -4
- package/sass/themes/schemas/components/light/_time-picker.scss +42 -15
- package/sass/themes/schemas/components/light/_toast.scss +24 -8
- package/sass/themes/schemas/components/light/_tooltip.scss +18 -7
- package/sass/themes/schemas/components/light/_watermark.scss +24 -8
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
/// @prop {Number} resting-elevation [2] - The elevation level, between 0-24, to be used for the resting state.
|
|
26
26
|
/// @prop {Number} hover-elevation [3] - The elevation level, between 0-24, to be used for the hover state.
|
|
27
27
|
/// @prop {Number} disabled-elevation [1] - The elevation level, between 0-24, to be used for the disabled state.
|
|
28
|
-
/// @prop {
|
|
29
|
-
/// @prop {
|
|
30
|
-
/// @prop {
|
|
28
|
+
/// @prop {List} border-radius-track [(rem(7px), rem(0), rem(7px))] - The border radius used for switch track.
|
|
29
|
+
/// @prop {List} border-radius-thumb [(rem(10px), rem(0), rem(10px))] - The border radius used for switch thumb.
|
|
30
|
+
/// @prop {List} border-radius-ripple [(rem(24px), rem(0), rem(24px))] - The border radius used for switch ripple.
|
|
31
31
|
/// @prop {Color} border-color [transparent] - The border color of the switch.
|
|
32
32
|
/// @prop {Color} border-hover-color [transparent] - The border color of the switch on hover.
|
|
33
33
|
/// @prop {Color} border-disabled-color [transparent] - The border color of the disabled switch.
|
|
@@ -137,9 +137,21 @@ $light-switch: extend(
|
|
|
137
137
|
500,
|
|
138
138
|
),
|
|
139
139
|
),
|
|
140
|
-
border-radius-track:
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
border-radius-track: (
|
|
141
|
+
rem(7px),
|
|
142
|
+
rem(0),
|
|
143
|
+
rem(7px),
|
|
144
|
+
),
|
|
145
|
+
border-radius-thumb: (
|
|
146
|
+
rem(10px),
|
|
147
|
+
rem(0),
|
|
148
|
+
rem(10px),
|
|
149
|
+
),
|
|
150
|
+
border-radius-ripple: (
|
|
151
|
+
rem(24px),
|
|
152
|
+
rem(0),
|
|
153
|
+
rem(24px),
|
|
154
|
+
),
|
|
143
155
|
)
|
|
144
156
|
);
|
|
145
157
|
|
|
@@ -166,7 +178,7 @@ $light-switch: extend(
|
|
|
166
178
|
/// @prop {Map} error-color-hover [color: ('gray', 800)] - The border and thumb color in invalid state on hover.
|
|
167
179
|
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
168
180
|
///
|
|
169
|
-
/// @prop {
|
|
181
|
+
/// @prop {List} border-radius-track [(rem(10px), rem(0), rem(10px))] - The border radius used for switch track.
|
|
170
182
|
///
|
|
171
183
|
///
|
|
172
184
|
/// @requires {Map} $light-switch
|
|
@@ -271,7 +283,11 @@ $fluent-switch: extend(
|
|
|
271
283
|
),
|
|
272
284
|
),
|
|
273
285
|
track-disabled-color: transparent,
|
|
274
|
-
border-radius-track:
|
|
286
|
+
border-radius-track: (
|
|
287
|
+
rem(10px),
|
|
288
|
+
rem(0),
|
|
289
|
+
rem(10px),
|
|
290
|
+
),
|
|
275
291
|
)
|
|
276
292
|
);
|
|
277
293
|
|
|
@@ -289,8 +305,8 @@ $fluent-switch: extend(
|
|
|
289
305
|
/// @prop {Color} track-disabled-color [transparent] - The color of the track when the switch is disabled.
|
|
290
306
|
/// @prop {Map} error-color [color: ('gray', 400)] - The border and thumb color in invalid state.
|
|
291
307
|
/// @prop {Map} error-color-hover [color: ('primary', 200)] - The border and thumb color in invalid state on hover.
|
|
292
|
-
/// @prop {
|
|
293
|
-
/// @prop {
|
|
308
|
+
/// @prop {List} border-radius-track [(rem(32px), rem(0), rem(32px))] - The border radius used for switch track.
|
|
309
|
+
/// @prop {List} border-radius-thumb [(rem(32px), rem(0), rem(32px))] - The border radius used for switch thumb.
|
|
294
310
|
///
|
|
295
311
|
///
|
|
296
312
|
/// @requires {Map} $fluent-switch
|
|
@@ -363,8 +379,16 @@ $bootstrap-switch: extend(
|
|
|
363
379
|
200,
|
|
364
380
|
),
|
|
365
381
|
),
|
|
366
|
-
border-radius-track:
|
|
367
|
-
|
|
382
|
+
border-radius-track: (
|
|
383
|
+
rem(32px),
|
|
384
|
+
rem(0),
|
|
385
|
+
rem(32px),
|
|
386
|
+
),
|
|
387
|
+
border-radius-thumb: (
|
|
388
|
+
rem(32px),
|
|
389
|
+
rem(0),
|
|
390
|
+
rem(32px),
|
|
391
|
+
),
|
|
368
392
|
)
|
|
369
393
|
);
|
|
370
394
|
|
|
@@ -387,8 +411,7 @@ $bootstrap-switch: extend(
|
|
|
387
411
|
/// @prop {Map} thumb-on-error-color [color: ('gray', 50)] - The color of the thumb when the switch is on and invalid.
|
|
388
412
|
/// @prop {Map} error-color [color: ('gray', 500)] - The border and thumb color in invalid state.
|
|
389
413
|
/// @prop {Map} error-color-hover [color: ('gray', 300)] - The border and thumb color in invalid state on hover.
|
|
390
|
-
/// @prop {
|
|
391
|
-
/// @prop {Number} border-radius-thumb [10px] - The border radius used for switch thumb. Can be a fraction between 0 and 1, pixels, or percent.
|
|
414
|
+
/// @prop {List} border-radius-track [(rem(8px), rem(0), rem(8px))] - The border radius used for switch track.
|
|
392
415
|
/// @prop {Map} focus-outline-color [color: ('gray', 300)] - The focus outlined color.
|
|
393
416
|
/// @prop {Map} focus-outline-color-focused [color: ('primary', 200)] - The focus outlined color for focused state.
|
|
394
417
|
///
|
|
@@ -489,6 +512,10 @@ $indigo-switch: extend(
|
|
|
489
512
|
300,
|
|
490
513
|
),
|
|
491
514
|
),
|
|
492
|
-
border-radius-track:
|
|
515
|
+
border-radius-track: (
|
|
516
|
+
rem(8px),
|
|
517
|
+
rem(0),
|
|
518
|
+
rem(8px),
|
|
519
|
+
),
|
|
493
520
|
)
|
|
494
521
|
);
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
/// @prop {Map} border-color--hover [transparent] - The color used for the tab items bottom border on hover.
|
|
33
33
|
/// @prop {Map} tab-ripple-color [color: ('gray', 100)] - The color used for the button background.
|
|
34
34
|
/// @prop {Map} button-ripple-color [color: ('gray', 100)] - The color used for the button background on hover.
|
|
35
|
-
/// @prop {
|
|
35
|
+
/// @prop {List} border-radius [(rem(0), rem(0), rem(6px))] - The border radius used for tabs.
|
|
36
36
|
$light-tabs: (
|
|
37
37
|
item-text-color: (
|
|
38
38
|
color: (
|
|
@@ -148,7 +148,11 @@ $light-tabs: (
|
|
|
148
148
|
),
|
|
149
149
|
border-color: transparent,
|
|
150
150
|
border-color--hover: transparent,
|
|
151
|
-
border-radius:
|
|
151
|
+
border-radius: (
|
|
152
|
+
rem(0),
|
|
153
|
+
rem(0),
|
|
154
|
+
rem(6px),
|
|
155
|
+
),
|
|
152
156
|
);
|
|
153
157
|
|
|
154
158
|
/// Generates a fluent tabs schema.
|
|
@@ -228,7 +232,7 @@ $fluent-tabs: extend(
|
|
|
228
232
|
/// @prop {map} item-active-background [color: ('surface')] - The color used for the active/focused tab background.
|
|
229
233
|
/// @prop {map} border-color [color: ('gray', 300)] - The color used for the tab items border.
|
|
230
234
|
/// @prop {map} border-color--hover [color: ('gray', 200)] - The color used for the tab items border on hover.
|
|
231
|
-
/// @prop {
|
|
235
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(6px))] - The border radius used for tabs.
|
|
232
236
|
/// @requires {Map} $light-tabs
|
|
233
237
|
$bootstrap-tabs: extend(
|
|
234
238
|
$light-tabs,
|
|
@@ -334,7 +338,11 @@ $bootstrap-tabs: extend(
|
|
|
334
338
|
0.5,
|
|
335
339
|
),
|
|
336
340
|
),
|
|
337
|
-
border-radius:
|
|
341
|
+
border-radius: (
|
|
342
|
+
rem(4px),
|
|
343
|
+
rem(0),
|
|
344
|
+
rem(6px),
|
|
345
|
+
),
|
|
338
346
|
)
|
|
339
347
|
);
|
|
340
348
|
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
/// @prop {Map} background-color [color: 'surface'] - The time-picker panel background color.
|
|
23
23
|
/// @prop {Number} modal-elevation [24] - The elevation level, between 0-24, to be used for the time picker in modal mode.
|
|
24
24
|
/// @prop {Number} dropdown-elevation [8] - The elevation level, between 0-24, to be used for the time picker in dropdown mode.
|
|
25
|
-
/// @prop {
|
|
26
|
-
/// @prop {
|
|
25
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
26
|
+
/// @prop {List} active-item-border-radius [(rem(15px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
27
27
|
/// @requires {Map} $default-elevation-time-picker
|
|
28
28
|
/// @see $default-palette
|
|
29
29
|
$light-time-picker: extend(
|
|
@@ -91,22 +91,38 @@ $light-time-picker: extend(
|
|
|
91
91
|
color: 'surface',
|
|
92
92
|
),
|
|
93
93
|
|
|
94
|
-
border-radius:
|
|
95
|
-
|
|
94
|
+
border-radius: (
|
|
95
|
+
rem(4px),
|
|
96
|
+
rem(0),
|
|
97
|
+
rem(20px),
|
|
98
|
+
),
|
|
99
|
+
active-item-border-radius: (
|
|
100
|
+
rem(15px),
|
|
101
|
+
rem(0),
|
|
102
|
+
rem(20px),
|
|
103
|
+
),
|
|
96
104
|
)
|
|
97
105
|
);
|
|
98
106
|
|
|
99
107
|
/// Generates a fluent time-picker schema.
|
|
100
108
|
/// @type {Map}
|
|
101
|
-
/// @prop {
|
|
102
|
-
/// @prop {
|
|
109
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
110
|
+
/// @prop {List} active-item-border-radius [(rem(2px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
103
111
|
///
|
|
104
112
|
/// @requires $light-time-picker
|
|
105
113
|
$fluent-time-picker: extend(
|
|
106
114
|
$light-time-picker,
|
|
107
115
|
(
|
|
108
|
-
border-radius:
|
|
109
|
-
|
|
116
|
+
border-radius: (
|
|
117
|
+
rem(2px),
|
|
118
|
+
rem(0),
|
|
119
|
+
rem(20px),
|
|
120
|
+
),
|
|
121
|
+
active-item-border-radius: (
|
|
122
|
+
rem(2px),
|
|
123
|
+
rem(0),
|
|
124
|
+
rem(20px),
|
|
125
|
+
),
|
|
110
126
|
)
|
|
111
127
|
);
|
|
112
128
|
|
|
@@ -115,8 +131,7 @@ $fluent-time-picker: extend(
|
|
|
115
131
|
/// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
|
|
116
132
|
/// @prop {Map} hover-text-color [color: ('primary', 600)] - The hover text color of an open time picker.
|
|
117
133
|
/// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
|
|
118
|
-
/// @prop {
|
|
119
|
-
/// @prop {Number} active-item-border-radius [4px] - The border radius used for the highlight of the active item in the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
|
|
134
|
+
/// @prop {List} active-item-border-radius [(rem(4px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
120
135
|
///
|
|
121
136
|
/// @requires $light-time-picker
|
|
122
137
|
$bootstrap-time-picker: extend(
|
|
@@ -143,7 +158,11 @@ $bootstrap-time-picker: extend(
|
|
|
143
158
|
),
|
|
144
159
|
),
|
|
145
160
|
|
|
146
|
-
active-item-border-radius:
|
|
161
|
+
active-item-border-radius: (
|
|
162
|
+
rem(4px),
|
|
163
|
+
rem(0),
|
|
164
|
+
rem(20px),
|
|
165
|
+
),
|
|
147
166
|
)
|
|
148
167
|
);
|
|
149
168
|
|
|
@@ -155,8 +174,8 @@ $bootstrap-time-picker: extend(
|
|
|
155
174
|
/// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
|
|
156
175
|
/// @prop {Map} header-hour-text-color [contrast-color: ('primary', 500)] - The header hour text color of a time picker.
|
|
157
176
|
/// @prop {Map} header-time-period-color [contrast-color: ('primary', 500)] - The header AM/PM text color of a time picker.
|
|
158
|
-
/// @prop {
|
|
159
|
-
/// @prop {
|
|
177
|
+
/// @prop {List} border-radius [(rem(3px), rem(0), rem(20px))] - The border radius used for the overall shape of the time-picker.
|
|
178
|
+
/// @prop {List} active-item-border-radius [(rem(20px), rem(0), rem(20px))] - The border radius used for the highlight of the active item in the time-picker.
|
|
160
179
|
///
|
|
161
180
|
/// @requires $light-time-picker
|
|
162
181
|
$indigo-time-picker: extend(
|
|
@@ -204,7 +223,15 @@ $indigo-time-picker: extend(
|
|
|
204
223
|
),
|
|
205
224
|
),
|
|
206
225
|
|
|
207
|
-
border-radius:
|
|
208
|
-
|
|
226
|
+
border-radius: (
|
|
227
|
+
rem(3px),
|
|
228
|
+
rem(0),
|
|
229
|
+
rem(20px),
|
|
230
|
+
),
|
|
231
|
+
active-item-border-radius: (
|
|
232
|
+
rem(20px),
|
|
233
|
+
rem(0),
|
|
234
|
+
rem(20px),
|
|
235
|
+
),
|
|
209
236
|
)
|
|
210
237
|
);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
/// @prop {Map} background [color: ('gray', 700, .9)] - The background color used for the toast.
|
|
14
14
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text-color used for the toast.
|
|
15
15
|
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the toast.
|
|
16
|
-
/// @prop {
|
|
16
|
+
/// @prop {List} border-radius [(rem(26px), rem(0), rem(26px))] - The border radius used for toast.
|
|
17
17
|
/// @requires {Map} $default-elevation-toast
|
|
18
18
|
$light-toast: extend(
|
|
19
19
|
$default-elevation-toast,
|
|
@@ -33,18 +33,26 @@ $light-toast: extend(
|
|
|
33
33
|
),
|
|
34
34
|
),
|
|
35
35
|
|
|
36
|
-
border-radius:
|
|
36
|
+
border-radius: (
|
|
37
|
+
rem(26px),
|
|
38
|
+
rem(0),
|
|
39
|
+
rem(26px),
|
|
40
|
+
),
|
|
37
41
|
)
|
|
38
42
|
);
|
|
39
43
|
|
|
40
44
|
/// Generates a fluent toast schema.
|
|
41
45
|
/// @type {Map}
|
|
42
|
-
/// @prop {
|
|
46
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(26px))] - The border radius used for toast.
|
|
43
47
|
/// @requires $light-toast
|
|
44
48
|
$fluent-toast: extend(
|
|
45
49
|
$light-toast,
|
|
46
50
|
(
|
|
47
|
-
border-radius:
|
|
51
|
+
border-radius: (
|
|
52
|
+
rem(2px),
|
|
53
|
+
rem(0),
|
|
54
|
+
rem(26px),
|
|
55
|
+
),
|
|
48
56
|
)
|
|
49
57
|
);
|
|
50
58
|
|
|
@@ -53,7 +61,7 @@ $fluent-toast: extend(
|
|
|
53
61
|
/// @prop {Map} background [color: (color: ('surface')] - The background color used for the toast.
|
|
54
62
|
/// @prop {Map} text-color [color: ('gray', 600)] - The text-color used for the toast.
|
|
55
63
|
/// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the toast.
|
|
56
|
-
/// @prop {
|
|
64
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(26px))] - The border radius used for toast.
|
|
57
65
|
/// @requires {Map} $light-toast
|
|
58
66
|
/// @requires {Map} $bootstrap-elevation-toast
|
|
59
67
|
$bootstrap-toast: extend(
|
|
@@ -73,17 +81,25 @@ $bootstrap-toast: extend(
|
|
|
73
81
|
),
|
|
74
82
|
),
|
|
75
83
|
|
|
76
|
-
border-radius:
|
|
84
|
+
border-radius: (
|
|
85
|
+
rem(4px),
|
|
86
|
+
rem(0),
|
|
87
|
+
rem(26px),
|
|
88
|
+
),
|
|
77
89
|
)
|
|
78
90
|
);
|
|
79
91
|
|
|
80
92
|
/// Generates an indigo toast schema.
|
|
81
93
|
/// @type {Map}
|
|
82
|
-
/// @prop {
|
|
94
|
+
/// @prop {List} border-radius [(rem(24px), rem(0), rem(26px))] - The border radius used for toast.
|
|
83
95
|
/// @requires {Map} $light-toast
|
|
84
96
|
$indigo-toast: extend(
|
|
85
97
|
$light-toast,
|
|
86
98
|
(
|
|
87
|
-
border-radius:
|
|
99
|
+
border-radius: (
|
|
100
|
+
rem(24px),
|
|
101
|
+
rem(0),
|
|
102
|
+
rem(26px),
|
|
103
|
+
),
|
|
88
104
|
)
|
|
89
105
|
);
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
/// @type {Map}
|
|
12
12
|
/// @prop {Map} background [color: ('gray', 700, .9),] - The background color of the tooltip.
|
|
13
13
|
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color of the tooltip.
|
|
14
|
-
/// @prop {
|
|
14
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
15
15
|
$light-tooltip: (
|
|
16
16
|
background: (
|
|
17
17
|
color: (
|
|
@@ -28,14 +28,18 @@ $light-tooltip: (
|
|
|
28
28
|
),
|
|
29
29
|
),
|
|
30
30
|
|
|
31
|
-
border-radius:
|
|
31
|
+
border-radius: (
|
|
32
|
+
rem(4px),
|
|
33
|
+
rem(0),
|
|
34
|
+
rem(16px),
|
|
35
|
+
),
|
|
32
36
|
);
|
|
33
37
|
|
|
34
38
|
/// Generates a light fluent tooltip schema.
|
|
35
39
|
/// @type {Map}
|
|
36
40
|
/// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
|
|
37
41
|
/// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color of the tooltip.
|
|
38
|
-
/// @prop {
|
|
42
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
39
43
|
/// @requires {Map} $light-tooltip
|
|
40
44
|
$fluent-tooltip: extend(
|
|
41
45
|
$light-tooltip,
|
|
@@ -55,7 +59,11 @@ $fluent-tooltip: extend(
|
|
|
55
59
|
),
|
|
56
60
|
),
|
|
57
61
|
|
|
58
|
-
border-radius:
|
|
62
|
+
border-radius: (
|
|
63
|
+
rem(2px),
|
|
64
|
+
rem(0),
|
|
65
|
+
rem(16px),
|
|
66
|
+
),
|
|
59
67
|
)
|
|
60
68
|
);
|
|
61
69
|
|
|
@@ -63,7 +71,6 @@ $fluent-tooltip: extend(
|
|
|
63
71
|
/// @type {Map}
|
|
64
72
|
/// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
|
|
65
73
|
/// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color of the tooltip.
|
|
66
|
-
/// @prop {Number} border-radius [4px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
|
|
67
74
|
/// @requires $light-tooltip
|
|
68
75
|
$bootstrap-tooltip: extend(
|
|
69
76
|
$light-tooltip,
|
|
@@ -86,11 +93,15 @@ $bootstrap-tooltip: extend(
|
|
|
86
93
|
|
|
87
94
|
/// Generates an indigo tooltip schema.
|
|
88
95
|
/// @type {Map}
|
|
89
|
-
/// @prop {
|
|
96
|
+
/// @prop {List} border-radius [(rem(3px), rem(0), rem(16px))] - The border radius used for tooltip.
|
|
90
97
|
/// @requires {Map} $light-tooltip
|
|
91
98
|
$indigo-tooltip: extend(
|
|
92
99
|
$light-tooltip,
|
|
93
100
|
(
|
|
94
|
-
border-radius:
|
|
101
|
+
border-radius: (
|
|
102
|
+
rem(3px),
|
|
103
|
+
rem(0),
|
|
104
|
+
rem(16px),
|
|
105
|
+
),
|
|
95
106
|
)
|
|
96
107
|
);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
/// @prop {Map} link-background [color: ('primary')] - The background color used for the link.
|
|
16
16
|
/// @prop {Map} color [contrast-color: ('primary', 800)] - The color used for the link text.
|
|
17
17
|
/// @prop {Map} border-color [color: ('primary')] - The border color used for the link.
|
|
18
|
-
/// @prop {
|
|
18
|
+
/// @prop {List} border-radius [(rem(0), rem(0), rem(16px))] - The border radius used for watermark.
|
|
19
19
|
$light-watermark: extend(
|
|
20
20
|
(
|
|
21
21
|
base-color: (
|
|
@@ -31,36 +31,48 @@ $light-watermark: extend(
|
|
|
31
31
|
),
|
|
32
32
|
),
|
|
33
33
|
|
|
34
|
-
border-radius:
|
|
34
|
+
border-radius: (
|
|
35
|
+
rem(0),
|
|
36
|
+
rem(0),
|
|
37
|
+
rem(16px),
|
|
38
|
+
),
|
|
35
39
|
)
|
|
36
40
|
);
|
|
37
41
|
|
|
38
42
|
/// Generates a light fluent watermark schema.
|
|
39
43
|
/// @type {Map}
|
|
40
|
-
/// @prop {
|
|
44
|
+
/// @prop {List} border-radius [(rem(2px), rem(0), rem(16px))] - The border radius used for watermark.
|
|
41
45
|
/// @requires {Map} $light-watermark
|
|
42
46
|
$fluent-watermark: extend(
|
|
43
47
|
$light-watermark,
|
|
44
48
|
(
|
|
45
|
-
border-radius:
|
|
49
|
+
border-radius: (
|
|
50
|
+
rem(2px),
|
|
51
|
+
rem(0),
|
|
52
|
+
rem(16px),
|
|
53
|
+
),
|
|
46
54
|
)
|
|
47
55
|
);
|
|
48
56
|
|
|
49
57
|
/// Generates a bootstrap watermark schema.
|
|
50
58
|
/// @type {Map}
|
|
51
|
-
/// @prop {
|
|
59
|
+
/// @prop {List} border-radius [(rem(4px), rem(0), rem(16px))] - The border radius used for watermark.
|
|
52
60
|
/// @requires {Map} $light-watermark
|
|
53
61
|
$bootstrap-watermark: extend(
|
|
54
62
|
$light-watermark,
|
|
55
63
|
(
|
|
56
|
-
border-radius:
|
|
64
|
+
border-radius: (
|
|
65
|
+
rem(4px),
|
|
66
|
+
rem(0),
|
|
67
|
+
rem(16px),
|
|
68
|
+
),
|
|
57
69
|
)
|
|
58
70
|
);
|
|
59
71
|
|
|
60
72
|
/// Generates an indigo watermark schema.
|
|
61
73
|
/// @type {Map}
|
|
62
74
|
/// @prop {Map} border-color [color: ('primary', 300)] - The border color for the link.
|
|
63
|
-
/// @prop {
|
|
75
|
+
/// @prop {List} border-radius [(rem(16px), rem(0), rem(16px))] - The border radius used for watermark.
|
|
64
76
|
/// @requires {Map} $light-watermark
|
|
65
77
|
$indigo-watermark: extend(
|
|
66
78
|
$light-watermark,
|
|
@@ -72,6 +84,10 @@ $indigo-watermark: extend(
|
|
|
72
84
|
),
|
|
73
85
|
),
|
|
74
86
|
|
|
75
|
-
border-radius:
|
|
87
|
+
border-radius: (
|
|
88
|
+
rem(16px),
|
|
89
|
+
rem(0),
|
|
90
|
+
rem(16px),
|
|
91
|
+
),
|
|
76
92
|
)
|
|
77
93
|
);
|