igniteui-theming 1.4.5 → 1.4.6
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/schemas/components/dark/_action-strip.scss +50 -0
- package/sass/themes/schemas/components/dark/_badge.scss +39 -0
- package/sass/themes/schemas/components/dark/_banner.scss +54 -0
- package/sass/themes/schemas/components/dark/_bottom-nav.scss +61 -0
- package/sass/themes/schemas/components/dark/_button-group.scss +190 -0
- package/sass/themes/schemas/components/dark/_calendar.scss +338 -0
- package/sass/themes/schemas/components/dark/_card.scss +71 -0
- package/sass/themes/schemas/components/dark/_carousel.scss +127 -0
- package/sass/themes/schemas/components/dark/_checkbox.scss +1 -6
- package/sass/themes/schemas/components/dark/_chip.scss +111 -0
- package/sass/themes/schemas/components/dark/_column-actions.scss +28 -0
- package/sass/themes/schemas/components/dark/_date-range-picker.scss +28 -0
- package/sass/themes/schemas/components/dark/_dialog.scss +55 -0
- package/sass/themes/schemas/components/dark/_divider.scss +43 -0
- package/sass/themes/schemas/components/dark/_dock-manager.scss +349 -0
- package/sass/themes/schemas/components/dark/_expansion-panel.scss +87 -0
- package/sass/themes/schemas/components/dark/_grid-filtering.scss +28 -0
- package/sass/themes/schemas/components/dark/_grid-summary.scss +83 -0
- package/sass/themes/schemas/components/dark/_grid-toolbar.scss +36 -0
- package/sass/themes/schemas/components/dark/_grid.scss +684 -0
- package/sass/themes/schemas/components/dark/_highlight.scss +72 -0
- package/sass/themes/schemas/components/dark/_index.scss +214 -30
- package/sass/themes/schemas/components/dark/_list.scss +116 -0
- package/sass/themes/schemas/components/dark/_navdrawer.scss +142 -0
- package/sass/themes/schemas/components/dark/_overlay.scss +34 -0
- package/sass/themes/schemas/components/dark/_pagination.scss +44 -0
- package/sass/themes/schemas/components/dark/_pivot-data-selector.scss +27 -0
- package/sass/themes/schemas/components/dark/_progress.scss +107 -0
- package/sass/themes/schemas/components/dark/_query-builder.scss +35 -0
- package/sass/themes/schemas/components/dark/_radio.scss +1 -6
- package/sass/themes/schemas/components/dark/_ripple.scss +28 -0
- package/sass/themes/schemas/components/dark/_scrollbar.scss +69 -0
- package/sass/themes/schemas/components/dark/_snackbar.scss +55 -0
- package/sass/themes/schemas/components/dark/_splitter.scss +68 -0
- package/sass/themes/schemas/components/dark/_stepper.scss +186 -0
- package/sass/themes/schemas/components/dark/_switch.scss +0 -1
- package/sass/themes/schemas/components/dark/_time-picker.scss +54 -0
- package/sass/themes/schemas/components/dark/_toast.scss +67 -0
- package/sass/themes/schemas/components/dark/_tooltip.scss +44 -0
- package/sass/themes/schemas/components/dark/_watermark.scss +48 -0
- package/sass/themes/schemas/components/elevation/_badge.scss +17 -0
- package/sass/themes/schemas/components/elevation/_bottom-nav.scss +23 -0
- package/sass/themes/schemas/components/elevation/_button-group.scss +29 -0
- package/sass/themes/schemas/components/elevation/_card.scss +37 -0
- package/sass/themes/schemas/components/elevation/_carousel.scss +29 -0
- package/sass/themes/schemas/components/elevation/_chip.scss +29 -0
- package/sass/themes/schemas/components/elevation/_dialog.scss +17 -0
- package/sass/themes/schemas/components/elevation/_grid.scss +21 -0
- package/sass/themes/schemas/components/elevation/_navdrawer.scss +17 -0
- package/sass/themes/schemas/components/elevation/_snackbar.scss +17 -0
- package/sass/themes/schemas/components/elevation/_time-picker.scss +13 -0
- package/sass/themes/schemas/components/elevation/_toast.scss +17 -0
- package/sass/themes/schemas/components/light/_action-strip.scss +89 -0
- package/sass/themes/schemas/components/light/_avatar.scss +1 -1
- package/sass/themes/schemas/components/light/_badge.scss +82 -0
- package/sass/themes/schemas/components/light/_banner.scss +96 -0
- package/sass/themes/schemas/components/light/_bottom-nav.scss +61 -0
- package/sass/themes/schemas/components/light/_button-group.scss +426 -0
- package/sass/themes/schemas/components/light/_calendar.scss +908 -0
- package/sass/themes/schemas/components/light/_card.scss +207 -0
- package/sass/themes/schemas/components/light/_carousel.scss +195 -0
- package/sass/themes/schemas/components/light/_chip.scss +538 -0
- package/sass/themes/schemas/components/light/_column-actions.scss +42 -0
- package/sass/themes/schemas/components/light/_date-range-picker.scss +35 -0
- package/sass/themes/schemas/components/light/_dialog.scss +102 -0
- package/sass/themes/schemas/components/light/_divider.scss +33 -0
- package/sass/themes/schemas/components/light/_dock-manager.scss +548 -0
- package/sass/themes/schemas/components/light/_expansion-panel.scss +172 -0
- package/sass/themes/schemas/components/light/_grid-filtering.scss +105 -0
- package/sass/themes/schemas/components/light/_grid-summary.scss +138 -0
- package/sass/themes/schemas/components/light/_grid-toolbar.scss +117 -0
- package/sass/themes/schemas/components/light/_grid.scss +1330 -0
- package/sass/themes/schemas/components/light/_highlight.scss +86 -0
- package/sass/themes/schemas/components/light/_icon.scss +4 -14
- package/sass/themes/schemas/components/light/_index.scss +214 -30
- package/sass/themes/schemas/components/light/_list.scss +321 -0
- package/sass/themes/schemas/components/light/_navdrawer.scss +214 -0
- package/sass/themes/schemas/components/light/_overlay.scss +42 -0
- package/sass/themes/schemas/components/light/_pagination.scss +97 -0
- package/sass/themes/schemas/components/light/_pivot-data-selector.scss +38 -0
- package/sass/themes/schemas/components/light/_progress.scss +208 -0
- package/sass/themes/schemas/components/light/_query-builder.scss +138 -0
- package/sass/themes/schemas/components/light/_ripple.scss +36 -0
- package/sass/themes/schemas/components/light/_scrollbar.scss +79 -0
- package/sass/themes/schemas/components/light/_slider.scss +0 -4
- package/sass/themes/schemas/components/light/_snackbar.scss +131 -0
- package/sass/themes/schemas/components/light/_splitter.scss +99 -0
- package/sass/themes/schemas/components/light/_stepper.scss +695 -0
- package/sass/themes/schemas/components/light/_switch.scss +0 -5
- package/sass/themes/schemas/components/light/_time-picker.scss +210 -0
- package/sass/themes/schemas/components/light/_toast.scss +89 -0
- package/sass/themes/schemas/components/light/_tooltip.scss +96 -0
- package/sass/themes/schemas/components/light/_watermark.scss +77 -0
|
@@ -42,8 +42,6 @@
|
|
|
42
42
|
$light-switch: extend(
|
|
43
43
|
$default-elevation-switch,
|
|
44
44
|
(
|
|
45
|
-
variant: 'material',
|
|
46
|
-
type: 'light',
|
|
47
45
|
border-color: transparent,
|
|
48
46
|
border-hover-color: transparent,
|
|
49
47
|
border-disabled-color: transparent,
|
|
@@ -175,7 +173,6 @@ $light-switch: extend(
|
|
|
175
173
|
$fluent-switch: extend(
|
|
176
174
|
$light-switch,
|
|
177
175
|
(
|
|
178
|
-
variant: 'fluent',
|
|
179
176
|
focus-outline-color: (
|
|
180
177
|
color: (
|
|
181
178
|
'gray',
|
|
@@ -300,7 +297,6 @@ $fluent-switch: extend(
|
|
|
300
297
|
$bootstrap-switch: extend(
|
|
301
298
|
$fluent-switch,
|
|
302
299
|
(
|
|
303
|
-
variant: 'bootstrap',
|
|
304
300
|
focus-outline-color: (
|
|
305
301
|
color: (
|
|
306
302
|
'primary',
|
|
@@ -401,7 +397,6 @@ $bootstrap-switch: extend(
|
|
|
401
397
|
$indigo-switch: extend(
|
|
402
398
|
$light-switch,
|
|
403
399
|
(
|
|
404
|
-
variant: 'indigo-design',
|
|
405
400
|
focus-outline-color: (
|
|
406
401
|
color: (
|
|
407
402
|
'gray',
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../elevation/time-picker' as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @package theming
|
|
7
|
+
/// @group schemas
|
|
8
|
+
/// @access public
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a light time-picker schema.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @prop {Map} text-color [color: ('gray', 500)] - The text color of an open time picker.
|
|
14
|
+
/// @prop {Map} hover-text-color [color: ('secondary', 500)] - The hover text color of an open time picker.
|
|
15
|
+
/// @prop {Map} selected-text-color [color: ('secondary', 500)] - The text color of a selected item in time picker.
|
|
16
|
+
/// @prop {Map} active-item-background [color: ('gray', 100)] - The background color for current item in focused column inside the time picker.
|
|
17
|
+
/// @prop {Map} disabled-text-color [color: ('gray', 400)] - The text color for disabled values.
|
|
18
|
+
/// @prop {Color} disabled-item-background [transparent] - The background color for disabled values .
|
|
19
|
+
/// @prop {Map} header-background [color: ('secondary', 500)] - The header background color of a time picker.
|
|
20
|
+
/// @prop {Map} header-hour-text-color [contrast-color: ('secondary', 500)] - The header hour text color of a time picker.
|
|
21
|
+
/// @prop {Map} header-time-period-color [contrast-color: ('secondary', 500, .8)] - The header AM/PM text color of a time picker.
|
|
22
|
+
/// @prop {Map} background-color [color: 'surface'] - The time-picker panel background color.
|
|
23
|
+
/// @prop {Number} modal-elevation [24] - The elevation level, between 0-24, to be used for the time picker in modal mode.
|
|
24
|
+
/// @prop {Number} dropdown-elevation [8] - The elevation level, between 0-24, to be used for the time picker in dropdown mode.
|
|
25
|
+
/// @prop {Number} border-radius [4px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
|
|
26
|
+
/// @prop {Number} active-item-border-radius [15px] - 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.
|
|
27
|
+
/// @requires {Map} $default-elevation-time-picker
|
|
28
|
+
/// @see $default-palette
|
|
29
|
+
$light-time-picker: extend(
|
|
30
|
+
$default-elevation-time-picker,
|
|
31
|
+
(
|
|
32
|
+
text-color: (
|
|
33
|
+
color: (
|
|
34
|
+
'gray',
|
|
35
|
+
500,
|
|
36
|
+
),
|
|
37
|
+
),
|
|
38
|
+
|
|
39
|
+
hover-text-color: (
|
|
40
|
+
color: (
|
|
41
|
+
'secondary',
|
|
42
|
+
500,
|
|
43
|
+
),
|
|
44
|
+
),
|
|
45
|
+
|
|
46
|
+
selected-text-color: (
|
|
47
|
+
color: (
|
|
48
|
+
'secondary',
|
|
49
|
+
500,
|
|
50
|
+
),
|
|
51
|
+
),
|
|
52
|
+
|
|
53
|
+
active-item-background: (
|
|
54
|
+
color: (
|
|
55
|
+
'gray',
|
|
56
|
+
100,
|
|
57
|
+
),
|
|
58
|
+
),
|
|
59
|
+
|
|
60
|
+
disabled-text-color: (
|
|
61
|
+
color: (
|
|
62
|
+
'gray',
|
|
63
|
+
400,
|
|
64
|
+
),
|
|
65
|
+
),
|
|
66
|
+
|
|
67
|
+
disabled-item-background: transparent,
|
|
68
|
+
|
|
69
|
+
header-background: (
|
|
70
|
+
color: (
|
|
71
|
+
'secondary',
|
|
72
|
+
500,
|
|
73
|
+
),
|
|
74
|
+
),
|
|
75
|
+
|
|
76
|
+
header-hour-text-color: (
|
|
77
|
+
contrast-color: (
|
|
78
|
+
'secondary',
|
|
79
|
+
500,
|
|
80
|
+
),
|
|
81
|
+
),
|
|
82
|
+
|
|
83
|
+
header-time-period-color: (
|
|
84
|
+
contrast-color: (
|
|
85
|
+
'secondary',
|
|
86
|
+
500,
|
|
87
|
+
),
|
|
88
|
+
),
|
|
89
|
+
|
|
90
|
+
background-color: (
|
|
91
|
+
color: 'surface',
|
|
92
|
+
),
|
|
93
|
+
|
|
94
|
+
border-radius: rem(4px),
|
|
95
|
+
active-item-border-radius: rem(15px),
|
|
96
|
+
)
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
/// Generates a fluent time-picker schema.
|
|
100
|
+
/// @type {Map}
|
|
101
|
+
/// @prop {Number} border-radius [2px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
|
|
102
|
+
/// @prop {Number} active-item-border-radius [2px] - 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.
|
|
103
|
+
///
|
|
104
|
+
/// @requires $light-time-picker
|
|
105
|
+
$fluent-time-picker: extend(
|
|
106
|
+
$light-time-picker,
|
|
107
|
+
(
|
|
108
|
+
border-radius: rem(2px),
|
|
109
|
+
active-item-border-radius: rem(2px),
|
|
110
|
+
)
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
/// Generates a bootstrap time-picker schema.
|
|
114
|
+
/// @type {Map}
|
|
115
|
+
/// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
|
|
116
|
+
/// @prop {Map} hover-text-color [color: ('primary', 600)] - The hover text color of an open time picker.
|
|
117
|
+
/// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
|
|
118
|
+
/// @prop {Number} border-radius [4px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
|
|
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.
|
|
120
|
+
///
|
|
121
|
+
/// @requires $light-time-picker
|
|
122
|
+
$bootstrap-time-picker: extend(
|
|
123
|
+
$light-time-picker,
|
|
124
|
+
(
|
|
125
|
+
selected-text-color: (
|
|
126
|
+
color: (
|
|
127
|
+
'primary',
|
|
128
|
+
500,
|
|
129
|
+
),
|
|
130
|
+
),
|
|
131
|
+
|
|
132
|
+
hover-text-color: (
|
|
133
|
+
color: (
|
|
134
|
+
'primary',
|
|
135
|
+
600,
|
|
136
|
+
),
|
|
137
|
+
),
|
|
138
|
+
|
|
139
|
+
header-background: (
|
|
140
|
+
color: (
|
|
141
|
+
'primary',
|
|
142
|
+
500,
|
|
143
|
+
),
|
|
144
|
+
),
|
|
145
|
+
|
|
146
|
+
active-item-border-radius: rem(4px),
|
|
147
|
+
)
|
|
148
|
+
);
|
|
149
|
+
|
|
150
|
+
/// Generates an indigo time-picker schema.
|
|
151
|
+
/// @type {Map}
|
|
152
|
+
/// @prop {Map} text-color [color: ('gray', 700)] - The text color of an open time picker.
|
|
153
|
+
/// @prop {Map} selected-text-color [color: ('primary', 500)] - The text color of a selected item in time picker.
|
|
154
|
+
/// @prop {Map} hover-text-color [color: ('primary', 500)] - The hover text color of an open time picker.
|
|
155
|
+
/// @prop {Map} header-background [color: ('primary', 500)] - The header background color of a time picker.
|
|
156
|
+
/// @prop {Map} header-hour-text-color [contrast-color: ('primary', 500)] - The header hour text color of a time picker.
|
|
157
|
+
/// @prop {Map} header-time-period-color [contrast-color: ('primary', 500)] - The header AM/PM text color of a time picker.
|
|
158
|
+
/// @prop {Number} border-radius [3px] - The border radius used for the overall shape of the time-picker. Can be a fraction between 0 and 1, pixels, or percent.
|
|
159
|
+
/// @prop {Number} active-item-border-radius [20px] - 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.
|
|
160
|
+
///
|
|
161
|
+
/// @requires $light-time-picker
|
|
162
|
+
$indigo-time-picker: extend(
|
|
163
|
+
$light-time-picker,
|
|
164
|
+
(
|
|
165
|
+
text-color: (
|
|
166
|
+
color: (
|
|
167
|
+
'gray',
|
|
168
|
+
700,
|
|
169
|
+
),
|
|
170
|
+
),
|
|
171
|
+
|
|
172
|
+
hover-text-color: (
|
|
173
|
+
color: (
|
|
174
|
+
'primary',
|
|
175
|
+
500,
|
|
176
|
+
),
|
|
177
|
+
),
|
|
178
|
+
|
|
179
|
+
selected-text-color: (
|
|
180
|
+
color: (
|
|
181
|
+
'primary',
|
|
182
|
+
500,
|
|
183
|
+
),
|
|
184
|
+
),
|
|
185
|
+
|
|
186
|
+
header-background: (
|
|
187
|
+
color: (
|
|
188
|
+
'primary',
|
|
189
|
+
500,
|
|
190
|
+
),
|
|
191
|
+
),
|
|
192
|
+
|
|
193
|
+
header-hour-text-color: (
|
|
194
|
+
contrast-color: (
|
|
195
|
+
'primary',
|
|
196
|
+
500,
|
|
197
|
+
),
|
|
198
|
+
),
|
|
199
|
+
|
|
200
|
+
header-time-period-color: (
|
|
201
|
+
contrast-color: (
|
|
202
|
+
'primary',
|
|
203
|
+
500,
|
|
204
|
+
),
|
|
205
|
+
),
|
|
206
|
+
|
|
207
|
+
border-radius: rem(3px),
|
|
208
|
+
active-item-border-radius: rem(20px),
|
|
209
|
+
)
|
|
210
|
+
);
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
@use '../elevation/toast' as *;
|
|
4
|
+
|
|
5
|
+
////
|
|
6
|
+
/// @package theming
|
|
7
|
+
/// @group schemas
|
|
8
|
+
/// @access public
|
|
9
|
+
////
|
|
10
|
+
|
|
11
|
+
/// Generates a light toast schema.
|
|
12
|
+
/// @type {Map}
|
|
13
|
+
/// @prop {Map} background [color: ('gray', 700, .9)] - The background color used for the toast.
|
|
14
|
+
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text-color used for the toast.
|
|
15
|
+
/// @prop {Number} elevation [0] - The elevation level, between 0-24, to be used for the toast.
|
|
16
|
+
/// @prop {Number} border-radius [26px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
|
|
17
|
+
/// @requires {Map} $default-elevation-toast
|
|
18
|
+
$light-toast: extend(
|
|
19
|
+
$default-elevation-toast,
|
|
20
|
+
(
|
|
21
|
+
background: (
|
|
22
|
+
color: (
|
|
23
|
+
'gray',
|
|
24
|
+
700,
|
|
25
|
+
0.9,
|
|
26
|
+
),
|
|
27
|
+
),
|
|
28
|
+
|
|
29
|
+
text-color: (
|
|
30
|
+
contrast-color: (
|
|
31
|
+
'gray',
|
|
32
|
+
700,
|
|
33
|
+
),
|
|
34
|
+
),
|
|
35
|
+
|
|
36
|
+
border-radius: rem(26px),
|
|
37
|
+
)
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
/// Generates a fluent toast schema.
|
|
41
|
+
/// @type {Map}
|
|
42
|
+
/// @prop {Number} border-radius [2px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
|
|
43
|
+
/// @requires $light-toast
|
|
44
|
+
$fluent-toast: extend(
|
|
45
|
+
$light-toast,
|
|
46
|
+
(
|
|
47
|
+
border-radius: rem(2px),
|
|
48
|
+
)
|
|
49
|
+
);
|
|
50
|
+
|
|
51
|
+
/// Generates a bootstrap toast schema.
|
|
52
|
+
/// @type {Map}
|
|
53
|
+
/// @prop {Map} background [color: (color: ('surface')] - The background color used for the toast.
|
|
54
|
+
/// @prop {Map} text-color [color: ('gray', 600)] - The text-color used for the toast.
|
|
55
|
+
/// @prop {Number} elevation [10] - The elevation level, between 0-24, to be used for the toast.
|
|
56
|
+
/// @prop {Number} border-radius [4px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
|
|
57
|
+
/// @requires {Map} $light-toast
|
|
58
|
+
/// @requires {Map} $bootstrap-elevation-toast
|
|
59
|
+
$bootstrap-toast: extend(
|
|
60
|
+
$light-toast,
|
|
61
|
+
$bootstrap-elevation-toast,
|
|
62
|
+
(
|
|
63
|
+
background: (
|
|
64
|
+
color: (
|
|
65
|
+
'surface',
|
|
66
|
+
),
|
|
67
|
+
),
|
|
68
|
+
|
|
69
|
+
text-color: (
|
|
70
|
+
color: (
|
|
71
|
+
'gray',
|
|
72
|
+
600,
|
|
73
|
+
),
|
|
74
|
+
),
|
|
75
|
+
|
|
76
|
+
border-radius: rem(4px),
|
|
77
|
+
)
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
/// Generates an indigo toast schema.
|
|
81
|
+
/// @type {Map}
|
|
82
|
+
/// @prop {Number} border-radius [24px] - The border radius used for toast. Can be a fraction between 0 and 1, pixels, or percent.
|
|
83
|
+
/// @requires {Map} $light-toast
|
|
84
|
+
$indigo-toast: extend(
|
|
85
|
+
$light-toast,
|
|
86
|
+
(
|
|
87
|
+
border-radius: rem(24px),
|
|
88
|
+
)
|
|
89
|
+
);
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/// Generates a light tooltip schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Map} background [color: ('gray', 700, .9),] - The background color of the tooltip.
|
|
13
|
+
/// @prop {Map} text-color [contrast-color: ('gray', 700)] - The text color of the tooltip.
|
|
14
|
+
/// @prop {Number} border-radius [4px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
|
|
15
|
+
$light-tooltip: (
|
|
16
|
+
background: (
|
|
17
|
+
color: (
|
|
18
|
+
'gray',
|
|
19
|
+
700,
|
|
20
|
+
0.9,
|
|
21
|
+
),
|
|
22
|
+
),
|
|
23
|
+
|
|
24
|
+
text-color: (
|
|
25
|
+
contrast-color: (
|
|
26
|
+
'gray',
|
|
27
|
+
700,
|
|
28
|
+
),
|
|
29
|
+
),
|
|
30
|
+
|
|
31
|
+
border-radius: rem(4px),
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/// Generates a light fluent tooltip schema.
|
|
35
|
+
/// @type {Map}
|
|
36
|
+
/// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
|
|
37
|
+
/// @prop {Map} text-color [contrast-color: ('gray', 900)] - The text color of the tooltip.
|
|
38
|
+
/// @prop {Number} border-radius [2px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
|
|
39
|
+
/// @requires {Map} $light-tooltip
|
|
40
|
+
$fluent-tooltip: extend(
|
|
41
|
+
$light-tooltip,
|
|
42
|
+
(
|
|
43
|
+
background: (
|
|
44
|
+
color: (
|
|
45
|
+
'gray',
|
|
46
|
+
900,
|
|
47
|
+
0.8,
|
|
48
|
+
),
|
|
49
|
+
),
|
|
50
|
+
|
|
51
|
+
text-color: (
|
|
52
|
+
contrast-color: (
|
|
53
|
+
'gray',
|
|
54
|
+
900,
|
|
55
|
+
),
|
|
56
|
+
),
|
|
57
|
+
|
|
58
|
+
border-radius: rem(2px),
|
|
59
|
+
)
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
/// Generates a bootstrap tooltip schema.
|
|
63
|
+
/// @type {Map}
|
|
64
|
+
/// @prop {Map} background [color: ('gray', 900, .8)] - The background color of the tooltip.
|
|
65
|
+
/// @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
|
+
/// @requires $light-tooltip
|
|
68
|
+
$bootstrap-tooltip: extend(
|
|
69
|
+
$light-tooltip,
|
|
70
|
+
(
|
|
71
|
+
background: (
|
|
72
|
+
color: (
|
|
73
|
+
'gray',
|
|
74
|
+
900,
|
|
75
|
+
0.8,
|
|
76
|
+
),
|
|
77
|
+
),
|
|
78
|
+
text-color: (
|
|
79
|
+
contrast-color: (
|
|
80
|
+
'gray',
|
|
81
|
+
900,
|
|
82
|
+
),
|
|
83
|
+
),
|
|
84
|
+
)
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
/// Generates an indigo tooltip schema.
|
|
88
|
+
/// @type {Map}
|
|
89
|
+
/// @prop {Number} border-radius [3px] - The border radius used for tooltip. Can be a fraction between 0 and 1, pixels, or percent.
|
|
90
|
+
/// @requires {Map} $light-tooltip
|
|
91
|
+
$indigo-tooltip: extend(
|
|
92
|
+
$light-tooltip,
|
|
93
|
+
(
|
|
94
|
+
border-radius: rem(3px),
|
|
95
|
+
)
|
|
96
|
+
);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
@use '../../../../utils/map' as *;
|
|
2
|
+
@use '../../../../typography/functions' as *;
|
|
3
|
+
|
|
4
|
+
////
|
|
5
|
+
/// @package theming
|
|
6
|
+
/// @group schemas
|
|
7
|
+
/// @access public
|
|
8
|
+
////
|
|
9
|
+
|
|
10
|
+
/// Generates a light watermark schema.
|
|
11
|
+
/// @type {Map}
|
|
12
|
+
/// @prop {Color} base-color [null] - The base color for all elements of the watermark.
|
|
13
|
+
/// @prop {Color} image-color [null] - The color used for the stamp image.
|
|
14
|
+
/// @prop {Number} image-opacity [null] - The opacity of the stamp image.
|
|
15
|
+
/// @prop {Map} link-background [color: ('primary')] - The background color used for the link.
|
|
16
|
+
/// @prop {Map} color [contrast-color: ('primary', 800)] - The color used for the link text.
|
|
17
|
+
/// @prop {Map} border-color [color: ('primary')] - The border color used for the link.
|
|
18
|
+
/// @prop {Number} border-radius [0] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
|
|
19
|
+
$light-watermark: extend(
|
|
20
|
+
(
|
|
21
|
+
base-color: (
|
|
22
|
+
color: (
|
|
23
|
+
'primary',
|
|
24
|
+
),
|
|
25
|
+
),
|
|
26
|
+
|
|
27
|
+
color: (
|
|
28
|
+
contrast-color: (
|
|
29
|
+
'primary',
|
|
30
|
+
800,
|
|
31
|
+
),
|
|
32
|
+
),
|
|
33
|
+
|
|
34
|
+
border-radius: rem(0),
|
|
35
|
+
)
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
/// Generates a light fluent watermark schema.
|
|
39
|
+
/// @type {Map}
|
|
40
|
+
/// @prop {Number} border-radius [2px] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
|
|
41
|
+
/// @requires {Map} $light-watermark
|
|
42
|
+
$fluent-watermark: extend(
|
|
43
|
+
$light-watermark,
|
|
44
|
+
(
|
|
45
|
+
border-radius: rem(2px),
|
|
46
|
+
)
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
/// Generates a bootstrap watermark schema.
|
|
50
|
+
/// @type {Map}
|
|
51
|
+
/// @prop {Number} border-radius [4px] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
|
|
52
|
+
/// @requires {Map} $light-watermark
|
|
53
|
+
$bootstrap-watermark: extend(
|
|
54
|
+
$light-watermark,
|
|
55
|
+
(
|
|
56
|
+
border-radius: rem(4px),
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
/// Generates an indigo watermark schema.
|
|
61
|
+
/// @type {Map}
|
|
62
|
+
/// @prop {Map} border-color [color: ('primary', 300)] - The border color for the link.
|
|
63
|
+
/// @prop {Number} border-radius [16px] - The border radius used for watermark. Can be a fraction between 0 and 1, pixels, or percent.
|
|
64
|
+
/// @requires {Map} $light-watermark
|
|
65
|
+
$indigo-watermark: extend(
|
|
66
|
+
$light-watermark,
|
|
67
|
+
(
|
|
68
|
+
border-color: (
|
|
69
|
+
color: (
|
|
70
|
+
'primary',
|
|
71
|
+
300,
|
|
72
|
+
),
|
|
73
|
+
),
|
|
74
|
+
|
|
75
|
+
border-radius: rem(16px),
|
|
76
|
+
)
|
|
77
|
+
);
|