@codemonster-ru/vueforge-core 1.7.0 → 1.9.0
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/README.md +26 -19
- package/dist/components/breadcrumbs/VfBreadcrumbs.vue.d.ts +13 -0
- package/dist/components/breadcrumbs/VfBreadcrumbs.vue.d.ts.map +1 -0
- package/dist/components/breadcrumbs/index.d.ts +2 -0
- package/dist/components/breadcrumbs/index.d.ts.map +1 -0
- package/dist/components/dialog/VfDialog.vue.d.ts.map +1 -1
- package/dist/components/drawer/VfDrawer.vue.d.ts +2 -0
- package/dist/components/drawer/VfDrawer.vue.d.ts.map +1 -1
- package/dist/components/dropdown/VfDropdown.vue.d.ts +2 -0
- package/dist/components/dropdown/VfDropdown.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +4 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/link/VfLink.vue.d.ts +4 -4
- package/dist/components/link/VfLink.vue.d.ts.map +1 -1
- package/dist/components/menu-bar/VfMenuBar.vue.d.ts +26 -0
- package/dist/components/menu-bar/VfMenuBar.vue.d.ts.map +1 -0
- package/dist/components/menu-bar/VfMenuBarItemNode.vue.d.ts +18 -0
- package/dist/components/menu-bar/VfMenuBarItemNode.vue.d.ts.map +1 -0
- package/dist/components/menu-bar/index.d.ts +2 -0
- package/dist/components/menu-bar/index.d.ts.map +1 -0
- package/dist/components/nav-menu/VfNavMenu.vue.d.ts +3 -1
- package/dist/components/nav-menu/VfNavMenu.vue.d.ts.map +1 -1
- package/dist/components/nav-menu/VfNavMenuItemNode.vue.d.ts.map +1 -1
- package/dist/components/select/VfSelect.vue.d.ts +31 -0
- package/dist/components/select/VfSelect.vue.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/{prose/VfProse.vue.d.ts → table/VfTable.vue.d.ts} +14 -5
- package/dist/components/table/VfTable.vue.d.ts.map +1 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/index.d.ts.map +1 -0
- package/dist/components/table-of-contents/VfTableOfContents.vue.d.ts +7 -18
- package/dist/components/table-of-contents/VfTableOfContents.vue.d.ts.map +1 -1
- package/dist/components/tabs/VfTabs.vue.d.ts +6 -2
- package/dist/components/tabs/VfTabs.vue.d.ts.map +1 -1
- package/dist/components/theme-switch/VfThemeSwitch.vue.d.ts.map +1 -1
- package/dist/components/tooltip/VfTooltip.vue.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/providers/VfThemeProvider.vue.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/theme/default-preset-source.d.ts +41 -10
- package/dist/theme/default-preset-source.d.ts.map +1 -1
- package/dist/theme/utils.d.ts.map +1 -1
- package/dist/theme-api.js +1 -1
- package/dist/theme.css +26 -18
- package/dist/tokens.css +86 -55
- package/dist/types/components.d.ts +15 -3
- package/dist/types/components.d.ts.map +1 -1
- package/dist/types/theme.d.ts +43 -8
- package/dist/types/theme.d.ts.map +1 -1
- package/dist/{utils-T2JkaeUr.js → utils-CsZ7hQHm.js} +118 -82
- package/dist/vueforge-core.js +1975 -1263
- package/package.json +5 -2
- package/dist/components/heading/VfHeading.vue.d.ts +0 -26
- package/dist/components/heading/VfHeading.vue.d.ts.map +0 -1
- package/dist/components/heading/index.d.ts +0 -2
- package/dist/components/heading/index.d.ts.map +0 -1
- package/dist/components/prose/VfProse.vue.d.ts.map +0 -1
- package/dist/components/prose/index.d.ts +0 -2
- package/dist/components/prose/index.d.ts.map +0 -1
- package/dist/components/text/VfText.vue.d.ts +0 -28
- package/dist/components/text/VfText.vue.d.ts.map +0 -1
- package/dist/components/text/index.d.ts +0 -2
- package/dist/components/text/index.d.ts.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { vfMotionTokens as e, createThemePreset as t, resolveThemeConfig as
|
|
1
|
+
import { vfMotionTokens as e, createThemePreset as t, resolveThemeConfig as n, applyThemeConfig as l } from "@codemonster-ru/vueforge-theme";
|
|
2
2
|
import { b as o } from "./breakpoints-hxAiWC8U.js";
|
|
3
|
-
const
|
|
3
|
+
const i = {
|
|
4
4
|
breakpointXs: `${o.xs}px`,
|
|
5
5
|
breakpointSm: `${o.sm}px`,
|
|
6
6
|
breakpointMd: `${o.md}px`,
|
|
@@ -10,8 +10,8 @@ const l = {
|
|
|
10
10
|
}, c = {
|
|
11
11
|
name: "vueforge-default",
|
|
12
12
|
tokens: {
|
|
13
|
-
fontFamilyBase: 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
|
|
14
|
-
fontFamilyHeading: 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
|
|
13
|
+
fontFamilyBase: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
|
|
14
|
+
fontFamilyHeading: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',
|
|
15
15
|
fontFamilyMono: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace',
|
|
16
16
|
fontWeightRegular: "400",
|
|
17
17
|
fontWeightMedium: "500",
|
|
@@ -27,6 +27,41 @@ const l = {
|
|
|
27
27
|
lineHeightTight: "1.2",
|
|
28
28
|
lineHeightNormal: "1.5",
|
|
29
29
|
lineHeightRelaxed: "1.65",
|
|
30
|
+
selectableHoverColor: "var(--vf-color-primary)",
|
|
31
|
+
selectableHoverBackground: "transparent",
|
|
32
|
+
selectableActiveColor: "var(--vf-color-primary)",
|
|
33
|
+
selectableActiveBackground: "color-mix(in srgb, var(--vf-color-primary) 20%, var(--vf-color-surface))",
|
|
34
|
+
navMenuItemHoverColor: "var(--vf-color-primary)",
|
|
35
|
+
navMenuItemHoverBackground: "transparent",
|
|
36
|
+
navMenuItemActiveColor: "var(--vf-color-primary)",
|
|
37
|
+
navMenuItemActiveBackground: "transparent",
|
|
38
|
+
navMenuPillsItemPadding: "var(--vf-field-padding-md)",
|
|
39
|
+
navMenuPillsListGap: "var(--vf-nav-menu-list-gap)",
|
|
40
|
+
navMenuPillsNestedGap: "var(--vf-nav-menu-nested-gap)",
|
|
41
|
+
navMenuPillsCollapseOffsetTop: "var(--vf-nav-menu-collapse-offset-top)",
|
|
42
|
+
navMenuPillsItemMinHeight: "var(--vf-control-height-md)",
|
|
43
|
+
navMenuPillsItemHoverColor: "var(--vf-selectable-hover-color)",
|
|
44
|
+
navMenuPillsItemHoverBackground: "color-mix(in srgb, var(--vf-color-primary) 5%, transparent)",
|
|
45
|
+
navMenuPillsItemActiveColor: "var(--vf-selectable-active-color)",
|
|
46
|
+
navMenuPillsItemActiveBackground: "var(--vf-selectable-active-background)",
|
|
47
|
+
navMenuGroupLabelColor: "color-mix(in srgb, var(--vf-color-muted) 90%, var(--vf-color-text))",
|
|
48
|
+
navMenuItemColor: "var(--vf-color-text)",
|
|
49
|
+
navMenuItemRadius: "var(--vf-radius-control)",
|
|
50
|
+
navMenuItemFocusColor: "var(--vf-color-primary)",
|
|
51
|
+
navMenuItemFocusBorderColor: "var(--vf-color-primary)",
|
|
52
|
+
navMenuItemAncestorActiveColor: "var(--vf-color-primary)",
|
|
53
|
+
navMenuBranchColor: "var(--vf-color-text)",
|
|
54
|
+
navMenuBranchAncestorActiveColor: "var(--vf-nav-menu-item-ancestor-active-color)",
|
|
55
|
+
tableOfContentsPillsListGap: "var(--vf-table-of-contents-list-gap)",
|
|
56
|
+
tableOfContentsPillsItemPadding: "var(--vf-field-padding-md)",
|
|
57
|
+
tableOfContentsPillsItemMinHeight: "var(--vf-control-height-md)",
|
|
58
|
+
tableOfContentsPillsHoverColor: "var(--vf-table-of-contents-hover-color)",
|
|
59
|
+
tableOfContentsPillsHoverBackground: "color-mix(in srgb, var(--vf-color-primary) 5%, transparent)",
|
|
60
|
+
tableOfContentsPillsActiveColor: "var(--vf-table-of-contents-active-color)",
|
|
61
|
+
tableOfContentsPillsActiveBackground: "var(--vf-table-of-contents-active-background)",
|
|
62
|
+
menuBarPillsSubmenuHoverBackground: "color-mix(in srgb, var(--vf-color-primary) 5%, transparent)",
|
|
63
|
+
menuBarPillsSubmenuActiveBackground: "var(--vf-selectable-active-background)",
|
|
64
|
+
menuBarPillsListGap: "var(--vf-nav-menu-list-gap)",
|
|
30
65
|
textBodyFontSize: "var(--vf-font-size-xl)",
|
|
31
66
|
textBodyLineHeight: "var(--vf-line-height-normal)",
|
|
32
67
|
textBodyFontWeight: "var(--vf-font-weight-regular)",
|
|
@@ -41,17 +76,16 @@ const l = {
|
|
|
41
76
|
headingFontSizeLg: "var(--vf-font-size-2xl)",
|
|
42
77
|
headingFontSizeXl: "var(--vf-font-size-3xl)",
|
|
43
78
|
headingFontWeight: "var(--vf-font-weight-semibold)",
|
|
44
|
-
buttonSecondaryHoverBackground: "color-mix(in srgb, var(--vf-color-surface-muted)
|
|
79
|
+
buttonSecondaryHoverBackground: "color-mix(in srgb, var(--vf-color-surface-muted) 94%, var(--vf-color-text))",
|
|
45
80
|
buttonSecondaryHoverBorderColor: "var(--vf-color-border)",
|
|
46
|
-
|
|
81
|
+
buttonSecondaryActiveBackground: "color-mix(in srgb, var(--vf-color-surface-muted) 90%, var(--vf-color-text))",
|
|
82
|
+
buttonSecondaryActiveBorderColor: "var(--vf-color-border)",
|
|
83
|
+
buttonGhostHoverBackground: "color-mix(in srgb, var(--vf-color-primary) 8%, var(--vf-color-surface))",
|
|
47
84
|
buttonGhostHoverBorderColor: "transparent",
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
buttonHelpHoverFilter: "brightness(0.96)",
|
|
53
|
-
buttonDangerHoverFilter: "brightness(0.96)",
|
|
54
|
-
buttonContrastHoverFilter: "brightness(0.96)",
|
|
85
|
+
buttonGhostActiveBackground: "color-mix(in srgb, var(--vf-color-primary) 14%, var(--vf-color-surface))",
|
|
86
|
+
buttonGhostActiveBorderColor: "transparent",
|
|
87
|
+
buttonSolidHoverFilter: "brightness(0.95) saturate(1.03)",
|
|
88
|
+
buttonSolidActiveFilter: "brightness(0.9) saturate(1.04)",
|
|
55
89
|
radioControlBackground: "color-mix(in srgb, var(--vf-color-border) 12%, var(--vf-color-surface))",
|
|
56
90
|
radioHoverBorderColor: "var(--vf-color-primary-border-soft)",
|
|
57
91
|
switchTrackBackground: "color-mix(in srgb, var(--vf-color-text) 10%, var(--vf-color-surface))",
|
|
@@ -60,12 +94,12 @@ const l = {
|
|
|
60
94
|
switchTrackCheckedHoverBackground: "color-mix(in srgb, var(--vf-color-primary) 92%, var(--vf-color-surface))",
|
|
61
95
|
switchThumbBackground: "color-mix(in srgb, var(--vf-color-surface) 88%, var(--vf-color-surface-muted))",
|
|
62
96
|
switchThumbBorderColor: "color-mix(in srgb, var(--vf-color-surface) 80%, var(--vf-color-border))",
|
|
63
|
-
switchThumbShadow: "
|
|
97
|
+
switchThumbShadow: "none",
|
|
64
98
|
switchThumbColor: "color-mix(in srgb, var(--vf-color-text) 55%, transparent)",
|
|
65
99
|
switchThumbIconSize: "0.625rem",
|
|
66
100
|
switchThumbCheckedBackground: "var(--vf-color-surface)",
|
|
67
101
|
switchThumbCheckedBorderColor: "color-mix(in srgb, var(--vf-color-primary) 12%, var(--vf-color-surface))",
|
|
68
|
-
switchThumbCheckedShadow: "
|
|
102
|
+
switchThumbCheckedShadow: "none",
|
|
69
103
|
proseHeadingMargin: "1.5em",
|
|
70
104
|
proseHeadingGap: "0.5em",
|
|
71
105
|
proseBlockSpacing: "1em",
|
|
@@ -78,28 +112,28 @@ const l = {
|
|
|
78
112
|
proseInlineCodePadding: "0.125rem 0.375rem",
|
|
79
113
|
proseCodeBlockPadding: "0.75rem 1rem",
|
|
80
114
|
proseHrMargin: "1.5rem",
|
|
81
|
-
colorBg: "#
|
|
115
|
+
colorBg: "#f6f8fb",
|
|
82
116
|
colorSurface: "#ffffff",
|
|
83
|
-
colorSurfaceMuted: "#
|
|
84
|
-
colorText: "#
|
|
85
|
-
colorMuted: "#
|
|
86
|
-
colorBorder: "#
|
|
87
|
-
colorPrimary: "#
|
|
117
|
+
colorSurfaceMuted: "#f3f3f3",
|
|
118
|
+
colorText: "#1f232b",
|
|
119
|
+
colorMuted: "#616773",
|
|
120
|
+
colorBorder: "#d9dde3",
|
|
121
|
+
colorPrimary: "#0e639c",
|
|
88
122
|
colorPrimaryContrast: "#ffffff",
|
|
89
123
|
colorPrimarySoft: "color-mix(in srgb, var(--vf-color-primary) 12%, var(--vf-color-surface))",
|
|
90
124
|
colorPrimaryBorderSoft: "color-mix(in srgb, var(--vf-color-primary) 22%, var(--vf-color-border))",
|
|
91
125
|
colorFocusRing: "color-mix(in srgb, var(--vf-color-primary) 32%, var(--vf-color-surface))",
|
|
92
|
-
colorSuccess: "#
|
|
126
|
+
colorSuccess: "#2e7d32",
|
|
93
127
|
colorSuccessContrast: "#ffffff",
|
|
94
|
-
colorInfo: "#
|
|
128
|
+
colorInfo: "#0069ba",
|
|
95
129
|
colorInfoContrast: "#ffffff",
|
|
96
|
-
colorWarn: "#
|
|
130
|
+
colorWarn: "#9f8400",
|
|
97
131
|
colorWarnContrast: "#1f1300",
|
|
98
|
-
colorHelp: "#
|
|
132
|
+
colorHelp: "#7245ae",
|
|
99
133
|
colorHelpContrast: "#ffffff",
|
|
100
|
-
colorDanger: "#
|
|
134
|
+
colorDanger: "#c72e39",
|
|
101
135
|
colorDangerContrast: "#ffffff",
|
|
102
|
-
colorContrast: "#
|
|
136
|
+
colorContrast: "#252526",
|
|
103
137
|
colorContrastContrast: "#ffffff",
|
|
104
138
|
colorSuccessSoft: "color-mix(in srgb, var(--vf-color-success) 12%, var(--vf-color-surface))",
|
|
105
139
|
colorInfoSoft: "color-mix(in srgb, var(--vf-color-info) 12%, var(--vf-color-surface))",
|
|
@@ -119,19 +153,19 @@ const l = {
|
|
|
119
153
|
radiusControlTight: "calc(var(--vf-radius) - 0.25rem)",
|
|
120
154
|
radiusSurface: "var(--vf-radius)",
|
|
121
155
|
radiusOverlay: "calc(var(--vf-radius) + 0.125rem)",
|
|
122
|
-
...
|
|
156
|
+
...i,
|
|
123
157
|
controlHeightSm: "1.75rem",
|
|
124
158
|
controlHeightMd: "2.25rem",
|
|
125
159
|
controlHeightLg: "2.5rem",
|
|
126
|
-
controlFontSizeSm: "var(--vf-font-size
|
|
127
|
-
controlFontSizeMd: "var(--vf-font-size
|
|
160
|
+
controlFontSizeSm: "var(--vf-text-label-font-size)",
|
|
161
|
+
controlFontSizeMd: "var(--vf-text-body-font-size)",
|
|
128
162
|
controlFontSizeLg: "var(--vf-font-size-xl)",
|
|
129
163
|
buttonPaddingSm: "0.25rem 0.5rem",
|
|
130
|
-
buttonPaddingMd: "0.
|
|
164
|
+
buttonPaddingMd: "0.3125rem 0.75rem",
|
|
131
165
|
buttonPaddingLg: "0.5rem 1rem",
|
|
132
166
|
buttonGap: "0.5rem",
|
|
133
167
|
fieldPaddingSm: "0.25rem 0.5rem",
|
|
134
|
-
fieldPaddingMd: "0.
|
|
168
|
+
fieldPaddingMd: "0.3125rem 0.75rem",
|
|
135
169
|
fieldPaddingLg: "0.5rem 1rem",
|
|
136
170
|
checkboxSizeSm: "1rem",
|
|
137
171
|
checkboxSizeMd: "1.125rem",
|
|
@@ -186,7 +220,7 @@ const l = {
|
|
|
186
220
|
navMenuNodeGroupSpacing: "0.25rem",
|
|
187
221
|
navMenuGroupPadding: "0.375rem 0.75rem",
|
|
188
222
|
navMenuGroupFontSize: "var(--vf-text-label-font-size)",
|
|
189
|
-
navMenuItemPadding: "0.
|
|
223
|
+
navMenuItemPadding: "0.25rem 0",
|
|
190
224
|
navMenuItemGap: "0.5rem",
|
|
191
225
|
navMenuLeadingIconSize: "1rem",
|
|
192
226
|
navMenuLeadingIconColumnSize: "1.25rem",
|
|
@@ -194,27 +228,27 @@ const l = {
|
|
|
194
228
|
tableOfContentsListGap: "var(--vf-nav-menu-list-gap)",
|
|
195
229
|
tableOfContentsTitleFontSize: "var(--vf-text-caption-font-size)",
|
|
196
230
|
tableOfContentsTitleColor: "var(--vf-color-muted)",
|
|
197
|
-
tableOfContentsItemPadding: "
|
|
198
|
-
tableOfContentsLevelStep: "0
|
|
231
|
+
tableOfContentsItemPadding: "0.25rem 0",
|
|
232
|
+
tableOfContentsLevelStep: "calc(var(--vf-nav-menu-collapse-inset-simple-level-0-margin) + var(--vf-nav-menu-collapse-inset-simple-level-0-padding))",
|
|
199
233
|
tableOfContentsColor: "var(--vf-color-text)",
|
|
200
|
-
tableOfContentsHoverColor: "var(--vf-color
|
|
201
|
-
tableOfContentsHoverBackground: "
|
|
202
|
-
tableOfContentsActiveColor: "var(--vf-color
|
|
203
|
-
tableOfContentsActiveBackground: "
|
|
204
|
-
badgeHeight: "1.
|
|
205
|
-
badgePadding: "0.
|
|
234
|
+
tableOfContentsHoverColor: "var(--vf-selectable-hover-color)",
|
|
235
|
+
tableOfContentsHoverBackground: "var(--vf-selectable-hover-background)",
|
|
236
|
+
tableOfContentsActiveColor: "var(--vf-selectable-active-color)",
|
|
237
|
+
tableOfContentsActiveBackground: "transparent",
|
|
238
|
+
badgeHeight: "1.375rem",
|
|
239
|
+
badgePadding: "0.0625rem 0.25rem",
|
|
206
240
|
badgeGap: "0.25rem",
|
|
207
|
-
badgeRadius: "
|
|
208
|
-
badgeFontSize: "var(--vf-text-
|
|
209
|
-
badgeLineHeight: "var(--vf-text-
|
|
210
|
-
tagHeight: "1.
|
|
211
|
-
tagPadding: "0.
|
|
212
|
-
tagFontSize: "var(--vf-text-
|
|
213
|
-
tagLineHeight: "var(--vf-text-
|
|
241
|
+
badgeRadius: "var(--vf-radius-control-tight)",
|
|
242
|
+
badgeFontSize: "var(--vf-text-label-font-size)",
|
|
243
|
+
badgeLineHeight: "var(--vf-text-label-line-height)",
|
|
244
|
+
tagHeight: "1.5rem",
|
|
245
|
+
tagPadding: "0.125rem 0.3125rem",
|
|
246
|
+
tagFontSize: "var(--vf-text-label-font-size)",
|
|
247
|
+
tagLineHeight: "var(--vf-text-label-line-height)",
|
|
214
248
|
tooltipPadding: "0.5rem 0.75rem",
|
|
215
249
|
tooltipMaxWidth: "16rem",
|
|
216
|
-
tooltipFontSize: "var(--vf-text-
|
|
217
|
-
tooltipLineHeight: "var(--vf-text-
|
|
250
|
+
tooltipFontSize: "var(--vf-text-body-font-size)",
|
|
251
|
+
tooltipLineHeight: "var(--vf-text-body-line-height)",
|
|
218
252
|
dialogWidthSm: "28rem",
|
|
219
253
|
dialogWidthMd: "36rem",
|
|
220
254
|
dialogWidthLg: "48rem",
|
|
@@ -224,21 +258,18 @@ const l = {
|
|
|
224
258
|
drawerSizeLg: "32rem",
|
|
225
259
|
drawerOffsetTop: "0px",
|
|
226
260
|
drawerBodyPadding: "var(--vf-overlay-padding)",
|
|
227
|
-
dialogTitleFontSize: "var(--vf-
|
|
261
|
+
dialogTitleFontSize: "var(--vf-text-body-font-size)",
|
|
228
262
|
dialogHeaderGap: "0.75rem",
|
|
229
263
|
dialogActionsGap: "0.5rem",
|
|
230
264
|
popoverWidth: "min(100vw - 2rem, 22rem)",
|
|
231
265
|
floatingArrowSize: "0.625rem",
|
|
232
|
-
overlayBackdrop: "rgba(
|
|
266
|
+
overlayBackdrop: "rgba(0, 0, 0, 0.44)",
|
|
233
267
|
alertPrimarySoft: "color-mix(in srgb, var(--vf-color-primary) 8%, var(--vf-color-surface))",
|
|
234
268
|
alertPrimaryBorderSoft: "color-mix(in srgb, var(--vf-color-primary) 22%, var(--vf-color-border))",
|
|
235
269
|
alertContentGap: "0.25rem",
|
|
236
|
-
alertTitleFontSize: "var(--vf-
|
|
237
|
-
cardTitleFontSize: "var(--vf-
|
|
238
|
-
panelTitleFontSize: "var(--vf-
|
|
239
|
-
textLineHeight: "var(--vf-text-body-line-height)",
|
|
240
|
-
headingLineHeight: "var(--vf-line-height-tight)",
|
|
241
|
-
tabsLineHeight: "1.2",
|
|
270
|
+
alertTitleFontSize: "var(--vf-text-body-font-size)",
|
|
271
|
+
cardTitleFontSize: "var(--vf-text-body-font-size)",
|
|
272
|
+
panelTitleFontSize: "var(--vf-text-body-font-size)",
|
|
242
273
|
motionDurationFast: e.durationFast,
|
|
243
274
|
motionDurationNormal: e.durationNormal,
|
|
244
275
|
motionEaseStandard: e.easeStandard,
|
|
@@ -251,28 +282,28 @@ const l = {
|
|
|
251
282
|
shadow: "none"
|
|
252
283
|
},
|
|
253
284
|
dark: {
|
|
254
|
-
colorBg: "#
|
|
255
|
-
colorSurface: "#
|
|
256
|
-
colorSurfaceMuted: "#
|
|
257
|
-
colorText: "#
|
|
258
|
-
colorMuted: "#
|
|
259
|
-
colorBorder: "#
|
|
260
|
-
colorPrimary: "#
|
|
261
|
-
colorPrimaryContrast: "#
|
|
285
|
+
colorBg: "#1e1e1e",
|
|
286
|
+
colorSurface: "#252526",
|
|
287
|
+
colorSurfaceMuted: "#2d2d30",
|
|
288
|
+
colorText: "#d4d4d4",
|
|
289
|
+
colorMuted: "#9da0a6",
|
|
290
|
+
colorBorder: "#3c3c3c",
|
|
291
|
+
colorPrimary: "#2f7fd6",
|
|
292
|
+
colorPrimaryContrast: "#ffffff",
|
|
262
293
|
colorPrimarySoft: "color-mix(in srgb, var(--vf-color-primary) 12%, var(--vf-color-surface))",
|
|
263
294
|
colorPrimaryBorderSoft: "color-mix(in srgb, var(--vf-color-primary) 22%, var(--vf-color-border))",
|
|
264
295
|
colorFocusRing: "color-mix(in srgb, var(--vf-color-primary) 32%, var(--vf-color-surface))",
|
|
265
|
-
colorSuccess: "#
|
|
266
|
-
colorSuccessContrast: "#
|
|
267
|
-
colorInfo: "#
|
|
268
|
-
colorInfoContrast: "#
|
|
269
|
-
colorWarn: "#
|
|
296
|
+
colorSuccess: "#3f8746",
|
|
297
|
+
colorSuccessContrast: "#ffffff",
|
|
298
|
+
colorInfo: "#1f76be",
|
|
299
|
+
colorInfoContrast: "#ffffff",
|
|
300
|
+
colorWarn: "#c6a25f",
|
|
270
301
|
colorWarnContrast: "#1f1300",
|
|
271
|
-
colorHelp: "#
|
|
272
|
-
colorHelpContrast: "#
|
|
273
|
-
colorDanger: "#
|
|
274
|
-
colorDangerContrast: "#
|
|
275
|
-
colorContrast: "#
|
|
302
|
+
colorHelp: "#8553a1",
|
|
303
|
+
colorHelpContrast: "#ffffff",
|
|
304
|
+
colorDanger: "#bf3f3f",
|
|
305
|
+
colorDangerContrast: "#ffffff",
|
|
306
|
+
colorContrast: "#d7d7d7",
|
|
276
307
|
colorContrastContrast: "#111827",
|
|
277
308
|
colorSuccessSoft: "color-mix(in srgb, var(--vf-color-success) 12%, var(--vf-color-surface))",
|
|
278
309
|
colorInfoSoft: "color-mix(in srgb, var(--vf-color-info) 12%, var(--vf-color-surface))",
|
|
@@ -294,22 +325,27 @@ const l = {
|
|
|
294
325
|
zTooltip: "950",
|
|
295
326
|
shadow: "none"
|
|
296
327
|
}
|
|
297
|
-
},
|
|
328
|
+
}, v = c;
|
|
298
329
|
function m(r) {
|
|
299
|
-
return t(
|
|
330
|
+
return t(
|
|
331
|
+
r
|
|
332
|
+
);
|
|
300
333
|
}
|
|
301
334
|
function d(r = {}) {
|
|
302
|
-
return
|
|
335
|
+
return n({
|
|
303
336
|
...r,
|
|
304
|
-
preset: r.preset ??
|
|
337
|
+
preset: r.preset ?? v
|
|
305
338
|
});
|
|
306
339
|
}
|
|
307
340
|
function g(r, a) {
|
|
308
|
-
return
|
|
341
|
+
return l(
|
|
342
|
+
r,
|
|
343
|
+
a
|
|
344
|
+
);
|
|
309
345
|
}
|
|
310
346
|
export {
|
|
311
347
|
g as a,
|
|
312
348
|
m as c,
|
|
313
|
-
|
|
349
|
+
v as d,
|
|
314
350
|
d as r
|
|
315
351
|
};
|