@vaadin/vaadin-lumo-styles 25.0.0-alpha9 → 25.0.0-beta1
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/all-imports.d.ts +0 -8
- package/all-imports.js +0 -18
- package/components/accordion-heading.css +4 -3
- package/components/accordion-panel.css +4 -3
- package/components/app-layout.css +4 -3
- package/components/avatar-group.css +10 -9
- package/components/avatar.css +6 -4
- package/components/button.css +4 -4
- package/components/card.css +6 -4
- package/components/charts.css +4 -3
- package/components/checkbox-group.css +4 -3
- package/components/checkbox.css +4 -3
- package/components/combo-box.css +8 -7
- package/components/confirm-dialog.css +4 -3
- package/components/context-menu.css +8 -7
- package/components/crud.css +13 -12
- package/components/custom-field.css +4 -3
- package/components/dashboard.css +12 -11
- package/components/date-picker.css +12 -11
- package/components/date-time-picker.css +4 -3
- package/components/details-summary.css +4 -3
- package/components/details.css +4 -3
- package/components/dialog.css +4 -3
- package/components/drawer-toggle.css +4 -3
- package/components/email-field.css +4 -3
- package/components/field-highlighter.css +8 -7
- package/components/form-item.css +4 -3
- package/components/form-layout.css +8 -5
- package/components/grid-filter.css +4 -3
- package/components/grid-pro-edit-column.css +8 -7
- package/components/grid-pro.css +4 -3
- package/components/grid-sorter.css +4 -3
- package/components/grid-tree-toggle.css +4 -3
- package/components/grid.css +4 -3
- package/components/horizontal-layout.css +4 -3
- package/components/icon.css +4 -3
- package/components/index.css +71 -0
- package/components/input-container.css +4 -3
- package/components/integer-field.css +4 -3
- package/components/item.css +4 -3
- package/components/list-box.css +4 -3
- package/components/login-form.css +4 -3
- package/components/login.css +4 -3
- package/components/map.css +4 -3
- package/components/master-detail-layout.css +2 -1
- package/components/menu-bar.css +12 -11
- package/components/message-input-button.css +12 -0
- package/components/message-input.css +5 -4
- package/components/message.css +4 -3
- package/components/multi-select-combo-box.css +12 -11
- package/components/notification.css +6 -5
- package/components/number-field.css +4 -3
- package/components/overlay.css +4 -3
- package/components/password-field.css +6 -5
- package/components/popover.css +4 -3
- package/components/progress-bar.css +4 -3
- package/components/radio-button.css +4 -3
- package/components/radio-group.css +4 -3
- package/components/rich-text-editor.css +6 -5
- package/components/scroller.css +4 -3
- package/components/select.css +12 -11
- package/components/side-nav-item.css +4 -3
- package/components/side-nav.css +4 -3
- package/components/split-layout.css +4 -3
- package/components/tab.css +4 -3
- package/components/tabs.css +4 -3
- package/components/tabsheet.css +6 -5
- package/components/text-area.css +4 -3
- package/components/text-field.css +4 -3
- package/components/time-picker.css +8 -7
- package/components/tooltip.css +4 -3
- package/components/upload.css +15 -10
- package/components/vertical-layout.css +4 -3
- package/dist/lumo.css +43 -0
- package/dist/presets/compact.css +1 -0
- package/dist/utility.css +1 -0
- package/lumo.css +3 -3
- package/mixins/field-button.js +3 -4
- package/mixins/helper.js +3 -4
- package/mixins/input-field-shared.js +4 -7
- package/mixins/loader.js +3 -2
- package/mixins/menu-overlay.js +3 -2
- package/mixins/overlay.js +3 -4
- package/mixins/required-field.js +3 -4
- package/package.json +15 -9
- package/presets/compact.css +32 -0
- package/src/components/app-layout.css +5 -5
- package/src/components/avatar-group-overlay.css +0 -4
- package/src/components/chart.css +2 -1
- package/src/components/checkbox.css +2 -3
- package/src/components/combo-box.css +1 -1
- package/src/components/confirm-dialog-overlay.css +0 -4
- package/src/components/context-menu-overlay.css +21 -1
- package/src/components/dashboard-layout.css +0 -66
- package/src/components/dashboard-section.css +3 -31
- package/src/components/dashboard-widget.css +1 -85
- package/src/components/dashboard.css +0 -9
- package/src/components/date-picker-overlay-content.css +6 -40
- package/src/components/date-picker-overlay.css +2 -14
- package/src/components/date-picker.css +2 -2
- package/src/components/dialog-overlay.css +10 -19
- package/src/components/grid-pro-edit-select.css +1 -1
- package/src/components/grid-pro.css +14 -8
- package/src/components/grid.css +0 -7
- package/src/components/icon.css +2 -2
- package/src/components/menu-bar-button.css +7 -7
- package/src/components/message.css +7 -32
- package/src/components/multi-select-combo-box.css +2 -2
- package/src/components/number-field.css +6 -6
- package/src/components/password-field.css +4 -4
- package/src/components/popover-overlay.css +2 -138
- package/src/components/radio-button.css +1 -1
- package/src/components/rich-text-editor.css +40 -142
- package/src/components/scroller.css +3 -22
- package/src/components/select.css +15 -2
- package/src/components/side-nav-item.css +13 -0
- package/src/components/split-layout.css +19 -97
- package/src/components/tabsheet.css +4 -0
- package/src/components/text-area.css +2 -2
- package/src/components/time-picker.css +1 -1
- package/src/components/tooltip-overlay.css +4 -1
- package/src/components/upload-file.css +27 -61
- package/src/global/color-scheme.css +2 -1
- package/{user-colors.d.ts → src/global/index.css} +3 -3
- package/src/global/typography.css +2 -1
- package/src/mixins/dashboard-item.css +10 -141
- package/src/mixins/field-base.css +1 -1
- package/src/mixins/field-button.css +3 -3
- package/src/mixins/overlay.css +11 -1
- package/src/mixins/resizable-overlay.css +2 -1
- package/src/props/color.css +4 -2
- package/src/props/icons.css +21 -18
- package/src/props/index.css +12 -0
- package/src/props/reset.css +2 -1
- package/src/props/sizing.css +2 -1
- package/src/props/spacing.css +2 -1
- package/src/props/style.css +2 -1
- package/src/props/typography.css +2 -1
- package/utility.css +0 -1
- package/vaadin-iconset.js +2 -0
- package/auto-complete.css +0 -2512
- package/badge-global.js +0 -9
- package/badge.d.ts +0 -3
- package/badge.js +0 -178
- package/color-global.js +0 -9
- package/color.d.ts +0 -5
- package/color.js +0 -221
- package/components.css +0 -71
- package/font-icons.js +0 -69
- package/global.css +0 -8
- package/global.js +0 -5
- package/presets/compact.js +0 -40
- package/props.css +0 -12
- package/sizing.d.ts +0 -3
- package/sizing.js +0 -29
- package/spacing.d.ts +0 -3
- package/spacing.js +0 -37
- package/src/components/form-layout.css +0 -12
- package/src/components/upload-file-list.css +0 -24
- package/style.d.ts +0 -3
- package/style.js +0 -31
- package/typography-global.js +0 -13
- package/typography.d.ts +0 -7
- package/typography.js +0 -129
- package/user-colors.js +0 -33
- package/utilities/accessibility.js +0 -21
- package/utilities/background.js +0 -156
- package/utilities/border.js +0 -147
- package/utilities/filter.js +0 -34
- package/utilities/flexbox-grid.js +0 -619
- package/utilities/layout.js +0 -504
- package/utilities/shadows.js +0 -28
- package/utilities/sizing.js +0 -121
- package/utilities/spacing.js +0 -542
- package/utilities/transition.js +0 -50
- package/utilities/typography.js +0 -344
- package/utility-global.js +0 -9
- package/utility.d.ts +0 -3
- package/utility.js +0 -34
package/badge-global.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
import { badge } from './badge.js';
|
|
7
|
-
import { addLumoGlobalStyles } from './global.js';
|
|
8
|
-
|
|
9
|
-
addLumoGlobalStyles('badge', badge);
|
package/badge.d.ts
DELETED
package/badge.js
DELETED
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
import './style.js';
|
|
7
|
-
import './color.js';
|
|
8
|
-
import './typography.js';
|
|
9
|
-
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
10
|
-
|
|
11
|
-
const badge = css`
|
|
12
|
-
[theme~='badge'] {
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
padding: 0.4em calc(0.5em + var(--lumo-border-radius-s) / 4);
|
|
18
|
-
color: var(--lumo-primary-text-color);
|
|
19
|
-
background-color: var(--lumo-primary-color-10pct);
|
|
20
|
-
border-radius: var(--lumo-border-radius-s);
|
|
21
|
-
font-family: var(--lumo-font-family);
|
|
22
|
-
font-size: var(--lumo-font-size-s);
|
|
23
|
-
line-height: 1;
|
|
24
|
-
font-weight: 500;
|
|
25
|
-
text-transform: initial;
|
|
26
|
-
letter-spacing: initial;
|
|
27
|
-
min-width: calc(var(--lumo-line-height-xs) * 1em + 0.45em);
|
|
28
|
-
flex-shrink: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* Ensure proper vertical alignment */
|
|
32
|
-
[theme~='badge']::before {
|
|
33
|
-
display: inline-block;
|
|
34
|
-
content: '\\2003';
|
|
35
|
-
width: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
[theme~='badge'][theme~='small'] {
|
|
39
|
-
font-size: var(--lumo-font-size-xxs);
|
|
40
|
-
line-height: 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/* Colors */
|
|
44
|
-
|
|
45
|
-
[theme~='badge'][theme~='success'] {
|
|
46
|
-
color: var(--lumo-success-text-color);
|
|
47
|
-
background-color: var(--lumo-success-color-10pct);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
[theme~='badge'][theme~='error'] {
|
|
51
|
-
color: var(--lumo-error-text-color);
|
|
52
|
-
background-color: var(--lumo-error-color-10pct);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
[theme~='badge'][theme~='warning'] {
|
|
56
|
-
color: var(--lumo-warning-text-color);
|
|
57
|
-
background-color: var(--lumo-warning-color-10pct);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
[theme~='badge'][theme~='contrast'] {
|
|
61
|
-
color: var(--lumo-contrast-80pct);
|
|
62
|
-
background-color: var(--lumo-contrast-5pct);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Primary */
|
|
66
|
-
|
|
67
|
-
[theme~='badge'][theme~='primary'] {
|
|
68
|
-
color: var(--lumo-primary-contrast-color);
|
|
69
|
-
background-color: var(--lumo-primary-color);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
[theme~='badge'][theme~='success'][theme~='primary'] {
|
|
73
|
-
color: var(--lumo-success-contrast-color);
|
|
74
|
-
background-color: var(--lumo-success-color);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
[theme~='badge'][theme~='error'][theme~='primary'] {
|
|
78
|
-
color: var(--lumo-error-contrast-color);
|
|
79
|
-
background-color: var(--lumo-error-color);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
[theme~='badge'][theme~='warning'][theme~='primary'] {
|
|
83
|
-
color: var(--lumo-warning-contrast-color);
|
|
84
|
-
background-color: var(--lumo-warning-color);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
[theme~='badge'][theme~='contrast'][theme~='primary'] {
|
|
88
|
-
color: var(--lumo-base-color);
|
|
89
|
-
background-color: var(--lumo-contrast);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* Links */
|
|
93
|
-
|
|
94
|
-
[theme~='badge'][href]:hover {
|
|
95
|
-
text-decoration: none;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/* Icon */
|
|
99
|
-
|
|
100
|
-
[theme~='badge'] > vaadin-icon {
|
|
101
|
-
margin: -0.25em 0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
[theme~='badge'] > vaadin-icon:first-child {
|
|
105
|
-
margin-left: -0.375em;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
[theme~='badge'] > vaadin-icon:last-child {
|
|
109
|
-
margin-right: -0.375em;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
vaadin-icon[theme~='badge'][icon] {
|
|
113
|
-
min-width: 0;
|
|
114
|
-
padding: 0;
|
|
115
|
-
font-size: 1rem;
|
|
116
|
-
width: var(--lumo-icon-size-m);
|
|
117
|
-
height: var(--lumo-icon-size-m);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
vaadin-icon[theme~='badge'][icon][theme~='small'] {
|
|
121
|
-
width: var(--lumo-icon-size-s);
|
|
122
|
-
height: var(--lumo-icon-size-s);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/* Empty */
|
|
126
|
-
|
|
127
|
-
[theme~='badge']:not([icon]):empty {
|
|
128
|
-
min-width: 0;
|
|
129
|
-
width: 1em;
|
|
130
|
-
height: 1em;
|
|
131
|
-
padding: 0;
|
|
132
|
-
border-radius: 50%;
|
|
133
|
-
background-color: var(--lumo-primary-color);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
[theme~='badge'][theme~='small']:not([icon]):empty {
|
|
137
|
-
width: 0.75em;
|
|
138
|
-
height: 0.75em;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
[theme~='badge'][theme~='contrast']:not([icon]):empty {
|
|
142
|
-
background-color: var(--lumo-contrast);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
[theme~='badge'][theme~='success']:not([icon]):empty {
|
|
146
|
-
background-color: var(--lumo-success-color);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
[theme~='badge'][theme~='error']:not([icon]):empty {
|
|
150
|
-
background-color: var(--lumo-error-color);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
[theme~='badge'][theme~='warning']:not([icon]):empty {
|
|
154
|
-
background-color: var(--lumo-warning-color);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
/* Pill */
|
|
158
|
-
|
|
159
|
-
[theme~='badge'][theme~='pill'] {
|
|
160
|
-
--lumo-border-radius-s: 1em;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/* RTL specific styles */
|
|
164
|
-
|
|
165
|
-
[dir='rtl'][theme~='badge'] vaadin-icon:first-child {
|
|
166
|
-
margin-right: -0.375em;
|
|
167
|
-
margin-left: 0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
[dir='rtl'][theme~='badge'] vaadin-icon:last-child {
|
|
171
|
-
margin-left: -0.375em;
|
|
172
|
-
margin-right: 0;
|
|
173
|
-
}
|
|
174
|
-
`;
|
|
175
|
-
|
|
176
|
-
registerStyles('', badge, { moduleId: 'lumo-badge' });
|
|
177
|
-
|
|
178
|
-
export { badge };
|
package/color-global.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
import { color } from './color.js';
|
|
7
|
-
import { addLumoGlobalStyles } from './global.js';
|
|
8
|
-
|
|
9
|
-
addLumoGlobalStyles('color', color);
|
package/color.d.ts
DELETED
package/color.js
DELETED
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
import './version.js';
|
|
7
|
-
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
8
|
-
import { addLumoGlobalStyles } from './global.js';
|
|
9
|
-
|
|
10
|
-
const colorBase = css`
|
|
11
|
-
:host {
|
|
12
|
-
/* Base (background) */
|
|
13
|
-
--lumo-base-color: #fff;
|
|
14
|
-
|
|
15
|
-
/* Tint */
|
|
16
|
-
--lumo-tint-5pct: hsla(0, 0%, 100%, 0.3);
|
|
17
|
-
--lumo-tint-10pct: hsla(0, 0%, 100%, 0.37);
|
|
18
|
-
--lumo-tint-20pct: hsla(0, 0%, 100%, 0.44);
|
|
19
|
-
--lumo-tint-30pct: hsla(0, 0%, 100%, 0.5);
|
|
20
|
-
--lumo-tint-40pct: hsla(0, 0%, 100%, 0.57);
|
|
21
|
-
--lumo-tint-50pct: hsla(0, 0%, 100%, 0.64);
|
|
22
|
-
--lumo-tint-60pct: hsla(0, 0%, 100%, 0.7);
|
|
23
|
-
--lumo-tint-70pct: hsla(0, 0%, 100%, 0.77);
|
|
24
|
-
--lumo-tint-80pct: hsla(0, 0%, 100%, 0.84);
|
|
25
|
-
--lumo-tint-90pct: hsla(0, 0%, 100%, 0.9);
|
|
26
|
-
--lumo-tint: #fff;
|
|
27
|
-
|
|
28
|
-
/* Shade */
|
|
29
|
-
--lumo-shade-5pct: hsla(214, 61%, 25%, 0.05);
|
|
30
|
-
--lumo-shade-10pct: hsla(214, 57%, 24%, 0.1);
|
|
31
|
-
--lumo-shade-20pct: hsla(214, 53%, 23%, 0.16);
|
|
32
|
-
--lumo-shade-30pct: hsla(214, 50%, 22%, 0.26);
|
|
33
|
-
--lumo-shade-40pct: hsla(214, 47%, 21%, 0.38);
|
|
34
|
-
--lumo-shade-50pct: hsla(214, 45%, 20%, 0.52);
|
|
35
|
-
--lumo-shade-60pct: hsla(214, 43%, 19%, 0.6);
|
|
36
|
-
--lumo-shade-70pct: hsla(214, 42%, 18%, 0.69);
|
|
37
|
-
--lumo-shade-80pct: hsla(214, 41%, 17%, 0.83);
|
|
38
|
-
--lumo-shade-90pct: hsla(214, 40%, 16%, 0.94);
|
|
39
|
-
--lumo-shade: hsl(214, 35%, 15%);
|
|
40
|
-
|
|
41
|
-
/* Contrast */
|
|
42
|
-
--lumo-contrast-5pct: var(--lumo-shade-5pct);
|
|
43
|
-
--lumo-contrast-10pct: var(--lumo-shade-10pct);
|
|
44
|
-
--lumo-contrast-20pct: var(--lumo-shade-20pct);
|
|
45
|
-
--lumo-contrast-30pct: var(--lumo-shade-30pct);
|
|
46
|
-
--lumo-contrast-40pct: var(--lumo-shade-40pct);
|
|
47
|
-
--lumo-contrast-50pct: var(--lumo-shade-50pct);
|
|
48
|
-
--lumo-contrast-60pct: var(--lumo-shade-60pct);
|
|
49
|
-
--lumo-contrast-70pct: var(--lumo-shade-70pct);
|
|
50
|
-
--lumo-contrast-80pct: var(--lumo-shade-80pct);
|
|
51
|
-
--lumo-contrast-90pct: var(--lumo-shade-90pct);
|
|
52
|
-
--lumo-contrast: var(--lumo-shade);
|
|
53
|
-
|
|
54
|
-
/* Text */
|
|
55
|
-
--lumo-header-text-color: var(--lumo-contrast);
|
|
56
|
-
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
57
|
-
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
58
|
-
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
59
|
-
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
60
|
-
|
|
61
|
-
/* Primary */
|
|
62
|
-
--lumo-primary-color: hsl(214, 100%, 48%);
|
|
63
|
-
--lumo-primary-color-50pct: hsla(214, 100%, 49%, 0.76);
|
|
64
|
-
--lumo-primary-color-10pct: hsla(214, 100%, 60%, 0.13);
|
|
65
|
-
--lumo-primary-text-color: hsl(214, 100%, 43%);
|
|
66
|
-
--lumo-primary-contrast-color: #fff;
|
|
67
|
-
|
|
68
|
-
/* Error */
|
|
69
|
-
--lumo-error-color: hsl(3, 85%, 48%);
|
|
70
|
-
--lumo-error-color-50pct: hsla(3, 85%, 49%, 0.5);
|
|
71
|
-
--lumo-error-color-10pct: hsla(3, 85%, 49%, 0.1);
|
|
72
|
-
--lumo-error-text-color: hsl(3, 89%, 42%);
|
|
73
|
-
--lumo-error-contrast-color: #fff;
|
|
74
|
-
|
|
75
|
-
/* Success */
|
|
76
|
-
--lumo-success-color: hsl(145, 72%, 30%);
|
|
77
|
-
--lumo-success-color-50pct: hsla(145, 72%, 31%, 0.5);
|
|
78
|
-
--lumo-success-color-10pct: hsla(145, 72%, 31%, 0.1);
|
|
79
|
-
--lumo-success-text-color: hsl(145, 85%, 25%);
|
|
80
|
-
--lumo-success-contrast-color: #fff;
|
|
81
|
-
|
|
82
|
-
/* Warning */
|
|
83
|
-
--lumo-warning-color: hsl(48, 100%, 50%);
|
|
84
|
-
--lumo-warning-color-10pct: hsla(48, 100%, 50%, 0.25);
|
|
85
|
-
--lumo-warning-text-color: hsl(32, 100%, 30%);
|
|
86
|
-
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* forced-colors mode adjustments */
|
|
90
|
-
@media (forced-colors: active) {
|
|
91
|
-
html {
|
|
92
|
-
--lumo-disabled-text-color: GrayText;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
`;
|
|
96
|
-
|
|
97
|
-
addLumoGlobalStyles('color-props', colorBase);
|
|
98
|
-
|
|
99
|
-
const color = css`
|
|
100
|
-
[theme~='dark'] {
|
|
101
|
-
/* Base (background) */
|
|
102
|
-
--lumo-base-color: hsl(214, 35%, 21%);
|
|
103
|
-
|
|
104
|
-
/* Tint */
|
|
105
|
-
--lumo-tint-5pct: hsla(214, 65%, 85%, 0.06);
|
|
106
|
-
--lumo-tint-10pct: hsla(214, 60%, 80%, 0.14);
|
|
107
|
-
--lumo-tint-20pct: hsla(214, 64%, 82%, 0.23);
|
|
108
|
-
--lumo-tint-30pct: hsla(214, 69%, 84%, 0.32);
|
|
109
|
-
--lumo-tint-40pct: hsla(214, 73%, 86%, 0.41);
|
|
110
|
-
--lumo-tint-50pct: hsla(214, 78%, 88%, 0.5);
|
|
111
|
-
--lumo-tint-60pct: hsla(214, 82%, 90%, 0.58);
|
|
112
|
-
--lumo-tint-70pct: hsla(214, 87%, 92%, 0.69);
|
|
113
|
-
--lumo-tint-80pct: hsla(214, 91%, 94%, 0.8);
|
|
114
|
-
--lumo-tint-90pct: hsla(214, 96%, 96%, 0.9);
|
|
115
|
-
--lumo-tint: hsl(214, 100%, 98%);
|
|
116
|
-
|
|
117
|
-
/* Shade */
|
|
118
|
-
--lumo-shade-5pct: hsla(214, 0%, 0%, 0.07);
|
|
119
|
-
--lumo-shade-10pct: hsla(214, 4%, 2%, 0.15);
|
|
120
|
-
--lumo-shade-20pct: hsla(214, 8%, 4%, 0.23);
|
|
121
|
-
--lumo-shade-30pct: hsla(214, 12%, 6%, 0.32);
|
|
122
|
-
--lumo-shade-40pct: hsla(214, 16%, 8%, 0.41);
|
|
123
|
-
--lumo-shade-50pct: hsla(214, 20%, 10%, 0.5);
|
|
124
|
-
--lumo-shade-60pct: hsla(214, 24%, 12%, 0.6);
|
|
125
|
-
--lumo-shade-70pct: hsla(214, 28%, 13%, 0.7);
|
|
126
|
-
--lumo-shade-80pct: hsla(214, 32%, 13%, 0.8);
|
|
127
|
-
--lumo-shade-90pct: hsla(214, 33%, 13%, 0.9);
|
|
128
|
-
--lumo-shade: hsl(214, 33%, 13%);
|
|
129
|
-
|
|
130
|
-
/* Contrast */
|
|
131
|
-
--lumo-contrast-5pct: var(--lumo-tint-5pct);
|
|
132
|
-
--lumo-contrast-10pct: var(--lumo-tint-10pct);
|
|
133
|
-
--lumo-contrast-20pct: var(--lumo-tint-20pct);
|
|
134
|
-
--lumo-contrast-30pct: var(--lumo-tint-30pct);
|
|
135
|
-
--lumo-contrast-40pct: var(--lumo-tint-40pct);
|
|
136
|
-
--lumo-contrast-50pct: var(--lumo-tint-50pct);
|
|
137
|
-
--lumo-contrast-60pct: var(--lumo-tint-60pct);
|
|
138
|
-
--lumo-contrast-70pct: var(--lumo-tint-70pct);
|
|
139
|
-
--lumo-contrast-80pct: var(--lumo-tint-80pct);
|
|
140
|
-
--lumo-contrast-90pct: var(--lumo-tint-90pct);
|
|
141
|
-
--lumo-contrast: var(--lumo-tint);
|
|
142
|
-
|
|
143
|
-
/* Text */
|
|
144
|
-
--lumo-header-text-color: var(--lumo-contrast);
|
|
145
|
-
--lumo-body-text-color: var(--lumo-contrast-90pct);
|
|
146
|
-
--lumo-secondary-text-color: var(--lumo-contrast-70pct);
|
|
147
|
-
--lumo-tertiary-text-color: var(--lumo-contrast-50pct);
|
|
148
|
-
--lumo-disabled-text-color: var(--lumo-contrast-30pct);
|
|
149
|
-
|
|
150
|
-
/* Primary */
|
|
151
|
-
--lumo-primary-color: hsl(214, 90%, 48%);
|
|
152
|
-
--lumo-primary-color-50pct: hsla(214, 90%, 70%, 0.69);
|
|
153
|
-
--lumo-primary-color-10pct: hsla(214, 90%, 55%, 0.13);
|
|
154
|
-
--lumo-primary-text-color: hsl(214, 90%, 77%);
|
|
155
|
-
--lumo-primary-contrast-color: #fff;
|
|
156
|
-
|
|
157
|
-
/* Error */
|
|
158
|
-
--lumo-error-color: hsl(3, 79%, 49%);
|
|
159
|
-
--lumo-error-color-50pct: hsla(3, 75%, 62%, 0.5);
|
|
160
|
-
--lumo-error-color-10pct: hsla(3, 75%, 62%, 0.14);
|
|
161
|
-
--lumo-error-text-color: hsl(3, 100%, 80%);
|
|
162
|
-
|
|
163
|
-
/* Success */
|
|
164
|
-
--lumo-success-color: hsl(145, 72%, 30%);
|
|
165
|
-
--lumo-success-color-50pct: hsla(145, 92%, 51%, 0.5);
|
|
166
|
-
--lumo-success-color-10pct: hsla(145, 92%, 51%, 0.1);
|
|
167
|
-
--lumo-success-text-color: hsl(145, 85%, 46%);
|
|
168
|
-
|
|
169
|
-
/* Warning */
|
|
170
|
-
--lumo-warning-color: hsl(43, 100%, 48%);
|
|
171
|
-
--lumo-warning-color-10pct: hsla(40, 100%, 50%, 0.2);
|
|
172
|
-
--lumo-warning-text-color: hsl(45, 100%, 60%);
|
|
173
|
-
--lumo-warning-contrast-color: var(--lumo-shade-90pct);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
html {
|
|
177
|
-
color: var(--lumo-body-text-color);
|
|
178
|
-
background-color: var(--lumo-base-color);
|
|
179
|
-
color-scheme: light;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
[theme~='dark'] {
|
|
183
|
-
color: var(--lumo-body-text-color);
|
|
184
|
-
background-color: var(--lumo-base-color);
|
|
185
|
-
color-scheme: dark;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
h1,
|
|
189
|
-
h2,
|
|
190
|
-
h3,
|
|
191
|
-
h4,
|
|
192
|
-
h5,
|
|
193
|
-
h6 {
|
|
194
|
-
color: var(--lumo-header-text-color);
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
a:where(:any-link) {
|
|
198
|
-
color: var(--lumo-primary-text-color);
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
a:not(:any-link) {
|
|
202
|
-
color: var(--lumo-disabled-text-color);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
blockquote {
|
|
206
|
-
color: var(--lumo-secondary-text-color);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
code,
|
|
210
|
-
pre {
|
|
211
|
-
background-color: var(--lumo-contrast-10pct);
|
|
212
|
-
border-radius: var(--lumo-border-radius-m);
|
|
213
|
-
}
|
|
214
|
-
pre code {
|
|
215
|
-
background: transparent;
|
|
216
|
-
}
|
|
217
|
-
`;
|
|
218
|
-
|
|
219
|
-
registerStyles('', color, { moduleId: 'lumo-color' });
|
|
220
|
-
|
|
221
|
-
export { colorBase, color };
|
package/components.css
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
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 './components/accordion.css';
|
|
7
|
-
@import './components/app-layout.css';
|
|
8
|
-
@import './components/avatar-group.css';
|
|
9
|
-
@import './components/avatar.css';
|
|
10
|
-
@import './components/button.css';
|
|
11
|
-
@import './components/card.css';
|
|
12
|
-
@import './components/charts.css';
|
|
13
|
-
@import './components/checkbox-group.css';
|
|
14
|
-
@import './components/checkbox.css';
|
|
15
|
-
@import './components/combo-box.css';
|
|
16
|
-
@import './components/confirm-dialog.css';
|
|
17
|
-
@import './components/context-menu.css';
|
|
18
|
-
@import './components/crud.css';
|
|
19
|
-
@import './components/custom-field.css';
|
|
20
|
-
@import './components/dashboard.css';
|
|
21
|
-
@import './components/date-picker.css';
|
|
22
|
-
@import './components/date-time-picker.css';
|
|
23
|
-
@import './components/details-summary.css';
|
|
24
|
-
@import './components/details.css';
|
|
25
|
-
@import './components/dialog.css';
|
|
26
|
-
@import './components/drawer-toggle.css';
|
|
27
|
-
@import './components/email-field.css';
|
|
28
|
-
@import './components/field-highlighter.css';
|
|
29
|
-
@import './components/form-item.css';
|
|
30
|
-
@import './components/form-layout.css';
|
|
31
|
-
@import './components/grid-filter-column.css';
|
|
32
|
-
@import './components/grid-pro-edit-column.css';
|
|
33
|
-
@import './components/grid-pro.css';
|
|
34
|
-
@import './components/grid-selection-column.css';
|
|
35
|
-
@import './components/grid-sort-column.css';
|
|
36
|
-
@import './components/grid-tree-column.css';
|
|
37
|
-
@import './components/grid.css';
|
|
38
|
-
@import './components/horizontal-layout.css';
|
|
39
|
-
@import './components/icon.css';
|
|
40
|
-
@import './components/input-container.css';
|
|
41
|
-
@import './components/integer-field.css';
|
|
42
|
-
@import './components/item.css';
|
|
43
|
-
@import './components/list-box.css';
|
|
44
|
-
@import './components/login.css';
|
|
45
|
-
@import './components/map.css';
|
|
46
|
-
@import './components/master-detail-layout.css';
|
|
47
|
-
@import './components/menu-bar.css';
|
|
48
|
-
@import './components/message-input.css';
|
|
49
|
-
@import './components/message-list.css';
|
|
50
|
-
@import './components/multi-select-combo-box.css';
|
|
51
|
-
@import './components/notification.css';
|
|
52
|
-
@import './components/number-field.css';
|
|
53
|
-
@import './components/overlay.css';
|
|
54
|
-
@import './components/password-field.css';
|
|
55
|
-
@import './components/popover.css';
|
|
56
|
-
@import './components/progress-bar.css';
|
|
57
|
-
@import './components/radio-button.css';
|
|
58
|
-
@import './components/radio-group.css';
|
|
59
|
-
@import './components/rich-text-editor.css';
|
|
60
|
-
@import './components/scroller.css';
|
|
61
|
-
@import './components/select.css';
|
|
62
|
-
@import './components/side-nav.css';
|
|
63
|
-
@import './components/split-layout.css';
|
|
64
|
-
@import './components/tabs.css';
|
|
65
|
-
@import './components/tabsheet.css';
|
|
66
|
-
@import './components/text-area.css';
|
|
67
|
-
@import './components/text-field.css';
|
|
68
|
-
@import './components/time-picker.css';
|
|
69
|
-
@import './components/tooltip.css';
|
|
70
|
-
@import './components/upload.css';
|
|
71
|
-
@import './components/vertical-layout.css';
|
package/font-icons.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
import './version.js';
|
|
7
|
-
import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
8
|
-
import { addLumoGlobalStyles } from './global.js';
|
|
9
|
-
|
|
10
|
-
const fontIcons = css`
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'lumo-icons';
|
|
13
|
-
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABJ4AAsAAAAAJLAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAARAAAAGBAJEuSY21hcAAAAYgAAAEJAAAD5hM28lxnbHlmAAAClAAADIAAABl4kgpjO2hlYWQAAA8UAAAAMAAAADZa/6SoaGhlYQAAD0QAAAAdAAAAJAbpA4JobXR4AAAPZAAAABAAAAC8s7AAAGxvY2EAAA90AAAAYAAAAGCQmpgkbWF4cAAAD9QAAAAfAAAAIAFOAXBuYW1lAAAP9AAAATEAAAIuUUJZCHBvc3QAABEoAAABTgAAAhZggPx+eJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGG+zDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mMO+p/FEMUcxDANKMyIoogJAIKODDh4nO3T123DMABF0Stb7r333pu+PVwGylcG4xIOn17GiIDDCxFqECWgBBSjZ5RC8kOCtu84m+TzRer5fMpXfkyq+ZB9PnFMNMb9NB8L8dg0XrFMhSq1eF6DJi3adOjSo8+AISPGTJgyY86CJSvWbNiyY8+BIyfOXLhy484j3v9FFi9e5n9raii8//YyvX/LV6RgqEXTyobUtEahZ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qWYvucl7umFnx7hHMQRuHsT034MKbawMSdtPp5qlcmWs2HmfDgHGSb3WLMuiklYbSjW7dlgI0nUXU/8WL+mO8r4LXXu5M6SFqW0j9mRDvK9t8LljTUy6MLXv4rZylobZOdEaedeP4EW/dgnTcG/D5Ov/NF9MPElWlQhWu22wT6OS0A5+ETxxFN0Dx12W6gAA)
|
|
14
|
-
format('woff');
|
|
15
|
-
font-weight: normal;
|
|
16
|
-
font-style: normal;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
html {
|
|
20
|
-
--lumo-icons-align-center: '\\ea01';
|
|
21
|
-
--lumo-icons-align-left: '\\ea02';
|
|
22
|
-
--lumo-icons-align-right: '\\ea03';
|
|
23
|
-
--lumo-icons-angle-down: '\\ea04';
|
|
24
|
-
--lumo-icons-angle-left: '\\ea05';
|
|
25
|
-
--lumo-icons-angle-right: '\\ea06';
|
|
26
|
-
--lumo-icons-angle-up: '\\ea07';
|
|
27
|
-
--lumo-icons-arrow-down: '\\ea08';
|
|
28
|
-
--lumo-icons-arrow-left: '\\ea09';
|
|
29
|
-
--lumo-icons-arrow-right: '\\ea0a';
|
|
30
|
-
--lumo-icons-arrow-up: '\\ea0b';
|
|
31
|
-
--lumo-icons-bar-chart: '\\ea0c';
|
|
32
|
-
--lumo-icons-bell: '\\ea0d';
|
|
33
|
-
--lumo-icons-calendar: '\\ea0e';
|
|
34
|
-
--lumo-icons-checkmark: '\\ea0f';
|
|
35
|
-
--lumo-icons-chevron-down: '\\ea10';
|
|
36
|
-
--lumo-icons-chevron-left: '\\ea11';
|
|
37
|
-
--lumo-icons-chevron-right: '\\ea12';
|
|
38
|
-
--lumo-icons-chevron-up: '\\ea13';
|
|
39
|
-
--lumo-icons-clean: '\\ea14';
|
|
40
|
-
--lumo-icons-clock: '\\ea15';
|
|
41
|
-
--lumo-icons-cog: '\\ea16';
|
|
42
|
-
--lumo-icons-cross: '\\ea17';
|
|
43
|
-
--lumo-icons-download: '\\ea18';
|
|
44
|
-
--lumo-icons-drag-handle: '\\ea19';
|
|
45
|
-
--lumo-icons-dropdown: '\\ea1a';
|
|
46
|
-
--lumo-icons-edit: '\\ea1b';
|
|
47
|
-
--lumo-icons-error: '\\ea1c';
|
|
48
|
-
--lumo-icons-eye: '\\ea1d';
|
|
49
|
-
--lumo-icons-eye-disabled: '\\ea1e';
|
|
50
|
-
--lumo-icons-link: '\\ea1f';
|
|
51
|
-
--lumo-icons-menu: '\\ea20';
|
|
52
|
-
--lumo-icons-minus: '\\ea21';
|
|
53
|
-
--lumo-icons-ordered-list: '\\ea22';
|
|
54
|
-
--lumo-icons-phone: '\\ea23';
|
|
55
|
-
--lumo-icons-photo: '\\ea24';
|
|
56
|
-
--lumo-icons-play: '\\ea25';
|
|
57
|
-
--lumo-icons-plus: '\\ea26';
|
|
58
|
-
--lumo-icons-redo: '\\ea27';
|
|
59
|
-
--lumo-icons-reload: '\\ea28';
|
|
60
|
-
--lumo-icons-resize-handle: '\\ea29';
|
|
61
|
-
--lumo-icons-search: '\\ea2a';
|
|
62
|
-
--lumo-icons-undo: '\\ea2b';
|
|
63
|
-
--lumo-icons-unordered-list: '\\ea2c';
|
|
64
|
-
--lumo-icons-upload: '\\ea2d';
|
|
65
|
-
--lumo-icons-user: '\\ea2e';
|
|
66
|
-
}
|
|
67
|
-
`;
|
|
68
|
-
|
|
69
|
-
addLumoGlobalStyles('font-icons', fontIcons);
|
package/global.css
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
@import './src/global/badge.css';
|
|
7
|
-
@import './src/global/color-scheme.css';
|
|
8
|
-
@import './src/global/typography.css';
|
package/global.js
DELETED
package/presets/compact.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
import '../sizing.js';
|
|
7
|
-
import '../spacing.js';
|
|
8
|
-
const template = document.createElement('template');
|
|
9
|
-
|
|
10
|
-
template.innerHTML = `
|
|
11
|
-
<style>
|
|
12
|
-
/* Use a stronger selector so that imports added later do not override the property values */
|
|
13
|
-
html:not(div) {
|
|
14
|
-
--lumo-size-xl: 3rem;
|
|
15
|
-
--lumo-size-l: 2.5rem;
|
|
16
|
-
--lumo-size-m: 2rem;
|
|
17
|
-
--lumo-size-s: 1.75rem;
|
|
18
|
-
--lumo-size-xs: 1.5rem;
|
|
19
|
-
--lumo-font-size: 1rem;
|
|
20
|
-
--lumo-font-size-xxxl: 1.75rem;
|
|
21
|
-
--lumo-font-size-xxl: 1.375rem;
|
|
22
|
-
--lumo-font-size-xl: 1.125rem;
|
|
23
|
-
--lumo-font-size-l: 1rem;
|
|
24
|
-
--lumo-font-size-m: 0.875rem;
|
|
25
|
-
--lumo-font-size-s: 0.8125rem;
|
|
26
|
-
--lumo-font-size-xs: 0.75rem;
|
|
27
|
-
--lumo-font-size-xxs: 0.6875rem;
|
|
28
|
-
--lumo-line-height-m: 1.4;
|
|
29
|
-
--lumo-line-height-s: 1.2;
|
|
30
|
-
--lumo-line-height-xs: 1.1;
|
|
31
|
-
--lumo-space-xl: 1.875rem;
|
|
32
|
-
--lumo-space-l: 1.25rem;
|
|
33
|
-
--lumo-space-m: 0.625rem;
|
|
34
|
-
--lumo-space-s: 0.3125rem;
|
|
35
|
-
--lumo-space-xs: 0.1875rem;
|
|
36
|
-
}
|
|
37
|
-
</style>
|
|
38
|
-
`;
|
|
39
|
-
|
|
40
|
-
document.head.appendChild(template.content);
|
package/props.css
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
|
-
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
|
-
*/
|
|
6
|
-
@import './src/props/reset.css';
|
|
7
|
-
@import './src/props/icons.css';
|
|
8
|
-
@import './src/props/style.css';
|
|
9
|
-
@import './src/props/color.css';
|
|
10
|
-
@import './src/props/sizing.css';
|
|
11
|
-
@import './src/props/spacing.css';
|
|
12
|
-
@import './src/props/typography.css';
|
package/sizing.d.ts
DELETED