lutra 0.1.0 → 0.1.5
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/dist/components/Avatar.svelte +105 -0
- package/dist/components/Avatar.svelte.d.ts +14 -0
- package/dist/components/Close.svelte +76 -0
- package/dist/components/Close.svelte.d.ts +7 -0
- package/dist/components/ContextTip.svelte +41 -0
- package/dist/components/ContextTip.svelte.d.ts +7 -0
- package/dist/components/Icon.svelte +62 -0
- package/dist/components/Icon.svelte.d.ts +8 -0
- package/dist/components/IconButton.svelte +120 -0
- package/dist/components/IconButton.svelte.d.ts +16 -0
- package/dist/components/Image.svelte +172 -0
- package/dist/components/Image.svelte.d.ts +56 -0
- package/dist/components/Indicator.svelte +387 -0
- package/dist/components/Indicator.svelte.d.ts +12 -0
- package/dist/components/Inset.svelte +23 -0
- package/dist/components/Inset.svelte.d.ts +7 -0
- package/dist/components/Layout.svelte +2 -1
- package/dist/components/MenuDropdown.svelte +195 -0
- package/dist/components/MenuDropdown.svelte.d.ts +16 -0
- package/dist/components/MenuItem.svelte +159 -0
- package/dist/components/MenuItem.svelte.d.ts +11 -0
- package/dist/components/MenuItemContent.svelte +25 -0
- package/dist/components/MenuItemContent.svelte.d.ts +10 -0
- package/dist/components/MenuTypes.d.ts +79 -0
- package/dist/components/MenuTypes.js +1 -0
- package/dist/components/Modal.svelte +149 -0
- package/dist/components/Modal.svelte.d.ts +16 -0
- package/dist/components/Notification.svelte +115 -0
- package/dist/components/Notification.svelte.d.ts +12 -0
- package/dist/components/Overlay.svelte +31 -0
- package/dist/components/Overlay.svelte.d.ts +14 -0
- package/dist/components/OverlayContainer.svelte +31 -0
- package/dist/components/OverlayContainer.svelte.d.ts +18 -0
- package/dist/components/OverlayLayer.svelte +168 -0
- package/dist/components/OverlayLayer.svelte.d.ts +8 -0
- package/dist/components/PageContent.svelte +4 -82
- package/dist/components/PageContent.svelte.d.ts +0 -31
- package/dist/components/TabbedContent.svelte +74 -0
- package/dist/components/TabbedContent.svelte.d.ts +11 -0
- package/dist/components/TabbedContentItem.svelte +33 -0
- package/dist/components/TabbedContentItem.svelte.d.ts +10 -0
- package/dist/components/Table.svelte +41 -0
- package/dist/components/Table.svelte.d.ts +13 -0
- package/dist/components/Tabs.svelte +216 -0
- package/dist/components/Tabs.svelte.d.ts +20 -0
- package/dist/components/Tag.svelte +120 -0
- package/dist/components/Tag.svelte.d.ts +21 -0
- package/dist/components/Theme.svelte +32 -14
- package/dist/components/Tooltip.svelte +8 -8
- package/dist/components/UIContent.svelte +19 -0
- package/dist/components/UIContent.svelte.d.ts +7 -0
- package/dist/components/index.d.ts +28 -0
- package/dist/components/index.js +29 -0
- package/dist/components/notifications.svelte.d.ts +21 -0
- package/dist/components/notifications.svelte.js +30 -0
- package/dist/components/overlays.svelte.d.ts +36 -0
- package/dist/components/overlays.svelte.js +44 -0
- package/dist/css/1-props.css +389 -724
- package/dist/css/2-base.css +257 -123
- package/dist/css/3-typo.css +74 -34
- package/dist/css/4-layout.css +364 -1
- package/dist/css/5-media.css +106 -11
- package/dist/css/lutra.css +2 -1
- package/dist/css/themes/DefaultTheme.css +209 -0
- package/dist/form/Button.svelte +58 -0
- package/dist/form/Button.svelte.d.ts +15 -0
- package/dist/form/Datepicker.svelte +311 -0
- package/dist/form/Datepicker.svelte.d.ts +9 -0
- package/dist/form/FieldContent.svelte +178 -0
- package/dist/form/FieldContent.svelte.d.ts +21 -0
- package/dist/form/FieldError.svelte +24 -0
- package/dist/form/FieldError.svelte.d.ts +7 -0
- package/dist/form/Fieldset.svelte +103 -0
- package/dist/form/Fieldset.svelte.d.ts +20 -0
- package/dist/form/Form.svelte +220 -0
- package/dist/form/Form.svelte.d.ts +38 -0
- package/dist/form/FormActions.svelte +80 -0
- package/dist/form/FormActions.svelte.d.ts +9 -0
- package/dist/form/FormSection.svelte +96 -0
- package/dist/form/FormSection.svelte.d.ts +9 -0
- package/dist/form/ImageUpload.svelte +299 -0
- package/dist/form/ImageUpload.svelte.d.ts +20 -0
- package/dist/form/Input.svelte +444 -0
- package/dist/form/Input.svelte.d.ts +108 -0
- package/dist/form/InputLength.svelte +42 -0
- package/dist/form/InputLength.svelte.d.ts +9 -0
- package/dist/form/Label.svelte +88 -0
- package/dist/form/Label.svelte.d.ts +16 -0
- package/dist/form/LogoUpload.svelte +115 -0
- package/dist/form/LogoUpload.svelte.d.ts +18 -0
- package/dist/form/Select.svelte +186 -0
- package/dist/form/Select.svelte.d.ts +59 -0
- package/dist/form/Textarea.svelte +265 -0
- package/dist/form/Textarea.svelte.d.ts +95 -0
- package/dist/form/Toggle.svelte +4 -0
- package/dist/form/Toggle.svelte.d.ts +18 -0
- package/dist/form/client.svelte.d.ts +45 -0
- package/dist/form/client.svelte.js +102 -0
- package/dist/form/form.d.ts +55 -0
- package/dist/form/form.js +345 -0
- package/dist/form/index.d.ts +17 -0
- package/dist/form/index.js +17 -0
- package/dist/form/types.d.ts +55 -0
- package/dist/form/types.js +1 -0
- package/dist/icons/IconAlert.svelte +3 -0
- package/dist/icons/IconAlert.svelte.d.ts +26 -0
- package/dist/icons/IconCopy.svelte +3 -0
- package/dist/icons/IconCopy.svelte.d.ts +26 -0
- package/dist/icons/IconDone.svelte +3 -0
- package/dist/icons/IconDone.svelte.d.ts +26 -0
- package/dist/icons/IconError.svelte +3 -0
- package/dist/icons/IconError.svelte.d.ts +26 -0
- package/dist/icons/IconHelp.svelte +3 -0
- package/dist/icons/IconHelp.svelte.d.ts +26 -0
- package/dist/icons/IconHide.svelte +3 -0
- package/dist/icons/IconHide.svelte.d.ts +26 -0
- package/dist/icons/IconInfo.svelte +3 -0
- package/dist/icons/IconInfo.svelte.d.ts +26 -0
- package/dist/icons/IconLink.svelte +3 -0
- package/dist/icons/IconLink.svelte.d.ts +26 -0
- package/dist/icons/IconMenuBurger.svelte +3 -0
- package/dist/icons/IconMenuBurger.svelte.d.ts +26 -0
- package/dist/icons/IconMenuDots.svelte +3 -0
- package/dist/icons/IconMenuDots.svelte.d.ts +26 -0
- package/dist/icons/IconSearch.svelte +3 -0
- package/dist/icons/IconSearch.svelte.d.ts +26 -0
- package/dist/icons/IconShow.svelte +3 -0
- package/dist/icons/IconShow.svelte.d.ts +26 -0
- package/dist/icons/IconSuccess.svelte +3 -0
- package/dist/icons/IconSuccess.svelte.d.ts +26 -0
- package/dist/icons/IconWarning.svelte +3 -0
- package/dist/icons/IconWarning.svelte.d.ts +26 -0
- package/dist/icons/index.d.ts +14 -0
- package/dist/icons/index.js +14 -0
- package/dist/index.d.ts +3 -5
- package/dist/index.js +3 -5
- package/dist/util/StringOrComponent.svelte +20 -0
- package/dist/util/StringOrComponent.svelte.d.ts +8 -0
- package/dist/util/StringOrSnippet.svelte +16 -0
- package/dist/util/StringOrSnippet.svelte.d.ts +8 -0
- package/dist/util/attr.d.ts +5 -0
- package/dist/util/attr.js +21 -0
- package/dist/util/color.d.ts +51 -0
- package/dist/util/color.js +97 -0
- package/dist/util/dom.d.ts +15 -0
- package/dist/util/dom.js +73 -0
- package/dist/util/keyboard.svelte.d.ts +22 -0
- package/dist/util/keyboard.svelte.js +161 -0
- package/dist/util/locale.d.ts +1 -0
- package/dist/util/locale.js +47 -0
- package/dist/util/settings.d.ts +4 -0
- package/dist/util/settings.js +1 -0
- package/package.json +20 -11
- package/dist/css/0-layers.css +0 -1
package/dist/css/1-props.css
CHANGED
@@ -1,775 +1,440 @@
|
|
1
1
|
/**
|
2
|
-
*
|
2
|
+
* Design Token System for Lutra Components
|
3
|
+
*
|
4
|
+
* Naming Pattern: --{component}-{css-property}[-{state}][--{modifier}]
|
5
|
+
*
|
6
|
+
* Colors: subtlest, subtler, subtle, normal, strong, stronger, strongest
|
7
|
+
* States: selected, checked, disabled, invalid, valid, success, danger, warn, info, loading
|
8
|
+
* Modifiers (double-dash): --hover, --focus, --active, --visited
|
3
9
|
*/
|
4
10
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
}
|
16
|
-
|
17
|
-
@property --
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
}
|
22
|
-
|
23
|
-
@property --
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
}
|
28
|
-
|
29
|
-
@property --
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
@property --
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
}
|
46
|
-
|
47
|
-
@property --
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
}
|
52
|
-
|
53
|
-
@property --
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
}
|
58
|
-
|
59
|
-
@property --
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
@property --
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
}
|
11
|
+
|
12
|
+
/**
|
13
|
+
* Spacing Scale
|
14
|
+
*/
|
15
|
+
|
16
|
+
@property --base-size { syntax: "<length>"; inherits: true; initial-value: 16px; }
|
17
|
+
|
18
|
+
@property --space-025 { syntax: "<length>"; inherits: true; initial-value: 4px; }
|
19
|
+
@property --space-050 { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
20
|
+
@property --space-075 { syntax: "<length>"; inherits: true; initial-value: 12px; }
|
21
|
+
@property --space-100 { syntax: "<length>"; inherits: true; initial-value: 16px; }
|
22
|
+
@property --space-125 { syntax: "<length>"; inherits: true; initial-value: 20px; }
|
23
|
+
@property --space-150 { syntax: "<length>"; inherits: true; initial-value: 24px; }
|
24
|
+
@property --space-175 { syntax: "<length>"; inherits: true; initial-value: 28px; }
|
25
|
+
@property --space-200 { syntax: "<length>"; inherits: true; initial-value: 32px; }
|
26
|
+
@property --space-225 { syntax: "<length>"; inherits: true; initial-value: 36px; }
|
27
|
+
@property --space-250 { syntax: "<length>"; inherits: true; initial-value: 40px; }
|
28
|
+
@property --space-300 { syntax: "<length>"; inherits: true; initial-value: 48px; }
|
29
|
+
@property --space-350 { syntax: "<length>"; inherits: true; initial-value: 56px; }
|
30
|
+
@property --space-400 { syntax: "<length>"; inherits: true; initial-value: 64px; }
|
31
|
+
@property --space-450 { syntax: "<length>"; inherits: true; initial-value: 72px; }
|
32
|
+
@property --space-500 { syntax: "<length>"; inherits: true; initial-value: 80px; }
|
33
|
+
@property --space-550 { syntax: "<length>"; inherits: true; initial-value: 88px; }
|
34
|
+
@property --space-600 { syntax: "<length>"; inherits: true; initial-value: 96px; }
|
35
|
+
@property --space-700 { syntax: "<length>"; inherits: true; initial-value: 104px; }
|
36
|
+
@property --space-800 { syntax: "<length>"; inherits: true; initial-value: 112px; }
|
37
|
+
@property --space-900 { syntax: "<length>"; inherits: true; initial-value: 120px; }
|
38
|
+
@property --space-1000 { syntax: "<length>"; inherits: true; initial-value: 128px; }
|
39
|
+
|
40
|
+
@property --space-xs { syntax: "<length>"; inherits: true; initial-value: 4px; }
|
41
|
+
@property --space-sm { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
42
|
+
@property --space-md { syntax: "<length>"; inherits: true; initial-value: 16px; }
|
43
|
+
@property --space-lg { syntax: "<length>"; inherits: true; initial-value: 32px; }
|
44
|
+
@property --space-xl { syntax: "<length>"; inherits: true; initial-value: 64px; }
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Fonts
|
48
|
+
*/
|
49
|
+
|
50
|
+
@property --font-family { syntax: "<string>#"; inherits: true; initial-value: "sans-serif"; }
|
51
|
+
@property --font-family-heading { syntax: "<string>#"; inherits: true; initial-value: "sans-serif"; }
|
52
|
+
@property --font-family-mono { syntax: "<string>#"; inherits: true; initial-value: "monospace"; }
|
53
|
+
@property --font-scale { syntax: "<number>"; inherits: true; initial-value: 1.2; }
|
54
|
+
@property --font-size-base { syntax: "<length>"; inherits: true; initial-value: 16px; }
|
55
|
+
|
56
|
+
/* font size */
|
57
|
+
@property --font-size-xs { syntax: "<length>"; inherits: true; initial-value: 0.75em; }
|
58
|
+
@property --font-size-sm { syntax: "<length>"; inherits: true; initial-value: 0.875em; }
|
59
|
+
@property --font-size-p { syntax: "<length>"; inherits: true; initial-value: 1em; }
|
60
|
+
@property --font-size-h6 { syntax: "<length>"; inherits: true; initial-value: 1.25em; }
|
61
|
+
@property --font-size-h5 { syntax: "<length>"; inherits: true; initial-value: 1.5em; }
|
62
|
+
@property --font-size-h4 { syntax: "<length>"; inherits: true; initial-value: 1.75em; }
|
63
|
+
@property --font-size-h3 { syntax: "<length>"; inherits: true; initial-value: 2em; }
|
64
|
+
@property --font-size-h2 { syntax: "<length>"; inherits: true; initial-value: 2.5em; }
|
65
|
+
@property --font-size-h1 { syntax: "<length>"; inherits: true; initial-value: 3em; }
|
66
|
+
@property --font-size-hero { syntax: "<length>"; inherits: true; initial-value: 4em; }
|
67
|
+
@property --font-size-jumbo { syntax: "<length>"; inherits: true; initial-value: 5em; }
|
68
|
+
|
69
|
+
/* font weight */
|
70
|
+
@property --font-weight-thin { syntax: "<number>"; inherits: true; initial-value: 300; }
|
71
|
+
@property --font-weight-light { syntax: "<number>"; inherits: true; initial-value: 400; }
|
72
|
+
@property --font-weight-normal { syntax: "<number>"; inherits: true; initial-value: 500; }
|
73
|
+
@property --font-weight-medium { syntax: "<number>"; inherits: true; initial-value: 600; }
|
74
|
+
@property --font-weight-semibold { syntax: "<number>"; inherits: true; initial-value: 700; }
|
75
|
+
@property --font-weight-bold { syntax: "<number>"; inherits: true; initial-value: 800; }
|
76
|
+
@property --font-weight-black { syntax: "<number>"; inherits: true; initial-value: 900; }
|
77
|
+
|
78
|
+
@property --font-weight-p { syntax: "<number>"; inherits: true; initial-value: 400; }
|
79
|
+
@property --font-weight-h6 { syntax: "<number>"; inherits: true; initial-value: 500; }
|
80
|
+
@property --font-weight-h5 { syntax: "<number>"; inherits: true; initial-value: 600; }
|
81
|
+
@property --font-weight-h4 { syntax: "<number>"; inherits: true; initial-value: 600; }
|
82
|
+
@property --font-weight-h3 { syntax: "<number>"; inherits: true; initial-value: 600; }
|
83
|
+
@property --font-weight-h2 { syntax: "<number>"; inherits: true; initial-value: 700; }
|
84
|
+
@property --font-weight-h1 { syntax: "<number>"; inherits: true; initial-value: 800; }
|
85
|
+
@property --font-weight-hero { syntax: "<number>"; inherits: true; initial-value: 800; }
|
86
|
+
|
87
|
+
/* line height */
|
88
|
+
@property --font-line-height { syntax: "<number>"; inherits: true; initial-value: 1.5; }
|
89
|
+
@property --font-line-height-tight { syntax: "<number>"; inherits: true; initial-value: 1.2; }
|
90
|
+
@property --font-line-height-heading { syntax: "<number>"; inherits: true; initial-value: 1.2; }
|
91
|
+
@property --font-line-height-mono { syntax: "<number>"; inherits: true; initial-value: 1.5; }
|
92
|
+
|
93
|
+
/* text color */
|
94
|
+
@property --text-color-p { syntax: "*"; inherits: true; initial-value: #333333; }
|
95
|
+
@property --text-color-p-subtle { syntax: "*"; inherits: true; initial-value: #666666; }
|
96
|
+
@property --text-color-p-subtler { syntax: "*"; inherits: true; initial-value: #999999; }
|
97
|
+
@property --text-color-p-subtlest { syntax: "*"; inherits: true; initial-value: #cccccc; }
|
98
|
+
|
99
|
+
@property --text-color-heading { syntax: "*"; inherits: true; initial-value: #333333; }
|
100
|
+
@property --text-color-h6 { syntax: "*"; inherits: true; initial-value: #333333; }
|
101
|
+
@property --text-color-h5 { syntax: "*"; inherits: true; initial-value: #333333; }
|
102
|
+
@property --text-color-h4 { syntax: "*"; inherits: true; initial-value: #333333; }
|
103
|
+
@property --text-color-h3 { syntax: "*"; inherits: true; initial-value: #333333; }
|
104
|
+
@property --text-color-h2 { syntax: "*"; inherits: true; initial-value: #333333; }
|
105
|
+
@property --text-color-h1 { syntax: "*"; inherits: true; initial-value: #333333; }
|
106
|
+
@property --text-color-hero { syntax: "*"; inherits: true; initial-value: #333333; }
|
107
|
+
|
108
|
+
/* links */
|
109
|
+
|
110
|
+
@property --link-text-decoration { syntax: "<string>"; inherits: true; initial-value: none; }
|
111
|
+
@property --link-text-decoration-hover { syntax: "<string>"; inherits: true; initial-value: underline; }
|
112
|
+
|
113
|
+
@property --link-color { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
114
|
+
@property --link-color-visited { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
115
|
+
@property --link-color-active { syntax: "*"; inherits: true; initial-value: #1d4ed8; }
|
116
|
+
@property --link-color-hover { syntax: "*"; inherits: true; initial-value: #1d4ed8; }
|
117
|
+
@property --link-color-disabled { syntax: "*"; inherits: true; initial-value: #cccccc; }
|
118
|
+
@property --link-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
119
|
+
|
120
|
+
@property --link-icon-size { syntax: "<length>"; inherits: true; initial-value: 24px; }
|
121
|
+
@property --link-icon-order { syntax: "<number>"; inherits: true; initial-value: 1; }
|
70
122
|
|
71
123
|
/**
|
72
124
|
* Borders
|
73
125
|
*/
|
74
126
|
|
75
|
-
@property --border-radius
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
80
|
-
|
81
|
-
@property --border-
|
82
|
-
|
83
|
-
|
84
|
-
initial-value:
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
syntax: "
|
89
|
-
|
90
|
-
|
91
|
-
}
|
92
|
-
|
93
|
-
@property --border-color
|
94
|
-
|
95
|
-
inherits: true;
|
96
|
-
|
97
|
-
}
|
127
|
+
@property --border-radius-scale { syntax: "<number>"; inherits: true; initial-value: 1.2; }
|
128
|
+
@property --border-radius-base { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
129
|
+
@property --border-radius-sm { syntax: "<length>"; inherits: true; initial-value: 4px; }
|
130
|
+
@property --border-radius-lg { syntax: "<length>"; inherits: true; initial-value: 12px; }
|
131
|
+
@property --border-size-thin { syntax: "<length>"; inherits: true; initial-value: 1px; }
|
132
|
+
@property --border-size-thick { syntax: "<length>"; inherits: true; initial-value: 2px; }
|
133
|
+
@property --border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
134
|
+
|
135
|
+
@property --border-color { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
136
|
+
@property --border-color-subtle { syntax: "*"; inherits: true; initial-value: #e2e8f0; }
|
137
|
+
@property --border-color-strong { syntax: "*"; inherits: true; initial-value: #111111; }
|
138
|
+
@property --border-color-stronger { syntax: "*"; inherits: true; initial-value: #111111; }
|
139
|
+
|
140
|
+
@property --border-color-active { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
141
|
+
@property --border-color-inactive { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
142
|
+
@property --border-color-disabled { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
143
|
+
@property --border-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
144
|
+
@property --border-color-invalid { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
145
|
+
@property --border-color-valid { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
146
|
+
@property --border-color-success { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
147
|
+
@property --border-color-danger { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
148
|
+
@property --border-color-warn { syntax: "*"; inherits: true; initial-value: #ca8a04; }
|
149
|
+
@property --border-color-info { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
150
|
+
@property --border-color-selected { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
151
|
+
@property --border-color-interest { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
152
|
+
@property --border-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
98
153
|
|
99
154
|
/**
|
100
|
-
*
|
155
|
+
* Forms
|
101
156
|
*/
|
102
157
|
|
103
|
-
@property --
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
}
|
158
|
+
@property --form-background { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #ffffff; }
|
159
|
+
@property --form-background-actions { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #ffffff; }
|
160
|
+
@property --form-border-radius { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
161
|
+
@property --form-border-color { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #d1d5db; }
|
162
|
+
@property --form-border-size { syntax: "<length>"; inherits: true; initial-value: 1px; }
|
163
|
+
@property --form-border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
108
164
|
|
109
165
|
/**
|
110
|
-
*
|
166
|
+
* Fields
|
111
167
|
*/
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
initial-value:
|
116
|
-
}
|
117
|
-
|
118
|
-
@property --focus
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
}
|
168
|
+
|
169
|
+
@property --field-background { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
|
170
|
+
|
171
|
+
@property --field-background-active { syntax: "<color>"; inherits: true; initial-value: #2563eb; }
|
172
|
+
@property --field-background-inactive { syntax: "<color>"; inherits: true; initial-value: #f3f4f6; }
|
173
|
+
@property --field-background-disabled { syntax: "<color>"; inherits: true; initial-value: #f3f4f6; }
|
174
|
+
@property --field-background-focus { syntax: "<color>"; inherits: true; initial-value: #2563eb; }
|
175
|
+
@property --field-background-invalid { syntax: "<color>"; inherits: true; initial-value: #fef2f2; }
|
176
|
+
@property --field-background-valid { syntax: "<color>"; inherits: true; initial-value: #dcfce7; }
|
177
|
+
@property --field-background-success { syntax: "<color>"; inherits: true; initial-value: #dcfce7; }
|
178
|
+
@property --field-background-danger { syntax: "<color>"; inherits: true; initial-value: #fef2f2; }
|
179
|
+
@property --field-background-warn { syntax: "<color>"; inherits: true; initial-value: #fefce8; }
|
180
|
+
@property --field-background-info { syntax: "<color>"; inherits: true; initial-value: #eff6ff; }
|
181
|
+
@property --field-background-selected { syntax: "<color>"; inherits: true; initial-value: #eff6ff; }
|
182
|
+
@property --field-background-interest { syntax: "<color>"; inherits: true; initial-value: #f0f9ff; }
|
183
|
+
@property --field-background-loading { syntax: "<color>"; inherits: true; initial-value: #f0f9ff; }
|
184
|
+
|
185
|
+
@property --field-border-color { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
186
|
+
@property --field-border-color-active { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
187
|
+
@property --field-border-color-inactive { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
188
|
+
@property --field-border-color-disabled { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
189
|
+
@property --field-border-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
190
|
+
@property --field-border-color-invalid { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
191
|
+
@property --field-border-color-valid { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
192
|
+
@property --field-border-color-success { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
193
|
+
@property --field-border-color-danger { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
194
|
+
@property --field-border-color-warn { syntax: "*"; inherits: true; initial-value: #ca8a04; }
|
195
|
+
@property --field-border-color-info { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
196
|
+
@property --field-border-color-selected { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
197
|
+
@property --field-border-color-interest { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
198
|
+
@property --field-border-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
199
|
+
|
200
|
+
@property --field-border-size { syntax: "<length>"; inherits: true; initial-value: 1px; }
|
201
|
+
@property --field-border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
202
|
+
@property --field-border-radius { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
203
|
+
|
204
|
+
@property --field-color { syntax: "*"; inherits: true; initial-value: #1a1a1a; }
|
205
|
+
@property --field-color-active { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
206
|
+
@property --field-color-inactive { syntax: "*"; inherits: true; initial-value: #666666; }
|
207
|
+
@property --field-color-disabled { syntax: "*"; inherits: true; initial-value: #cccccc; }
|
208
|
+
@property --field-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
209
|
+
@property --field-color-invalid { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
210
|
+
@property --field-color-valid { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
211
|
+
@property --field-color-success { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
212
|
+
@property --field-color-danger { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
213
|
+
@property --field-color-warn { syntax: "*"; inherits: true; initial-value: #ca8a04; }
|
214
|
+
@property --field-color-info { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
215
|
+
@property --field-color-selected { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
216
|
+
@property --field-color-interest { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
217
|
+
@property --field-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
218
|
+
|
219
|
+
@property --field-label-color { syntax: "*"; inherits: true; initial-value: #111111; }
|
220
|
+
@property --field-label-font-size { syntax: "<length>"; inherits: true; initial-value: 1em; }
|
221
|
+
@property --field-label-font-weight { syntax: "<number>"; inherits: true; initial-value: 600; }
|
222
|
+
|
223
|
+
@property --field-placeholder-color { syntax: "*"; inherits: true; initial-value: #999999; }
|
224
|
+
@property --field-padding-inline { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
225
|
+
@property --field-padding-block { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
226
|
+
|
227
|
+
@property --field-icon-size { syntax: "<length>"; inherits: true; initial-value: 24px; }
|
228
|
+
@property --field-icon-order { syntax: "<number>"; inherits: true; initial-value: 1; }
|
123
229
|
|
124
230
|
/**
|
125
|
-
*
|
231
|
+
* Button Component
|
126
232
|
*/
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
@property --
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
}
|
233
|
+
|
234
|
+
@property --button-base-color { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
235
|
+
@property --button-base-color-hover { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
236
|
+
|
237
|
+
/* primary */
|
238
|
+
|
239
|
+
@property --button-submit-color { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
240
|
+
@property --button-submit-color-hover { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
241
|
+
@property --button-submit-color-disabled { syntax: "*"; inherits: true; initial-value: #cccccc; }
|
242
|
+
@property --button-submit-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
243
|
+
@property --button-submit-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
244
|
+
|
245
|
+
@property --button-submit-background { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
246
|
+
@property --button-submit-background-hover { syntax: "*"; inherits: true; initial-value: #1d4ed8; }
|
247
|
+
@property --button-submit-background-disabled { syntax: "*"; inherits: true; initial-value: #f3f4f6; }
|
248
|
+
@property --button-submit-background-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
249
|
+
@property --button-submit-background-loading { syntax: "*"; inherits: true; initial-value: #f0f9ff; }
|
250
|
+
|
251
|
+
@property --button-submit-border-color { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
252
|
+
@property --button-submit-border-color-hover { syntax: "*"; inherits: true; initial-value: #1d4ed8; }
|
253
|
+
@property --button-submit-border-color-disabled { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
254
|
+
@property --button-submit-border-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
255
|
+
@property --button-submit-border-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
256
|
+
|
257
|
+
/* action */
|
258
|
+
@property --button-action-color { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
259
|
+
@property --button-action-color-hover { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
260
|
+
@property --button-action-color-disabled { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
261
|
+
@property --button-action-color-focus { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
262
|
+
@property --button-action-color-loading { syntax: "*"; inherits: true; initial-value: #ffffff; }
|
263
|
+
|
264
|
+
@property --button-action-background { syntax: "*"; inherits: true; initial-value: #111111; }
|
265
|
+
@property --button-action-background-hover { syntax: "*"; inherits: true; initial-value: #111111; }
|
266
|
+
@property --button-action-background-disabled { syntax: "*"; inherits: true; initial-value: #f3f4f6; }
|
267
|
+
@property --button-action-background-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
268
|
+
@property --button-action-background-loading { syntax: "*"; inherits: true; initial-value: #f0f9ff; }
|
269
|
+
|
270
|
+
@property --button-action-border-color { syntax: "*"; inherits: true; initial-value: #111111; }
|
271
|
+
@property --button-action-border-color-hover { syntax: "*"; inherits: true; initial-value: #111111; }
|
272
|
+
@property --button-action-border-color-disabled { syntax: "*"; inherits: true; initial-value: #111111; }
|
273
|
+
@property --button-action-border-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
274
|
+
@property --button-action-border-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
275
|
+
|
276
|
+
/* danger */
|
277
|
+
@property --button-danger-color { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
278
|
+
@property --button-danger-color-hover { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
279
|
+
@property --button-danger-color-disabled { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
280
|
+
@property --button-danger-color-focus { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
281
|
+
@property --button-danger-color-loading { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
282
|
+
|
283
|
+
@property --button-danger-background { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
284
|
+
@property --button-danger-background-hover { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
285
|
+
@property --button-danger-background-disabled { syntax: "*"; inherits: true; initial-value: #f3f4f6; }
|
286
|
+
@property --button-danger-background-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
287
|
+
@property --button-danger-background-loading { syntax: "*"; inherits: true; initial-value: #f0f9ff; }
|
288
|
+
|
289
|
+
@property --button-danger-border-color { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
290
|
+
@property --button-danger-border-color-hover { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
291
|
+
@property --button-danger-border-color-disabled { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
292
|
+
@property --button-danger-border-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
293
|
+
@property --button-danger-border-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
294
|
+
|
295
|
+
/* success */
|
296
|
+
@property --button-success-color { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
297
|
+
@property --button-success-color-hover { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
298
|
+
@property --button-success-color-disabled { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
299
|
+
@property --button-success-color-focus { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
300
|
+
@property --button-success-color-loading { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
301
|
+
|
302
|
+
@property --button-success-background { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
303
|
+
@property --button-success-background-hover { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
304
|
+
@property --button-success-background-disabled { syntax: "*"; inherits: true; initial-value: #f3f4f6; }
|
305
|
+
@property --button-success-background-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
306
|
+
@property --button-success-background-loading { syntax: "*"; inherits: true; initial-value: #f0f9ff; }
|
307
|
+
|
308
|
+
@property --button-success-border-color { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
309
|
+
@property --button-success-border-color-hover { syntax: "*"; inherits: true; initial-value: #16a34a; }
|
310
|
+
@property --button-success-border-color-disabled { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
311
|
+
@property --button-success-border-color-focus { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
312
|
+
@property --button-success-border-color-loading { syntax: "*"; inherits: true; initial-value: #7c3aed; }
|
313
|
+
|
314
|
+
@property --button-border-size { syntax: "<length>"; inherits: true; initial-value: 1px; }
|
315
|
+
@property --button-border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
316
|
+
@property --button-border-radius { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
317
|
+
|
318
|
+
@property --button-padding-inline { syntax: "<length>"; inherits: true; initial-value: 16px; }
|
319
|
+
@property --button-padding-block { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
320
|
+
@property --button-padding { syntax: "*"; inherits: true; initial-value: 8px; }
|
321
|
+
@property --button-border { syntax: "*"; inherits: true; initial-value: none; }
|
322
|
+
|
323
|
+
@property --button-font-weight { syntax: "<number>"; inherits: true; initial-value: 500; }
|
324
|
+
|
325
|
+
@property --button-icon-size { syntax: "<length>"; inherits: true; initial-value: 24px; }
|
326
|
+
@property --button-icon-order { syntax: "<number>"; inherits: true; initial-value: 1; }
|
138
327
|
|
139
328
|
/**
|
140
|
-
*
|
329
|
+
* Shadows
|
141
330
|
*/
|
142
331
|
|
143
|
-
@property --
|
144
|
-
|
145
|
-
inherits: true;
|
146
|
-
initial-value: 16px;
|
147
|
-
}
|
148
|
-
|
149
|
-
@property --font-size-ratio {
|
150
|
-
syntax: "<number>";
|
151
|
-
inherits: true;
|
152
|
-
initial-value: 1.2;
|
153
|
-
}
|
154
|
-
|
155
|
-
@property --font-family {
|
156
|
-
syntax: "<string>#";
|
157
|
-
inherits: true;
|
158
|
-
initial-value: "Helvetica", "sans-serif";
|
159
|
-
}
|
160
|
-
|
161
|
-
@property --font-family-mono {
|
162
|
-
syntax: "<string>#";
|
163
|
-
inherits: true;
|
164
|
-
initial-value: "monospace";
|
165
|
-
}
|
166
|
-
|
167
|
-
@property --font-weight-regular {
|
168
|
-
syntax: "<number>";
|
169
|
-
inherits: true;
|
170
|
-
initial-value: 400;
|
171
|
-
}
|
172
|
-
|
173
|
-
@property --font-weight-medium {
|
174
|
-
syntax: "<number>";
|
175
|
-
inherits: true;
|
176
|
-
initial-value: 500;
|
177
|
-
}
|
178
|
-
|
179
|
-
@property --font-weight-semibold {
|
180
|
-
syntax: "<number>";
|
181
|
-
inherits: true;
|
182
|
-
initial-value: 600;
|
183
|
-
}
|
184
|
-
|
185
|
-
@property --font-weight-bold {
|
186
|
-
syntax: "<number>";
|
187
|
-
inherits: true;
|
188
|
-
initial-value: 700;
|
189
|
-
}
|
190
|
-
|
191
|
-
@property --line-height {
|
192
|
-
syntax: "<length-percentage> | <number>";
|
193
|
-
inherits: true;
|
194
|
-
initial-value: 1.5;
|
195
|
-
}
|
196
|
-
|
197
|
-
@property --text-color {
|
198
|
-
syntax: "<color>";
|
199
|
-
inherits: true;
|
200
|
-
initial-value: #333;
|
201
|
-
}
|
202
|
-
|
203
|
-
@property --text-color-subtle {
|
204
|
-
syntax: "<color>";
|
205
|
-
inherits: true;
|
206
|
-
initial-value: #666;
|
207
|
-
}
|
208
|
-
|
209
|
-
@property --text-color-subtler {
|
210
|
-
syntax: "<color>";
|
211
|
-
inherits: true;
|
212
|
-
initial-value: #ccc;
|
213
|
-
}
|
214
|
-
|
215
|
-
@property --text-color-subtlest {
|
216
|
-
syntax: "<color>";
|
217
|
-
inherits: true;
|
218
|
-
initial-value: #ddd;
|
219
|
-
}
|
220
|
-
|
221
|
-
@property --text-color-heading {
|
222
|
-
syntax: "<color>";
|
223
|
-
inherits: true;
|
224
|
-
initial-value: black;
|
225
|
-
}
|
226
|
-
|
227
|
-
@property --text-color-link {
|
228
|
-
syntax: "<color>";
|
229
|
-
inherits: true;
|
230
|
-
initial-value: #007bff;
|
231
|
-
}
|
232
|
-
|
233
|
-
@property --text-color-link-hover {
|
234
|
-
syntax: "<color>";
|
235
|
-
inherits: true;
|
236
|
-
initial-value: #0056b3;
|
237
|
-
}
|
238
|
-
|
239
|
-
@property --text-color-link-active {
|
240
|
-
syntax: "<color>";
|
241
|
-
inherits: true;
|
242
|
-
initial-value: #0056b3;
|
243
|
-
}
|
244
|
-
|
245
|
-
@property --text-color-link-visited {
|
246
|
-
syntax: "<color>";
|
247
|
-
inherits: true;
|
248
|
-
initial-value: #0056b3;
|
249
|
-
}
|
250
|
-
|
251
|
-
@property --text-link-decoration {
|
252
|
-
syntax: "<string>";
|
253
|
-
inherits: true;
|
254
|
-
initial-value: none;
|
255
|
-
}
|
256
|
-
|
257
|
-
@property --text-link-decoration-hover {
|
258
|
-
syntax: "<string>";
|
259
|
-
inherits: true;
|
260
|
-
initial-value: underline;
|
261
|
-
}
|
332
|
+
@property --shadow-color { syntax: "*"; inherits: true; initial-value: rgba(0, 0, 0, 0.1); }
|
333
|
+
@property --shadow-base { syntax: "<shadow>"; inherits: true; initial-value: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
|
262
334
|
|
263
335
|
/**
|
264
|
-
*
|
336
|
+
* Code
|
265
337
|
*/
|
266
338
|
|
267
|
-
@property --code-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
}
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
initial-value: #f8f9fa;
|
277
|
-
}
|
278
|
-
|
279
|
-
@property --code-border-color {
|
280
|
-
syntax: "<color>";
|
281
|
-
inherits: true;
|
282
|
-
initial-value: #ccc;
|
283
|
-
}
|
284
|
-
|
285
|
-
@property --code-border-size {
|
286
|
-
syntax: "<length>";
|
287
|
-
inherits: true;
|
288
|
-
initial-value: 1px;
|
289
|
-
}
|
339
|
+
@property --code-background { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #f8fafc; }
|
340
|
+
@property --code-color { syntax: "*"; inherits: true; initial-value: #1a1a1a; }
|
341
|
+
@property --code-border-color { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
342
|
+
@property --code-border-size { syntax: "<length>"; inherits: true; initial-value: 0; }
|
343
|
+
@property --code-border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
344
|
+
@property --code-border-radius { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
345
|
+
|
346
|
+
@property --code-padding-inline { syntax: "<length>"; inherits: true; initial-value: 16px; }
|
347
|
+
@property --code-padding-block { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
290
348
|
|
291
349
|
/**
|
292
|
-
*
|
350
|
+
* Backgrounds
|
293
351
|
*/
|
294
352
|
|
295
|
-
@property --
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
}
|
300
|
-
|
301
|
-
@property --
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
}
|
306
|
-
|
307
|
-
@property --
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
}
|
312
|
-
|
313
|
-
@property --button-bg-color {
|
314
|
-
syntax: "<color>";
|
315
|
-
inherits: true;
|
316
|
-
initial-value: #007bff;
|
317
|
-
}
|
318
|
-
|
319
|
-
@property --button-border-size {
|
320
|
-
syntax: "<length>";
|
321
|
-
inherits: true;
|
322
|
-
initial-value: 1px;
|
323
|
-
}
|
324
|
-
|
325
|
-
@property --button-border-style {
|
326
|
-
syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset";
|
327
|
-
inherits: true;
|
328
|
-
initial-value: solid;
|
329
|
-
}
|
330
|
-
|
331
|
-
@property --button-border-color {
|
332
|
-
syntax: "<color>";
|
333
|
-
inherits: true;
|
334
|
-
initial-value: #007bff;
|
335
|
-
}
|
336
|
-
|
337
|
-
@property --button-hover-text-color {
|
338
|
-
syntax: "<color>";
|
339
|
-
inherits: true;
|
340
|
-
initial-value: white;
|
341
|
-
}
|
342
|
-
|
343
|
-
@property --button-hover-bg-color {
|
344
|
-
syntax: "<color>";
|
345
|
-
inherits: true;
|
346
|
-
initial-value: #0056b3;
|
347
|
-
}
|
348
|
-
|
349
|
-
@property --button-hover-border-color {
|
350
|
-
syntax: "<color>";
|
351
|
-
inherits: true;
|
352
|
-
initial-value: #0056b3;
|
353
|
-
}
|
354
|
-
|
355
|
-
/* Active */
|
356
|
-
|
357
|
-
@property --button-active-text-color {
|
358
|
-
syntax: "<color>";
|
359
|
-
inherits: true;
|
360
|
-
initial-value: white;
|
361
|
-
}
|
362
|
-
|
363
|
-
@property --button-active-bg-color {
|
364
|
-
syntax: "<color>";
|
365
|
-
inherits: true;
|
366
|
-
initial-value: #0056b3;
|
367
|
-
}
|
368
|
-
|
369
|
-
@property --button-active-border-color {
|
370
|
-
syntax: "<color>";
|
371
|
-
inherits: true;
|
372
|
-
initial-value: #0056b3;
|
373
|
-
}
|
374
|
-
|
375
|
-
/* Secondary */
|
376
|
-
|
377
|
-
@property --button-secondary-text-color {
|
378
|
-
syntax: "<color>";
|
379
|
-
inherits: true;
|
380
|
-
initial-value: #007bff;
|
381
|
-
}
|
382
|
-
|
383
|
-
@property --button-secondary-bg-color {
|
384
|
-
syntax: "<color>";
|
385
|
-
inherits: true;
|
386
|
-
initial-value: #f8f9fa;
|
387
|
-
}
|
388
|
-
|
389
|
-
@property --button-secondary-border-color {
|
390
|
-
syntax: "<color>";
|
391
|
-
inherits: true;
|
392
|
-
initial-value: #f8f9fa;
|
393
|
-
}
|
394
|
-
|
395
|
-
@property --button-secondary-hover-text-color {
|
396
|
-
syntax: "<color>";
|
397
|
-
inherits: true;
|
398
|
-
initial-value: #007bff;
|
399
|
-
}
|
400
|
-
|
401
|
-
@property --button-secondary-hover-bg-color {
|
402
|
-
syntax: "<color>";
|
403
|
-
inherits: true;
|
404
|
-
initial-value: #e9ecef;
|
405
|
-
}
|
406
|
-
|
407
|
-
@property --button-secondary-active-text-color {
|
408
|
-
syntax: "<color>";
|
409
|
-
inherits: true;
|
410
|
-
initial-value: #007bff;
|
411
|
-
}
|
412
|
-
|
413
|
-
@property --button-secondary-active-bg-color {
|
414
|
-
syntax: "<color>";
|
415
|
-
inherits: true;
|
416
|
-
initial-value: #e9ecef;
|
417
|
-
}
|
418
|
-
|
419
|
-
/* Warning button */
|
420
|
-
|
421
|
-
@property --button-warning-text-color {
|
422
|
-
syntax: "<color>";
|
423
|
-
inherits: true;
|
424
|
-
initial-value: #FFC107;
|
425
|
-
}
|
426
|
-
|
427
|
-
@property --button-warning-bg-color {
|
428
|
-
syntax: "<color>";
|
429
|
-
inherits: true;
|
430
|
-
initial-value: #FFF3CD;
|
431
|
-
}
|
432
|
-
|
433
|
-
@property --button-warning-border-color {
|
434
|
-
syntax: "<color>";
|
435
|
-
inherits: true;
|
436
|
-
initial-value: #FFC107;
|
437
|
-
}
|
438
|
-
|
439
|
-
@property --button-warning-hover-text-color {
|
440
|
-
syntax: "<color>";
|
441
|
-
inherits: true;
|
442
|
-
initial-value: #FFC107;
|
443
|
-
}
|
444
|
-
|
445
|
-
@property --button-warning-hover-bg-color {
|
446
|
-
syntax: "<color>";
|
447
|
-
inherits: true;
|
448
|
-
initial-value: #FFC107;
|
449
|
-
}
|
450
|
-
|
451
|
-
@property --button-warning-hover-border-color {
|
452
|
-
syntax: "<color>";
|
453
|
-
inherits: true;
|
454
|
-
initial-value: #FFC107;
|
455
|
-
}
|
456
|
-
|
457
|
-
@property --button-warning-active-text-color {
|
458
|
-
syntax: "<color>";
|
459
|
-
inherits: true;
|
460
|
-
initial-value: #212529;
|
461
|
-
}
|
462
|
-
|
463
|
-
@property --button-warning-active-bg-color {
|
464
|
-
syntax: "<color>";
|
465
|
-
inherits: true;
|
466
|
-
initial-value: #E0A800;
|
467
|
-
}
|
468
|
-
|
469
|
-
@property --button-warning-active-border-color {
|
470
|
-
syntax: "<color>";
|
471
|
-
inherits: true;
|
472
|
-
initial-value: #D39E00;
|
473
|
-
}
|
474
|
-
|
475
|
-
/* Danger/Error button */
|
476
|
-
|
477
|
-
@property --button-danger-text-color {
|
478
|
-
syntax: "<color>";
|
479
|
-
inherits: true;
|
480
|
-
initial-value: white;
|
481
|
-
}
|
482
|
-
|
483
|
-
@property --button-danger-bg-color {
|
484
|
-
syntax: "<color>";
|
485
|
-
inherits: true;
|
486
|
-
initial-value: var(--state-error-color);
|
487
|
-
}
|
488
|
-
|
489
|
-
@property --button-danger-border-color {
|
490
|
-
syntax: "<color>";
|
491
|
-
inherits: true;
|
492
|
-
initial-value: var(--state-error-color);
|
493
|
-
}
|
494
|
-
|
495
|
-
@property --button-danger-hover-text-color {
|
496
|
-
syntax: "<color>";
|
497
|
-
inherits: true;
|
498
|
-
initial-value: white;
|
499
|
-
}
|
500
|
-
|
501
|
-
@property --button-danger-hover-bg-color {
|
502
|
-
syntax: "<color>";
|
503
|
-
inherits: true;
|
504
|
-
initial-value: #C82333;
|
505
|
-
}
|
506
|
-
|
507
|
-
@property --button-danger-hover-border-color {
|
508
|
-
syntax: "<color>";
|
509
|
-
inherits: true;
|
510
|
-
initial-value: #BD2130;
|
511
|
-
}
|
512
|
-
|
513
|
-
@property --button-danger-active-text-color {
|
514
|
-
syntax: "<color>";
|
515
|
-
inherits: true;
|
516
|
-
initial-value: white;
|
517
|
-
}
|
518
|
-
|
519
|
-
@property --button-danger-active-bg-color {
|
520
|
-
syntax: "<color>";
|
521
|
-
inherits: true;
|
522
|
-
initial-value: #BD2130;
|
523
|
-
}
|
524
|
-
|
525
|
-
@property --button-danger-active-border-color {
|
526
|
-
syntax: "<color>";
|
527
|
-
inherits: true;
|
528
|
-
initial-value: #B21F2D;
|
529
|
-
}
|
530
|
-
|
531
|
-
/* Tertiary/Ghost button */
|
532
|
-
|
533
|
-
@property --button-tertiary-text-color {
|
534
|
-
syntax: "<color>";
|
535
|
-
inherits: true;
|
536
|
-
initial-value: var(--text-color-link);
|
537
|
-
}
|
538
|
-
|
539
|
-
@property --button-tertiary-bg-color {
|
540
|
-
syntax: "<color>";
|
541
|
-
inherits: true;
|
542
|
-
initial-value: transparent;
|
543
|
-
}
|
544
|
-
|
545
|
-
@property --button-tertiary-border-color {
|
546
|
-
syntax: "<color>";
|
547
|
-
inherits: true;
|
548
|
-
initial-value: transparent;
|
549
|
-
}
|
550
|
-
|
551
|
-
@property --button-tertiary-hover-text-color {
|
552
|
-
syntax: "<color>";
|
553
|
-
inherits: true;
|
554
|
-
initial-value: var(--text-color-link-hover);
|
555
|
-
}
|
556
|
-
|
557
|
-
@property --button-tertiary-hover-bg-color {
|
558
|
-
syntax: "<color>";
|
559
|
-
inherits: true;
|
560
|
-
initial-value: rgba(0, 0, 0, 0.05);
|
561
|
-
}
|
562
|
-
|
563
|
-
@property --button-tertiary-hover-border-color {
|
564
|
-
syntax: "<color>";
|
565
|
-
inherits: true;
|
566
|
-
initial-value: transparent;
|
567
|
-
}
|
568
|
-
|
569
|
-
@property --button-tertiary-active-text-color {
|
570
|
-
syntax: "<color>";
|
571
|
-
inherits: true;
|
572
|
-
initial-value: var(--text-color-link-active);
|
573
|
-
}
|
574
|
-
|
575
|
-
@property --button-tertiary-active-bg-color {
|
576
|
-
syntax: "<color>";
|
577
|
-
inherits: true;
|
578
|
-
initial-value: rgba(0, 0, 0, 0.1);
|
579
|
-
}
|
580
|
-
|
581
|
-
@property --button-tertiary-active-border-color {
|
582
|
-
syntax: "<color>";
|
583
|
-
inherits: true;
|
584
|
-
initial-value: transparent;
|
585
|
-
}
|
353
|
+
@property --background-body { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #ffffff; }
|
354
|
+
@property --background-main { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #ffffff; }
|
355
|
+
@property --background-main-subtle { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #f8fafc; }
|
356
|
+
|
357
|
+
@property --background-active { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #2563eb; }
|
358
|
+
@property --background-inactive { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #f3f4f6; }
|
359
|
+
@property --background-disabled { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #f3f4f6; }
|
360
|
+
@property --background-focus { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #2563eb; }
|
361
|
+
@property --background-invalid { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #fef2f2; }
|
362
|
+
@property --background-valid { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #dcfce7; }
|
363
|
+
@property --background-success { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #dcfce7; }
|
364
|
+
@property --background-danger { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #fef2f2; }
|
365
|
+
@property --background-warn { syntax: "<color>"; inherits: true; initial-value: #fefce8; }
|
366
|
+
@property --background-info { syntax: "<color>"; inherits: true; initial-value: #eff6ff; }
|
367
|
+
@property --background-selected { syntax: "<color>"; inherits: true; initial-value: #eff6ff; }
|
368
|
+
@property --background-interest { syntax: "<color>"; inherits: true; initial-value: #f0f9ff; }
|
369
|
+
@property --background-loading { syntax: "<color>"; inherits: true; initial-value: #f0f9ff; }
|
586
370
|
|
587
371
|
/**
|
588
|
-
*
|
372
|
+
* Status Colors
|
589
373
|
*/
|
590
374
|
|
591
|
-
@property --
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
}
|
375
|
+
@property --status-default-background { syntax: "<color>"; inherits: true; initial-value: #111111; }
|
376
|
+
@property --status-default-color { syntax: "<color>"; inherits: true; initial-value: #111111; }
|
377
|
+
@property --status-ok-background { syntax: "<color>"; inherits: true; initial-value: #16a34a; }
|
378
|
+
@property --status-ok-color { syntax: "<color>"; inherits: true; initial-value: #16a34a; }
|
379
|
+
@property --status-alert-background { syntax: "<color>"; inherits: true; initial-value: #dc2626; }
|
380
|
+
@property --status-alert-color { syntax: "<color>"; inherits: true; initial-value: #dc2626; }
|
381
|
+
@property --status-warn-background { syntax: "<color>"; inherits: true; initial-value: #ca8a04; }
|
382
|
+
@property --status-warn-color { syntax: "<color>"; inherits: true; initial-value: #ca8a04; }
|
383
|
+
@property --status-info-background { syntax: "<color>"; inherits: true; initial-value: #2563eb; }
|
384
|
+
@property --status-info-color { syntax: "<color>"; inherits: true; initial-value: #2563eb; }
|
385
|
+
@property --status-task-background { syntax: "<color>"; inherits: true; initial-value: #7c3aed; }
|
386
|
+
@property --status-task-color { syntax: "<color>"; inherits: true; initial-value: #7c3aed; }
|
596
387
|
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
initial-value: blur(10px);
|
601
|
-
}
|
388
|
+
/**
|
389
|
+
* Focus
|
390
|
+
*/
|
602
391
|
|
603
|
-
@property --
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
}
|
392
|
+
@property --focus-ring { syntax: "*"; inherits: true; initial-value: 2px solid #2563eb; }
|
393
|
+
@property --focus-ring-size { syntax: "<length>"; inherits: true; initial-value: 2px; }
|
394
|
+
@property --focus-ring-color { syntax: "*"; inherits: true; initial-value: #2563eb; }
|
395
|
+
@property --focus-ring-color-invalid { syntax: "*"; inherits: true; initial-value: #dc2626; }
|
396
|
+
@property --focus-ring-offset { syntax: "<length>"; inherits: true; initial-value: 0px; }
|
608
397
|
|
609
398
|
/**
|
610
399
|
* Transitions
|
611
400
|
*/
|
612
401
|
|
613
|
-
@property --transition-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
}
|
402
|
+
@property --transition-duration-fast { syntax: "<time>"; inherits: true; initial-value: 0.15s; }
|
403
|
+
@property --transition-duration-base { syntax: "<time>"; inherits: true; initial-value: 0.3s; }
|
404
|
+
@property --transition-duration-slow { syntax: "<time>"; inherits: true; initial-value: 0.5s; }
|
405
|
+
@property --transition-timing-function { syntax: "*"; inherits: true; initial-value: cubic-bezier(0.4, 0, 0.2, 1); }
|
618
406
|
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
initial-value: 0.1s;
|
623
|
-
}
|
407
|
+
/**
|
408
|
+
* Tooltips
|
409
|
+
*/
|
624
410
|
|
625
|
-
@property --
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
}
|
411
|
+
@property --tooltip-background { syntax: "<color># | <image># | <gradient>#"; inherits: true; initial-value: #ffffff; }
|
412
|
+
@property --tooltip-color { syntax: "*"; inherits: true; initial-value: #1a1a1a; }
|
413
|
+
@property --tooltip-border-color { syntax: "*"; inherits: true; initial-value: #d1d5db; }
|
414
|
+
@property --tooltip-border-size { syntax: "<length>"; inherits: true; initial-value: 0; }
|
415
|
+
@property --tooltip-border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
416
|
+
@property --tooltip-border-radius { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
417
|
+
@property --tooltip-shadow-color { syntax: "*"; inherits: true; initial-value: #000000; }
|
630
418
|
|
631
419
|
/**
|
632
|
-
*
|
420
|
+
* Notifications
|
633
421
|
*/
|
634
422
|
|
635
|
-
@property --
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
}
|
640
|
-
|
641
|
-
@property --state-warn-bg {
|
642
|
-
syntax: "<color>";
|
643
|
-
inherits: true;
|
644
|
-
initial-value: #FFF3CD; /* Light Yellow */
|
645
|
-
}
|
646
|
-
|
647
|
-
@property --state-warn-border {
|
648
|
-
syntax: "<color>";
|
649
|
-
inherits: true;
|
650
|
-
initial-value: #FFEEBA; /* Darker Yellow */
|
651
|
-
}
|
652
|
-
|
653
|
-
@property --state-warn-text {
|
654
|
-
syntax: "<color>";
|
655
|
-
inherits: true;
|
656
|
-
initial-value: #856404; /* Dark Yellow/Brown text */
|
657
|
-
}
|
658
|
-
|
659
|
-
@property --state-info-color {
|
660
|
-
syntax: "<color>";
|
661
|
-
inherits: true;
|
662
|
-
initial-value: #007BFF; /* Bright Blue */
|
663
|
-
}
|
664
|
-
|
665
|
-
@property --state-info-bg {
|
666
|
-
syntax: "<color>";
|
667
|
-
inherits: true;
|
668
|
-
initial-value: #E0F2FE; /* Light Blue */
|
669
|
-
}
|
670
|
-
|
671
|
-
@property --state-info-border {
|
672
|
-
syntax: "<color>";
|
673
|
-
inherits: true;
|
674
|
-
initial-value: #7DD3FC; /* Medium Blue */
|
675
|
-
}
|
676
|
-
|
677
|
-
@property --state-info-text {
|
678
|
-
syntax: "<color>";
|
679
|
-
inherits: true;
|
680
|
-
initial-value: #0C4A6E; /* Dark Blue */
|
681
|
-
}
|
682
|
-
|
683
|
-
@property --state-success-color {
|
684
|
-
syntax: "<color>";
|
685
|
-
inherits: true;
|
686
|
-
initial-value: #28A745; /* Green */
|
687
|
-
}
|
688
|
-
|
689
|
-
@property --state-success-bg {
|
690
|
-
syntax: "<color>";
|
691
|
-
inherits: true;
|
692
|
-
initial-value: #DCFCE7; /* Light Green */
|
693
|
-
}
|
694
|
-
|
695
|
-
@property --state-success-border {
|
696
|
-
syntax: "<color>";
|
697
|
-
inherits: true;
|
698
|
-
initial-value: #86EFAC; /* Medium Green */
|
699
|
-
}
|
700
|
-
|
701
|
-
@property --state-success-text {
|
702
|
-
syntax: "<color>";
|
703
|
-
inherits: true;
|
704
|
-
initial-value: #166534; /* Dark Green */
|
705
|
-
}
|
706
|
-
|
707
|
-
@property --state-error-color {
|
708
|
-
syntax: "<color>";
|
709
|
-
inherits: true;
|
710
|
-
initial-value: #DC3545; /* Red */
|
711
|
-
}
|
712
|
-
|
713
|
-
@property --state-error-bg {
|
714
|
-
syntax: "<color>";
|
715
|
-
inherits: true;
|
716
|
-
initial-value: #FEE2E2; /* Light Red */
|
717
|
-
}
|
718
|
-
|
719
|
-
@property --state-error-border {
|
720
|
-
syntax: "<color>";
|
721
|
-
inherits: true;
|
722
|
-
initial-value: #FCA5A5; /* Medium Red */
|
723
|
-
}
|
724
|
-
|
725
|
-
@property --state-error-text {
|
726
|
-
syntax: "<color>";
|
727
|
-
inherits: true;
|
728
|
-
initial-value: #991B1B; /* Dark Red */
|
729
|
-
}
|
730
|
-
|
731
|
-
@property --state-processing-color {
|
732
|
-
syntax: "<color>";
|
733
|
-
inherits: true;
|
734
|
-
initial-value: #6F42C1; /* Purple */
|
735
|
-
}
|
736
|
-
|
737
|
-
@property --state-processing-bg {
|
738
|
-
syntax: "<color>";
|
739
|
-
inherits: true;
|
740
|
-
initial-value: #EDE9FE; /* Light Purple */
|
741
|
-
}
|
742
|
-
|
743
|
-
@property --state-processing-border {
|
744
|
-
syntax: "<color>";
|
745
|
-
inherits: true;
|
746
|
-
initial-value: #C4B5FD; /* Medium Purple */
|
747
|
-
}
|
748
|
-
|
749
|
-
@property --state-processing-text {
|
750
|
-
syntax: "<color>";
|
751
|
-
inherits: true;
|
752
|
-
initial-value: #5B21B6; /* Dark Purple */
|
753
|
-
}
|
423
|
+
@property --notification-background-color { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
|
424
|
+
@property --notification-border-color { syntax: "*"; inherits: true; initial-value: #cccccc; }
|
425
|
+
@property --notification-border-size { syntax: "<length>"; inherits: true; initial-value: 1px; }
|
426
|
+
@property --notification-border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
427
|
+
@property --notification-border-radius { syntax: "<length>"; inherits: true; initial-value: 8px; }
|
754
428
|
|
755
429
|
/**
|
756
|
-
*
|
430
|
+
* Menu
|
757
431
|
*/
|
758
432
|
|
759
|
-
@property --
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
}
|
764
|
-
|
765
|
-
@property --
|
766
|
-
|
767
|
-
inherits: true;
|
768
|
-
initial-value: 0.1;
|
769
|
-
}
|
770
|
-
|
771
|
-
@property --shadow-blur {
|
772
|
-
syntax: "<length>";
|
773
|
-
inherits: true;
|
774
|
-
initial-value: 10px;
|
775
|
-
}
|
433
|
+
@property --menu-background-color { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
|
434
|
+
@property --menu-background-color-hover { syntax: "<color>"; inherits: true; initial-value: #dde8f2; }
|
435
|
+
@property --menu-text-color { syntax: "*"; inherits: true; initial-value: #1a1a1a; }
|
436
|
+
@property --menu-text-color-subtle { syntax: "*"; inherits: true; initial-value: #666666; }
|
437
|
+
@property --menu-border-color { syntax: "*"; inherits: true; initial-value: #cccccc; }
|
438
|
+
@property --menu-border-size { syntax: "<length>"; inherits: true; initial-value: 1px; }
|
439
|
+
@property --menu-border-style { syntax: "solid | dashed | dotted | double | groove | ridge | inset | outset"; inherits: true; initial-value: solid; }
|
440
|
+
@property --menu-border-radius { syntax: "<length>"; inherits: true; initial-value: 8px; }
|