@vaadin/vaadin-lumo-styles 25.0.0-alpha6 → 25.0.0-alpha8
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/auto-complete.css +0 -71
- package/components/accordion-heading.css +14 -0
- package/components/accordion-panel.css +15 -0
- package/components/accordion.css +7 -0
- package/components/app-layout.css +11 -0
- package/components/avatar-group.css +31 -0
- package/components/avatar.css +17 -0
- package/components/button.css +12 -0
- package/components/card.css +50 -0
- package/components/charts.css +11 -0
- package/components/checkbox-group.css +23 -0
- package/components/checkbox.css +14 -0
- package/components/combo-box.css +47 -0
- package/components/confirm-dialog.css +17 -0
- package/components/context-menu.css +32 -0
- package/components/crud.css +40 -0
- package/components/custom-field.css +20 -0
- package/components/dashboard.css +34 -0
- package/components/date-picker.css +49 -0
- package/components/date-time-picker.css +28 -0
- package/components/details-summary.css +11 -0
- package/components/details.css +12 -0
- package/components/dialog.css +16 -0
- package/components/drawer-toggle.css +14 -0
- package/components/email-field.css +25 -0
- package/components/field-highlighter.css +22 -0
- package/components/form-item.css +11 -0
- package/components/form-layout.css +11 -0
- package/components/grid-filter-column.css +6 -0
- package/components/grid-filter.css +12 -0
- package/components/grid-pro-edit-column.css +48 -0
- package/components/grid-pro.css +14 -0
- package/components/grid-selection-column.css +6 -0
- package/components/grid-sort-column.css +6 -0
- package/components/grid-sorter.css +19 -0
- package/components/grid-tree-column.css +6 -0
- package/components/grid-tree-toggle.css +11 -0
- package/components/grid.css +11 -0
- package/components/horizontal-layout.css +11 -0
- package/components/icon.css +11 -0
- package/components/input-container.css +11 -0
- package/components/integer-field.css +25 -0
- package/components/item.css +11 -0
- package/components/list-box.css +11 -0
- package/components/login-form.css +14 -0
- package/components/login.css +15 -0
- package/components/map.css +11 -0
- package/components/master-detail-layout.css +11 -0
- package/components/menu-bar.css +47 -0
- package/components/message-input.css +13 -0
- package/components/message-list.css +6 -0
- package/components/message.css +12 -0
- package/components/multi-select-combo-box.css +61 -0
- package/components/notification.css +15 -0
- package/components/number-field.css +25 -0
- package/components/overlay.css +11 -0
- package/components/password-field.css +32 -0
- package/components/popover.css +14 -0
- package/components/progress-bar.css +11 -0
- package/components/radio-button.css +14 -0
- package/components/radio-group.css +23 -0
- package/components/rich-text-editor.css +26 -0
- package/components/scroller.css +11 -0
- package/components/select.css +48 -0
- package/components/side-nav-item.css +14 -0
- package/components/side-nav.css +12 -0
- package/components/split-layout.css +11 -0
- package/components/tab.css +11 -0
- package/components/tabs.css +12 -0
- package/components/tabsheet.css +19 -0
- package/components/text-area.css +25 -0
- package/components/text-field.css +23 -0
- package/components/time-picker.css +43 -0
- package/components/tooltip.css +14 -0
- package/components/upload.css +28 -0
- package/components/vertical-layout.css +11 -0
- package/components.css +71 -0
- package/global.css +8 -0
- package/lumo.css +8 -0
- package/package.json +8 -6
- package/props.css +12 -0
- package/src/components/accordion-heading.css +42 -0
- package/src/components/accordion-panel.css +38 -0
- package/src/components/app-layout.css +193 -0
- package/src/components/avatar-group-menu-item.css +22 -0
- package/src/components/avatar-group-overlay.css +15 -0
- package/src/components/avatar-group.css +67 -0
- package/src/components/avatar.css +86 -0
- package/src/components/button.css +334 -0
- package/src/components/card.css +38 -0
- package/src/components/chart.css +88 -0
- package/src/components/checkbox-group.css +18 -0
- package/src/components/checkbox.css +341 -0
- package/src/components/combo-box-item.css +18 -0
- package/src/components/combo-box-overlay.css +15 -0
- package/src/components/combo-box.css +14 -0
- package/src/components/confirm-dialog-overlay.css +59 -0
- package/src/components/context-menu-item.css +39 -0
- package/src/components/context-menu-list-box.css +40 -0
- package/src/components/context-menu-overlay.css +41 -0
- package/src/components/crud-dialog-overlay.css +57 -0
- package/src/components/crud-edit.css +30 -0
- package/src/components/crud.css +157 -0
- package/src/components/custom-field.css +102 -0
- package/src/components/dashboard-layout.css +94 -0
- package/src/components/dashboard-section.css +113 -0
- package/src/components/dashboard-widget.css +224 -0
- package/src/components/dashboard.css +23 -0
- package/src/components/date-picker-month-calendar.css +192 -0
- package/src/components/date-picker-overlay-content.css +161 -0
- package/src/components/date-picker-overlay.css +60 -0
- package/src/components/date-picker-year.css +35 -0
- package/src/components/date-picker.css +41 -0
- package/src/components/date-time-picker.css +36 -0
- package/src/components/details-summary.css +131 -0
- package/src/components/details.css +37 -0
- package/src/components/dialog-overlay.css +173 -0
- package/src/components/drawer-toggle.css +51 -0
- package/src/components/email-field.css +26 -0
- package/src/components/field-outline.css +51 -0
- package/src/components/form-item.css +36 -0
- package/src/components/form-layout.css +11 -0
- package/src/components/grid-filter.css +16 -0
- package/src/components/grid-pro-edit-select.css +19 -0
- package/src/components/grid-pro.css +84 -0
- package/src/components/grid-sorter.css +70 -0
- package/src/components/grid-tree-toggle.css +104 -0
- package/src/components/grid.css +755 -0
- package/src/components/horizontal-layout.css +38 -0
- package/src/components/icon.css +11 -0
- package/src/components/input-container.css +230 -0
- package/src/components/item.css +94 -0
- package/src/components/list-box.css +31 -0
- package/src/components/login-form-wrapper.css +134 -0
- package/src/components/login-overlay-wrapper.css +179 -0
- package/src/components/map.css +182 -0
- package/src/components/master-detail-layout.css +21 -0
- package/src/components/menu-bar-button.css +128 -0
- package/src/components/menu-bar-item.css +23 -0
- package/src/components/menu-bar-overlay.css +10 -0
- package/src/components/menu-bar.css +31 -0
- package/src/components/message-input.css +30 -0
- package/src/components/message.css +82 -0
- package/src/components/multi-select-combo-box-chip.css +113 -0
- package/src/components/multi-select-combo-box-container.css +20 -0
- package/src/components/multi-select-combo-box-item.css +13 -0
- package/src/components/multi-select-combo-box-overlay.css +18 -0
- package/src/components/multi-select-combo-box.css +98 -0
- package/src/components/notification-card.css +228 -0
- package/src/components/notification-container.css +53 -0
- package/src/components/number-field.css +53 -0
- package/src/components/password-field-button.css +19 -0
- package/src/components/password-field.css +24 -0
- package/src/components/popover-overlay.css +156 -0
- package/src/components/progress-bar.css +295 -0
- package/src/components/radio-button.css +156 -0
- package/src/components/radio-group.css +18 -0
- package/src/components/rich-text-editor-popup-overlay.css +27 -0
- package/src/components/rich-text-editor.css +485 -0
- package/src/components/scroller.css +40 -0
- package/src/components/select-overlay.css +54 -0
- package/src/components/select-value-button.css +57 -0
- package/src/components/select.css +60 -0
- package/src/components/side-nav-item.css +170 -0
- package/src/components/side-nav.css +102 -0
- package/src/components/split-layout.css +131 -0
- package/src/components/tab.css +246 -0
- package/src/components/tabs.css +285 -0
- package/src/components/tabsheet.css +59 -0
- package/src/components/text-area.css +116 -0
- package/src/components/time-picker-overlay.css +15 -0
- package/src/components/time-picker.css +36 -0
- package/src/components/tooltip-overlay.css +50 -0
- package/src/components/upload-file-list.css +24 -0
- package/src/components/upload-file.css +133 -0
- package/src/components/upload-icon.css +14 -0
- package/src/components/upload.css +56 -0
- package/src/components/user-tag.css +48 -0
- package/src/components/user-tags-overlay.css +67 -0
- package/src/components/vertical-layout.css +38 -0
- package/src/global/badge.css +167 -0
- package/src/global/color-scheme.css +99 -0
- package/src/global/typography.css +113 -0
- package/src/mixins/checkable-field.css +67 -0
- package/src/mixins/combo-box-loader.css +14 -0
- package/src/mixins/combo-box-overlay.css +30 -0
- package/src/mixins/dashboard-item.css +253 -0
- package/src/mixins/field-base.css +187 -0
- package/src/mixins/field-button.css +46 -0
- package/src/mixins/field-error-message.css +36 -0
- package/src/mixins/field-helper.css +62 -0
- package/src/mixins/field-label.css +62 -0
- package/src/mixins/field-required.css +26 -0
- package/src/mixins/grid-pro-editor.css +35 -0
- package/src/mixins/group-field.css +58 -0
- package/src/mixins/loader.css +48 -0
- package/src/mixins/menu-overlay-core.css +36 -0
- package/src/mixins/menu-overlay-ext.css +63 -0
- package/src/mixins/overlay.css +121 -0
- package/src/mixins/resizable-overlay.css +99 -0
- package/src/props/color.css +98 -0
- package/src/props/icons.css +61 -0
- package/src/props/reset.css +11 -0
- package/src/props/sizing.css +19 -0
- package/src/props/spacing.css +27 -0
- package/src/props/style.css +21 -0
- package/src/props/typography.css +24 -0
- package/src/utilities/accessibility.css +17 -0
- package/src/utilities/background.css +189 -0
- package/src/utilities/border.css +173 -0
- package/src/utilities/filter.css +37 -0
- package/src/utilities/flexbox-grid.css +781 -0
- package/src/utilities/layout.css +629 -0
- package/src/utilities/shadows.css +29 -0
- package/src/utilities/sizing.css +142 -0
- package/src/utilities/spacing.css +682 -0
- package/src/utilities/transition.css +46 -0
- package/src/utilities/typography.css +424 -0
- package/style.d.ts +0 -2
- package/style.js +1 -89
- package/utility.css +17 -0
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
/* === Font size === */
|
|
7
|
+
.text-2xs {
|
|
8
|
+
font-size: var(--lumo-font-size-xxs);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.text-xs {
|
|
12
|
+
font-size: var(--lumo-font-size-xs);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.text-s {
|
|
16
|
+
font-size: var(--lumo-font-size-s);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.text-m {
|
|
20
|
+
font-size: var(--lumo-font-size-m);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.text-l {
|
|
24
|
+
font-size: var(--lumo-font-size-l);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.text-xl {
|
|
28
|
+
font-size: var(--lumo-font-size-xl);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.text-2xl {
|
|
32
|
+
font-size: var(--lumo-font-size-xxl);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.text-3xl {
|
|
36
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* === Font weight === */
|
|
40
|
+
.font-thin {
|
|
41
|
+
font-weight: 100;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.font-extralight {
|
|
45
|
+
font-weight: 200;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.font-light {
|
|
49
|
+
font-weight: 300;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.font-normal {
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.font-medium {
|
|
57
|
+
font-weight: 500;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.font-semibold {
|
|
61
|
+
font-weight: 600;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.font-bold {
|
|
65
|
+
font-weight: 700;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.font-extrabold {
|
|
69
|
+
font-weight: 800;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.font-black {
|
|
73
|
+
font-weight: 900;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* === Line clamp === */
|
|
77
|
+
[class*='line-clamp-'] {
|
|
78
|
+
display: -webkit-box;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
-webkit-box-orient: vertical;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.line-clamp-1 {
|
|
84
|
+
-webkit-line-clamp: 1;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.line-clamp-2 {
|
|
88
|
+
-webkit-line-clamp: 2;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.line-clamp-3 {
|
|
92
|
+
-webkit-line-clamp: 3;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.line-clamp-4 {
|
|
96
|
+
-webkit-line-clamp: 4;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.line-clamp-5 {
|
|
100
|
+
-webkit-line-clamp: 5;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.line-clamp-6 {
|
|
104
|
+
-webkit-line-clamp: 6;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* === Line height === */
|
|
108
|
+
.leading-none {
|
|
109
|
+
line-height: 1;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.leading-xs {
|
|
113
|
+
line-height: var(--lumo-line-height-xs);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.leading-s {
|
|
117
|
+
line-height: var(--lumo-line-height-s);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.leading-m {
|
|
121
|
+
line-height: var(--lumo-line-height-m);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* === List style type === */
|
|
125
|
+
.list-none {
|
|
126
|
+
list-style-type: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/* === Text alignment === */
|
|
130
|
+
.text-left {
|
|
131
|
+
text-align: left;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.text-center {
|
|
135
|
+
text-align: center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.text-right {
|
|
139
|
+
text-align: right;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.text-justify {
|
|
143
|
+
text-align: justify;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* === Text color === */
|
|
147
|
+
.text-header {
|
|
148
|
+
color: var(--lumo-header-text-color);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.text-body {
|
|
152
|
+
color: var(--lumo-body-text-color);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.text-secondary {
|
|
156
|
+
color: var(--lumo-secondary-text-color);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.text-tertiary {
|
|
160
|
+
color: var(--lumo-tertiary-text-color);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.text-disabled {
|
|
164
|
+
color: var(--lumo-disabled-text-color);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.text-primary {
|
|
168
|
+
color: var(--lumo-primary-text-color);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.text-primary-contrast {
|
|
172
|
+
color: var(--lumo-primary-contrast-color);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.text-error {
|
|
176
|
+
color: var(--lumo-error-text-color);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.text-error-contrast {
|
|
180
|
+
color: var(--lumo-error-contrast-color);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.text-success {
|
|
184
|
+
color: var(--lumo-success-text-color);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.text-success-contrast {
|
|
188
|
+
color: var(--lumo-success-contrast-color);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.text-warning {
|
|
192
|
+
color: var(--lumo-warning-text-color);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.text-warning-contrast {
|
|
196
|
+
color: var(--lumo-warning-contrast-color);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* == Text decoration === */
|
|
200
|
+
.line-through {
|
|
201
|
+
text-decoration-line: line-through;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.no-underline {
|
|
205
|
+
text-decoration-line: none;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.underline {
|
|
209
|
+
text-decoration-line: underline;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* === Text overflow === */
|
|
213
|
+
.overflow-clip {
|
|
214
|
+
text-overflow: clip;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.overflow-ellipsis {
|
|
218
|
+
text-overflow: ellipsis;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
/* === Text transform === */
|
|
222
|
+
.capitalize {
|
|
223
|
+
text-transform: capitalize;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.lowercase {
|
|
227
|
+
text-transform: lowercase;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.uppercase {
|
|
231
|
+
text-transform: uppercase;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* === Whitespace === */
|
|
235
|
+
.whitespace-normal {
|
|
236
|
+
white-space: normal;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.whitespace-break-spaces {
|
|
240
|
+
white-space: normal;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.whitespace-nowrap {
|
|
244
|
+
white-space: nowrap;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.whitespace-pre {
|
|
248
|
+
white-space: pre;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.whitespace-pre-line {
|
|
252
|
+
white-space: pre-line;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.whitespace-pre-wrap {
|
|
256
|
+
white-space: pre-wrap;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* === Responsive design === */
|
|
260
|
+
@media (min-width: 640px) {
|
|
261
|
+
.sm\:text-2xs {
|
|
262
|
+
font-size: var(--lumo-font-size-xxs);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.sm\:text-xs {
|
|
266
|
+
font-size: var(--lumo-font-size-xs);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.sm\:text-s {
|
|
270
|
+
font-size: var(--lumo-font-size-s);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.sm\:text-m {
|
|
274
|
+
font-size: var(--lumo-font-size-m);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.sm\:text-l {
|
|
278
|
+
font-size: var(--lumo-font-size-l);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.sm\:text-xl {
|
|
282
|
+
font-size: var(--lumo-font-size-xl);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.sm\:text-2xl {
|
|
286
|
+
font-size: var(--lumo-font-size-xxl);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.sm\:text-3xl {
|
|
290
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
@media (min-width: 768px) {
|
|
294
|
+
.md\:text-2xs {
|
|
295
|
+
font-size: var(--lumo-font-size-xxs);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.md\:text-xs {
|
|
299
|
+
font-size: var(--lumo-font-size-xs);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.md\:text-s {
|
|
303
|
+
font-size: var(--lumo-font-size-s);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.md\:text-m {
|
|
307
|
+
font-size: var(--lumo-font-size-m);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.md\:text-l {
|
|
311
|
+
font-size: var(--lumo-font-size-l);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.md\:text-xl {
|
|
315
|
+
font-size: var(--lumo-font-size-xl);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.md\:text-2xl {
|
|
319
|
+
font-size: var(--lumo-font-size-xxl);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.md\:text-3xl {
|
|
323
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
@media (min-width: 1024px) {
|
|
327
|
+
.lg\:text-2xs {
|
|
328
|
+
font-size: var(--lumo-font-size-xxs);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.lg\:text-xs {
|
|
332
|
+
font-size: var(--lumo-font-size-xs);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.lg\:text-s {
|
|
336
|
+
font-size: var(--lumo-font-size-s);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.lg\:text-m {
|
|
340
|
+
font-size: var(--lumo-font-size-m);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.lg\:text-l {
|
|
344
|
+
font-size: var(--lumo-font-size-l);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.lg\:text-xl {
|
|
348
|
+
font-size: var(--lumo-font-size-xl);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.lg\:text-2xl {
|
|
352
|
+
font-size: var(--lumo-font-size-xxl);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.lg\:text-3xl {
|
|
356
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
@media (min-width: 1280px) {
|
|
360
|
+
.xl\:text-2xs {
|
|
361
|
+
font-size: var(--lumo-font-size-xxs);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.xl\:text-xs {
|
|
365
|
+
font-size: var(--lumo-font-size-xs);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.xl\:text-s {
|
|
369
|
+
font-size: var(--lumo-font-size-s);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.xl\:text-m {
|
|
373
|
+
font-size: var(--lumo-font-size-m);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.xl\:text-l {
|
|
377
|
+
font-size: var(--lumo-font-size-l);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.xl\:text-xl {
|
|
381
|
+
font-size: var(--lumo-font-size-xl);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.xl\:text-2xl {
|
|
385
|
+
font-size: var(--lumo-font-size-xxl);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.xl\:text-3xl {
|
|
389
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
@media (min-width: 1536px) {
|
|
393
|
+
.\32xl\:text-2xs {
|
|
394
|
+
font-size: var(--lumo-font-size-xxs);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.\32xl\:text-xs {
|
|
398
|
+
font-size: var(--lumo-font-size-xs);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
.\32xl\:text-s {
|
|
402
|
+
font-size: var(--lumo-font-size-s);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.\32xl\:text-m {
|
|
406
|
+
font-size: var(--lumo-font-size-m);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.\32xl\:text-l {
|
|
410
|
+
font-size: var(--lumo-font-size-l);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.\32xl\:text-xl {
|
|
414
|
+
font-size: var(--lumo-font-size-xl);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.\32xl\:text-2xl {
|
|
418
|
+
font-size: var(--lumo-font-size-xxl);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.\32xl\:text-3xl {
|
|
422
|
+
font-size: var(--lumo-font-size-xxxl);
|
|
423
|
+
}
|
|
424
|
+
}
|
package/style.d.ts
CHANGED
package/style.js
CHANGED
|
@@ -26,94 +26,6 @@ const style = css`
|
|
|
26
26
|
}
|
|
27
27
|
`;
|
|
28
28
|
|
|
29
|
-
/**
|
|
30
|
-
* Default values for component-specific custom properties.
|
|
31
|
-
*/
|
|
32
|
-
const globals = css`
|
|
33
|
-
html {
|
|
34
|
-
/* Button */
|
|
35
|
-
--vaadin-button-background: var(--lumo-contrast-5pct);
|
|
36
|
-
--vaadin-button-border: none;
|
|
37
|
-
--vaadin-button-border-radius: var(--lumo-border-radius-m);
|
|
38
|
-
--vaadin-button-font-size: var(--lumo-font-size-m);
|
|
39
|
-
--vaadin-button-font-weight: 500;
|
|
40
|
-
--vaadin-button-height: var(--lumo-size-m);
|
|
41
|
-
--vaadin-button-margin: var(--lumo-space-xs) 0;
|
|
42
|
-
--vaadin-button-min-width: calc(var(--vaadin-button-height) * 2);
|
|
43
|
-
--vaadin-button-padding: 0 calc(var(--vaadin-button-height) / 3 + var(--lumo-border-radius-m) / 2);
|
|
44
|
-
--vaadin-button-text-color: var(--lumo-primary-text-color);
|
|
45
|
-
--vaadin-button-primary-background: var(--lumo-primary-color);
|
|
46
|
-
--vaadin-button-primary-border: none;
|
|
47
|
-
--vaadin-button-primary-font-weight: 600;
|
|
48
|
-
--vaadin-button-primary-text-color: var(--lumo-primary-contrast-color);
|
|
49
|
-
--vaadin-button-tertiary-background: transparent !important;
|
|
50
|
-
--vaadin-button-tertiary-text-color: var(--lumo-primary-text-color);
|
|
51
|
-
--vaadin-button-tertiary-font-weight: 500;
|
|
52
|
-
--vaadin-button-tertiary-padding: 0 calc(var(--vaadin-button-height) / 6);
|
|
53
|
-
/* Checkbox */
|
|
54
|
-
--vaadin-checkbox-background: var(--lumo-contrast-20pct);
|
|
55
|
-
--vaadin-checkbox-background-hover: var(--lumo-contrast-30pct);
|
|
56
|
-
--vaadin-checkbox-border-radius: var(--lumo-border-radius-s);
|
|
57
|
-
--vaadin-checkbox-checkmark-char: var(--lumo-icons-checkmark);
|
|
58
|
-
--vaadin-checkbox-checkmark-char-indeterminate: '';
|
|
59
|
-
--vaadin-checkbox-checkmark-color: var(--lumo-primary-contrast-color);
|
|
60
|
-
--vaadin-checkbox-checkmark-size: calc(var(--vaadin-checkbox-size) + 2px);
|
|
61
|
-
--vaadin-checkbox-label-color: var(--lumo-body-text-color);
|
|
62
|
-
--vaadin-checkbox-label-font-size: var(--lumo-font-size-m);
|
|
63
|
-
--vaadin-checkbox-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs) var(--lumo-space-xs);
|
|
64
|
-
--vaadin-checkbox-size: calc(var(--lumo-size-m) / 2);
|
|
65
|
-
--vaadin-checkbox-disabled-checkmark-color: var(--lumo-contrast-30pct);
|
|
66
|
-
--vaadin-checkbox-disabled-background: var(--lumo-contrast-10pct);
|
|
67
|
-
/* Radio button */
|
|
68
|
-
--vaadin-radio-button-background: var(--lumo-contrast-20pct);
|
|
69
|
-
--vaadin-radio-button-background-hover: var(--lumo-contrast-30pct);
|
|
70
|
-
--vaadin-radio-button-dot-color: var(--lumo-primary-contrast-color);
|
|
71
|
-
--vaadin-radio-button-dot-size: 3px;
|
|
72
|
-
--vaadin-radio-button-label-color: var(--lumo-body-text-color);
|
|
73
|
-
--vaadin-radio-button-label-font-size: var(--lumo-font-size-m);
|
|
74
|
-
--vaadin-radio-button-label-padding: var(--lumo-space-xs) var(--lumo-space-s) var(--lumo-space-xs)
|
|
75
|
-
var(--lumo-space-xs);
|
|
76
|
-
--vaadin-radio-button-size: calc(var(--lumo-size-m) / 2);
|
|
77
|
-
--vaadin-radio-button-disabled-background: var(--lumo-contrast-10pct);
|
|
78
|
-
--vaadin-radio-button-disabled-dot-color: var(--lumo-contrast-30pct);
|
|
79
|
-
--vaadin-selection-color: var(--lumo-primary-color);
|
|
80
|
-
--vaadin-selection-color-text: var(--lumo-primary-text-color);
|
|
81
|
-
--vaadin-input-field-border-radius: var(--lumo-border-radius-m);
|
|
82
|
-
--vaadin-focus-ring-color: var(--lumo-primary-color-50pct);
|
|
83
|
-
--vaadin-focus-ring-width: 2px;
|
|
84
|
-
/* Label */
|
|
85
|
-
--vaadin-input-field-label-color: var(--lumo-secondary-text-color);
|
|
86
|
-
--vaadin-input-field-focused-label-color: var(--lumo-primary-text-color);
|
|
87
|
-
--vaadin-input-field-hovered-label-color: var(--lumo-body-text-color);
|
|
88
|
-
--vaadin-input-field-label-font-size: var(--lumo-font-size-s);
|
|
89
|
-
--vaadin-input-field-label-font-weight: 500;
|
|
90
|
-
/* Helper */
|
|
91
|
-
--vaadin-input-field-helper-color: var(--lumo-secondary-text-color);
|
|
92
|
-
--vaadin-input-field-helper-font-size: var(--lumo-font-size-xs);
|
|
93
|
-
--vaadin-input-field-helper-font-weight: 400;
|
|
94
|
-
--vaadin-input-field-helper-spacing: 0.4em;
|
|
95
|
-
/* Error message */
|
|
96
|
-
--vaadin-input-field-error-color: var(--lumo-error-text-color);
|
|
97
|
-
--vaadin-input-field-error-font-size: var(--lumo-font-size-xs);
|
|
98
|
-
--vaadin-input-field-error-font-weight: 400;
|
|
99
|
-
/* Input field */
|
|
100
|
-
--vaadin-input-field-background: var(--lumo-contrast-10pct);
|
|
101
|
-
--vaadin-input-field-icon-color: var(--lumo-contrast-60pct);
|
|
102
|
-
--vaadin-input-field-icon-size: var(--lumo-icon-size-m);
|
|
103
|
-
--vaadin-input-field-invalid-background: var(--lumo-error-color-10pct);
|
|
104
|
-
--vaadin-input-field-invalid-hover-highlight: var(--lumo-error-color-50pct);
|
|
105
|
-
--vaadin-input-field-disabled-background: var(--lumo-contrast-5pct);
|
|
106
|
-
--vaadin-input-field-disabled-value-color: var(--lumo-disabled-text-color);
|
|
107
|
-
--vaadin-input-field-height: var(--lumo-size-m);
|
|
108
|
-
--vaadin-input-field-hover-highlight: var(--lumo-contrast-50pct);
|
|
109
|
-
--vaadin-input-field-placeholder-color: var(--lumo-secondary-text-color);
|
|
110
|
-
--vaadin-input-field-readonly-border: 1px dashed var(--lumo-contrast-30pct);
|
|
111
|
-
--vaadin-input-field-value-color: var(--lumo-body-text-color);
|
|
112
|
-
--vaadin-input-field-value-font-size: var(--lumo-font-size-m);
|
|
113
|
-
--vaadin-input-field-value-font-weight: 500;
|
|
114
|
-
}
|
|
115
|
-
`;
|
|
116
|
-
|
|
117
29
|
addLumoGlobalStyles('style-props', style);
|
|
118
30
|
|
|
119
|
-
export {
|
|
31
|
+
export { style };
|
package/utility.css
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2000 - 2025 Vaadin Ltd.
|
|
4
|
+
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
+
*/
|
|
6
|
+
@import './props.css';
|
|
7
|
+
@import './src/utilities/accessibility.css';
|
|
8
|
+
@import './src/utilities/background.css';
|
|
9
|
+
@import './src/utilities/border.css';
|
|
10
|
+
@import './src/utilities/filter.css';
|
|
11
|
+
@import './src/utilities/flexbox-grid.css';
|
|
12
|
+
@import './src/utilities/layout.css';
|
|
13
|
+
@import './src/utilities/shadows.css';
|
|
14
|
+
@import './src/utilities/sizing.css';
|
|
15
|
+
@import './src/utilities/spacing.css';
|
|
16
|
+
@import './src/utilities/transition.css';
|
|
17
|
+
@import './src/utilities/typography.css';
|