@katlux/preset-modern 0.1.0-alpha.74

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.
Files changed (41) hide show
  1. package/LICENSE +200 -0
  2. package/README.md +138 -0
  3. package/dist/module.d.mts +3 -0
  4. package/dist/module.json +9 -0
  5. package/dist/module.mjs +50 -0
  6. package/dist/runtime/assets/scss/css-variables.css +129 -0
  7. package/dist/runtime/assets/scss/index.css +137 -0
  8. package/dist/runtime/components/KBulkActions/KBulkActions.d.vue.ts +20 -0
  9. package/dist/runtime/components/KBulkActions/KBulkActions.vue +72 -0
  10. package/dist/runtime/components/KBulkActions/KBulkActions.vue.d.ts +20 -0
  11. package/dist/runtime/components/KButton/KButton.d.vue.ts +11 -0
  12. package/dist/runtime/components/KButton/KButton.vue +215 -0
  13. package/dist/runtime/components/KButton/KButton.vue.d.ts +11 -0
  14. package/dist/runtime/components/KCheckbox/KCheckbox.d.vue.ts +15 -0
  15. package/dist/runtime/components/KCheckbox/KCheckbox.vue +122 -0
  16. package/dist/runtime/components/KCheckbox/KCheckbox.vue.d.ts +15 -0
  17. package/dist/runtime/components/KDatatable/KDatatable.d.vue.ts +28 -0
  18. package/dist/runtime/components/KDatatable/KDatatable.vue +209 -0
  19. package/dist/runtime/components/KDatatable/KDatatable.vue.d.ts +28 -0
  20. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.d.vue.ts +16 -0
  21. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.vue +104 -0
  22. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.vue.d.ts +16 -0
  23. package/dist/runtime/components/KPagination/KPagination.d.vue.ts +18 -0
  24. package/dist/runtime/components/KPagination/KPagination.vue +92 -0
  25. package/dist/runtime/components/KPagination/KPagination.vue.d.ts +18 -0
  26. package/dist/runtime/components/KRangeSlider/KRangeSlider.d.vue.ts +20 -0
  27. package/dist/runtime/components/KRangeSlider/KRangeSlider.vue +168 -0
  28. package/dist/runtime/components/KRangeSlider/KRangeSlider.vue.d.ts +20 -0
  29. package/dist/runtime/components/KSlider/KSlider.d.vue.ts +16 -0
  30. package/dist/runtime/components/KSlider/KSlider.vue +133 -0
  31. package/dist/runtime/components/KSlider/KSlider.vue.d.ts +16 -0
  32. package/dist/runtime/components/KTextarea/KTextarea.d.vue.ts +16 -0
  33. package/dist/runtime/components/KTextarea/KTextarea.vue +55 -0
  34. package/dist/runtime/components/KTextarea/KTextarea.vue.d.ts +16 -0
  35. package/dist/runtime/components/KTextbox/KTextbox.d.vue.ts +17 -0
  36. package/dist/runtime/components/KTextbox/KTextbox.vue +101 -0
  37. package/dist/runtime/components/KTextbox/KTextbox.vue.d.ts +17 -0
  38. package/dist/runtime/plugin.d.ts +2 -0
  39. package/dist/runtime/plugin.js +21 -0
  40. package/dist/types.d.mts +7 -0
  41. package/package.json +29 -0
package/LICENSE ADDED
@@ -0,0 +1,200 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ notice, with the fields enclosed by brackets "[]" replaced with
182
+ your own identifying information. (Don't include the brackets!)
183
+ The text should be enclosed in the appropriate comment syntax for
184
+ the file format. We also recommend that a file or class name and
185
+ description of purpose be included on the same "printed page" as the
186
+ copyright notice for easier identification within third-party archives.
187
+
188
+ Copyright 2026-present, The Katlux Contributors
189
+
190
+ Licensed under the Apache License, Version 2.0 (the "License");
191
+ you may not use this file except in compliance with the License.
192
+ You may obtain a copy of the License at
193
+
194
+ http://www.apache.org/licenses/LICENSE-2.0
195
+
196
+ Unless required by applicable law or agreed to in writing, software
197
+ distributed under the License is distributed on an "AS IS" BASIS,
198
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
199
+ See the License for the specific language governing permissions and
200
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,138 @@
1
+ # Modern Template - Component Summary
2
+
3
+ The modern template provides a fresh, contemporary design for KatluxToolkit components with gradients, smooth animations, and enhanced visual feedback.
4
+
5
+ ## Supported Components
6
+
7
+ ### ✅ KButton
8
+ - Gradient backgrounds for all button types
9
+ - Smooth hover lift animation
10
+ - Enhanced shadows for depth
11
+ - Icon slot support
12
+ - Custom animated loading spinner
13
+
14
+ ### ✅ KCheckbox
15
+ - Gradient-filled checkmark on selection
16
+ - Smooth check animation with pop effect
17
+ - Hover glow effect
18
+ - Rounded corners
19
+ - Disabled state styling
20
+
21
+ ### ✅ KTextbox
22
+ - Clean, minimal design
23
+ - Focus ring with brand color
24
+ - Animated clear button
25
+ - Smooth transitions
26
+ - Enhanced placeholder styling
27
+
28
+ ### ✅ KTextarea
29
+ - Consistent styling with KTextbox
30
+ - Focus ring animation
31
+ - Smooth border transitions
32
+ - Comfortable padding
33
+ - Disabled state support
34
+
35
+ ## Design Features
36
+
37
+ ### Color Palette
38
+ - Primary: `#667eea` → `#764ba2` (gradient)
39
+ - Focus ring: `rgba(102, 126, 234, 0.1)`
40
+ - Borders: `#e5e7eb` (default), `#667eea` (focus)
41
+ - Text: `#1f2937` (primary), `#9ca3af` (placeholder)
42
+
43
+ ### Animations
44
+ - Cubic-bezier easing: `cubic-bezier(0.4, 0, 0.2, 1)`
45
+ - Transition duration: `0.3s` (standard), `0.2s` (quick)
46
+ - Transform effects: lift, scale, pop
47
+
48
+ ### Spacing
49
+ - Border radius: `10-14px` (depending on component)
50
+ - Padding: `12-16px`
51
+ - Focus ring: `3px` offset
52
+ - Gaps: `8-12px`
53
+
54
+ ## Usage Examples
55
+
56
+ ### KButton with Icon
57
+ ```vue
58
+ <KButton type="primary">
59
+ <template #icon>
60
+ <Icon name="mdi:check" />
61
+ </template>
62
+ Save Changes
63
+ </KButton>
64
+ ```
65
+
66
+ ### KCheckbox
67
+ ```vue
68
+ <KCheckbox v-model="accepted">
69
+ I accept the terms and conditions
70
+ </KCheckbox>
71
+ ```
72
+
73
+ ### KTextbox with Clear
74
+ ```vue
75
+ <KTextbox
76
+ v-model="searchQuery"
77
+ placeholder="Search..."
78
+ :showClear="true"
79
+ />
80
+ ```
81
+
82
+ ### KTextarea
83
+ ```vue
84
+ <KTextarea
85
+ v-model="description"
86
+ placeholder="Enter description..."
87
+ :rows="6"
88
+ />
89
+ ```
90
+
91
+ ## Installation
92
+
93
+ Katlux is a zero-configuration Nuxt module. When you install this preset, the core `@katlux/toolkit` is automatically provisioned for you.
94
+
95
+ ### Option 1: Using Nuxt CLI (Recommended)
96
+ ```bash
97
+ npx nuxi module add @katlux/preset-modern@alpha
98
+ ```
99
+ This single command installs the package and adds it to your `nuxt.config.ts`.
100
+
101
+ ### Option 2: Manual Installation
102
+ 1. Install via NPM:
103
+ ```bash
104
+ npm install @katlux/preset-modern@alpha
105
+ ```
106
+
107
+ 2. Register the module in `nuxt.config.ts`:
108
+ ```ts
109
+ export default defineNuxtConfig({
110
+ modules: [
111
+ '@katlux/preset-modern'
112
+ ]
113
+ })
114
+ ```
115
+
116
+ That's all! Start using Katlux components like `<KButton>` in your Vue files immediately. No imports required.
117
+
118
+ ## Developer Guide
119
+
120
+ For full documentation and repository access:
121
+ - **Developer Guide & Repository**: [https://github.com/katlux-ui/KatluxShowcase](https://github.com/katlux-ui/KatluxShowcase)
122
+
123
+ ## Next Components
124
+
125
+ Coming soon:
126
+ - KRadiobox
127
+ - KCombobox
128
+ - KDatatable
129
+ - KModal
130
+ - KPanel
131
+ - And more...
132
+
133
+ ## License & Trademark Policy
134
+
135
+ The code in this repository is completely free and open-source under the Apache 2.0 License.
136
+ However, **Katlux™** and the Katlux logo are unregistered trademarks of the Katlux project.
137
+
138
+ To protect our users from fraud, you may not use the "Katlux" name or logo to brand your own modified forks, derivative works, or malicious distributions without explicit permission. You are, however, completely free to state "Built with Katlux" in your projects!
@@ -0,0 +1,3 @@
1
+ declare const _default: any;
2
+
3
+ export { _default as default };
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "@katlux/preset-modern",
3
+ "configKey": "katluxTemplateModern",
4
+ "version": "0.1.0-alpha.74",
5
+ "builder": {
6
+ "@nuxt/module-builder": "1.0.2",
7
+ "unbuild": "3.6.1"
8
+ }
9
+ }
@@ -0,0 +1,50 @@
1
+ import { defineNuxtModule, createResolver, installModule, addPlugin, addComponentsDir } from '@nuxt/kit';
2
+ import { createRequire } from 'node:module';
3
+ import { existsSync } from 'node:fs';
4
+
5
+ const module$1 = defineNuxtModule({
6
+ meta: {
7
+ name: "@katlux/preset-modern",
8
+ configKey: "katluxTemplateModern"
9
+ },
10
+ async setup(options, nuxt) {
11
+ const { resolve } = createResolver(import.meta.url);
12
+ const _require = createRequire(import.meta.url);
13
+ await installModule("@katlux/toolkit");
14
+ addPlugin(resolve("./runtime/plugin"));
15
+ addComponentsDir({
16
+ path: resolve("./runtime/components"),
17
+ prefix: "PresetModern",
18
+ pathPrefix: false,
19
+ extensions: ["vue"],
20
+ global: true
21
+ });
22
+ nuxt.options.vite.css = nuxt.options.vite.css || {};
23
+ nuxt.options.vite.css.preprocessorOptions = nuxt.options.vite.css.preprocessorOptions || {};
24
+ nuxt.options.vite.css.preprocessorOptions.scss = nuxt.options.vite.css.preprocessorOptions.scss || {};
25
+ const currentAdditionalData = nuxt.options.vite.css.preprocessorOptions.scss.additionalData || "";
26
+ const toolkitPkgJson = _require.resolve("@katlux/toolkit/package.json");
27
+ const toolkitPkgDir = toolkitPkgJson.replace(/[\\/]package\.json$/, "");
28
+ const toolkitRuntimeDir = nuxt.options.dev && existsSync(toolkitPkgDir + "/src/runtime") ? toolkitPkgDir + "/src/runtime" : toolkitPkgDir + "/dist/runtime";
29
+ const mixinsScssPath = toolkitRuntimeDir + "/presets/default/assets/scss/mixins.scss";
30
+ const mixinsCssPath = toolkitRuntimeDir + "/presets/default/assets/scss/mixins.css";
31
+ const toolkitMixinsPath = existsSync(mixinsScssPath) ? mixinsScssPath : mixinsCssPath;
32
+ const toolkitScss = `@use "${toolkitMixinsPath}" as *;`;
33
+ nuxt.hook("vite:extendConfig", (config) => {
34
+ const server = config.server || (config.server = {});
35
+ const fs = server.fs || (server.fs = {});
36
+ const allow = fs.allow || (fs.allow = []);
37
+ if (!allow.includes(toolkitRuntimeDir)) {
38
+ allow.push(toolkitRuntimeDir);
39
+ }
40
+ });
41
+ const presetScssPath = resolve("./runtime/assets/scss/index.scss");
42
+ const presetCssPath = resolve("./runtime/assets/scss/index.css");
43
+ const actualPresetPath = existsSync(presetScssPath) ? presetScssPath : presetCssPath;
44
+ nuxt.options.css.push(actualPresetPath);
45
+ nuxt.options.vite.css.preprocessorOptions.scss.additionalData = `${toolkitScss}
46
+ ${currentAdditionalData}`;
47
+ }
48
+ });
49
+
50
+ export { module$1 as default };
@@ -0,0 +1,129 @@
1
+ [data-preset~=modern] {
2
+ --primary-100: #ede9fe;
3
+ --primary-300: #c4b5fd;
4
+ --primary-500: #8b5cf6;
5
+ --primary-700: #7c3aed;
6
+ --primary-900: #5b21b6;
7
+ --accent-100: #cffafe;
8
+ --accent-300: #67e8f9;
9
+ --accent-500: #06b6d4;
10
+ --accent-700: #0891b2;
11
+ --accent-900: #155e75;
12
+ --neutral-50: #f8fafc;
13
+ --neutral-100: #f1f5f9;
14
+ --neutral-200: #e2e8f0;
15
+ --neutral-300: #cbd5e1;
16
+ --neutral-400: #94a3b8;
17
+ --neutral-500: #64748b;
18
+ --neutral-600: #475569;
19
+ --neutral-700: #334155;
20
+ --neutral-800: #1e293b;
21
+ --neutral-900: #0f172a;
22
+ --success-color: #10b981;
23
+ --success-color-light: #ecfdf5;
24
+ --warning-color: #f59e0b;
25
+ --warning-color-light: #fffbeb;
26
+ --error-color: #ef4444;
27
+ --error-color-light: #fef2f2;
28
+ --info-color: #3b82f6;
29
+ --info-color-light: #eff6ff;
30
+ --font-color-primary: var(--neutral-700);
31
+ --font-color-secondary: var(--neutral-500);
32
+ --font-color-heading: var(--neutral-900);
33
+ --font-color-light: #ffffff;
34
+ --background-color: #ffffff;
35
+ --background-color-light: var(--neutral-50);
36
+ --background-color-medium: var(--neutral-100);
37
+ --background-color-dark: var(--neutral-800);
38
+ --border-color-light: var(--neutral-200);
39
+ --border-color-medium: var(--neutral-300);
40
+ --border-color-dark: var(--neutral-500);
41
+ --gap-sm: 8px;
42
+ --gap-md: 16px;
43
+ --gap-lg: 24px;
44
+ --gap-xl: 32px;
45
+ --border-radius-sm: 8px;
46
+ --border-radius-md: 12px;
47
+ --border-radius-lg: 16px;
48
+ --border-radius-xl: 24px;
49
+ --border-radius-full: 9999px;
50
+ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
51
+ --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
52
+ --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
53
+ --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
54
+ --shadow-glow-primary: 0 10px 15px -3px rgba(102, 126, 234, 0.4), 0 4px 6px -2px rgba(102, 126, 234, 0.2);
55
+ --shadow-glow-danger: 0 10px 15px -3px rgba(245, 87, 108, 0.4), 0 4px 6px -2px rgba(245, 87, 108, 0.2);
56
+ --shadow-glow-success: 0 10px 15px -3px rgba(79, 172, 254, 0.4), 0 4px 6px -2px rgba(79, 172, 254, 0.2);
57
+ --font-size-xs: 12px;
58
+ --font-size-sm: 14px;
59
+ --font-size-md: 16px;
60
+ --font-size-lg: 18px;
61
+ --font-size-xl: 20px;
62
+ --font-weight-normal: 400;
63
+ --font-weight-medium: 500;
64
+ --font-weight-semibold: 600;
65
+ --font-weight-bold: 700;
66
+ --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
67
+ --font-family-mono: 'Fira Code', 'Roboto Mono', monospace;
68
+ --transition-fast: 0.15s ease;
69
+ --transition-normal: 0.3s ease;
70
+ --transition-slow: 0.5s ease;
71
+ --transition-bounce: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
72
+ --button-border-radius: var(--border-radius-md);
73
+ --button-font-size-sm: var(--font-size-sm);
74
+ --button-font-size-md: var(--font-size-md);
75
+ --button-font-size-lg: var(--font-size-lg);
76
+ --button-bg-default: var(--neutral-900);
77
+ --button-text-default: var(--font-color-light);
78
+ --button-hover-bg-default: var(--neutral-800);
79
+ --button-bg-primary: var(--primary-500);
80
+ --button-text-primary: var(--font-color-light);
81
+ --button-hover-bg-primary: var(--primary-700);
82
+ --button-bg-success: var(--success-color);
83
+ --button-text-success: var(--font-color-light);
84
+ --button-hover-bg-success: #059669;
85
+ --button-bg-warning: var(--warning-color);
86
+ --button-text-warning: var(--neutral-900);
87
+ --button-hover-bg-warning: #d97706;
88
+ --button-bg-danger: var(--error-color);
89
+ --button-text-danger: var(--font-color-light);
90
+ --button-hover-bg-danger: #dc2626;
91
+ --button-bg-info: var(--info-color);
92
+ --button-text-info: var(--font-color-light);
93
+ --button-hover-bg-info: #2563eb;
94
+ --button-bg-light: var(--neutral-100);
95
+ --button-text-light: var(--neutral-800);
96
+ --button-hover-bg-light: var(--neutral-200);
97
+ --button-bg-dark: var(--neutral-900);
98
+ --button-text-dark: var(--font-color-light);
99
+ --button-hover-bg-dark: var(--neutral-800);
100
+ --input-bg: var(--background-color);
101
+ --input-border-radius: var(--border-radius-sm);
102
+ --input-border-color: var(--border-color-medium);
103
+ --input-border: 2px solid var(--input-border-color);
104
+ --input-hover-border-color: var(--neutral-400);
105
+ --input-focus-border-color: var(--primary-500);
106
+ --input-focus-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
107
+ --input-height: 48px;
108
+ --table-header-bg: var(--neutral-100);
109
+ --table-header-color: var(--neutral-600);
110
+ --table-border-color: var(--neutral-200);
111
+ --table-row-hover: var(--neutral-100);
112
+ --table-row-selected: #eff6ff;
113
+ --panel-bg-opacity: 0.5;
114
+ --panel-blur: 16px;
115
+ --panel-bg-default: var(--neutral-100);
116
+ --panel-header-bg-default: var(--neutral-200);
117
+ --panel-footer-bg-default: var(--neutral-100);
118
+ --checkbox-bg: var(--background-color);
119
+ --checkbox-checked-bg: var(--button-gradient-primary);
120
+ --checkbox-border-color: var(--neutral-400);
121
+ --checkbox-border-radius: 4px;
122
+ --modal-overlay-bg: rgba(15, 23, 42, 0.4);
123
+ --modal-backdrop-blur: 4px;
124
+ --layout-header-height: 70px;
125
+ --layout-header-bg: var(--background-color);
126
+ --layout-sidebar-width: 240px;
127
+ --layout-sidebar-bg: var(--neutral-50);
128
+ --layout-content-bg: #ffffff;
129
+ }
@@ -0,0 +1,137 @@
1
+ [data-preset~=modern] {
2
+ --primary-100: #ede9fe;
3
+ --primary-300: #c4b5fd;
4
+ --primary-500: #8b5cf6;
5
+ --primary-700: #7c3aed;
6
+ --primary-900: #5b21b6;
7
+ --accent-100: #cffafe;
8
+ --accent-300: #67e8f9;
9
+ --accent-500: #06b6d4;
10
+ --accent-700: #0891b2;
11
+ --accent-900: #155e75;
12
+ --neutral-50: #f8fafc;
13
+ --neutral-100: #f1f5f9;
14
+ --neutral-200: #e2e8f0;
15
+ --neutral-300: #cbd5e1;
16
+ --neutral-400: #94a3b8;
17
+ --neutral-500: #64748b;
18
+ --neutral-600: #475569;
19
+ --neutral-700: #334155;
20
+ --neutral-800: #1e293b;
21
+ --neutral-900: #0f172a;
22
+ --success-color: #10b981;
23
+ --success-color-light: #ecfdf5;
24
+ --warning-color: #f59e0b;
25
+ --warning-color-light: #fffbeb;
26
+ --error-color: #ef4444;
27
+ --error-color-light: #fef2f2;
28
+ --info-color: #3b82f6;
29
+ --info-color-light: #eff6ff;
30
+ --font-color-primary: var(--neutral-700);
31
+ --font-color-secondary: var(--neutral-500);
32
+ --font-color-heading: var(--neutral-900);
33
+ --font-color-light: #ffffff;
34
+ --background-color: #ffffff;
35
+ --background-color-light: var(--neutral-50);
36
+ --background-color-medium: var(--neutral-100);
37
+ --background-color-dark: var(--neutral-800);
38
+ --border-color-light: var(--neutral-200);
39
+ --border-color-medium: var(--neutral-300);
40
+ --border-color-dark: var(--neutral-500);
41
+ --gap-sm: 8px;
42
+ --gap-md: 16px;
43
+ --gap-lg: 24px;
44
+ --gap-xl: 32px;
45
+ --border-radius-sm: 8px;
46
+ --border-radius-md: 12px;
47
+ --border-radius-lg: 16px;
48
+ --border-radius-xl: 24px;
49
+ --border-radius-full: 9999px;
50
+ --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
51
+ --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
52
+ --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
53
+ --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
54
+ --shadow-glow-primary: 0 10px 15px -3px rgba(102, 126, 234, 0.4), 0 4px 6px -2px rgba(102, 126, 234, 0.2);
55
+ --shadow-glow-danger: 0 10px 15px -3px rgba(245, 87, 108, 0.4), 0 4px 6px -2px rgba(245, 87, 108, 0.2);
56
+ --shadow-glow-success: 0 10px 15px -3px rgba(79, 172, 254, 0.4), 0 4px 6px -2px rgba(79, 172, 254, 0.2);
57
+ --font-size-xs: 12px;
58
+ --font-size-sm: 14px;
59
+ --font-size-md: 16px;
60
+ --font-size-lg: 18px;
61
+ --font-size-xl: 20px;
62
+ --font-weight-normal: 400;
63
+ --font-weight-medium: 500;
64
+ --font-weight-semibold: 600;
65
+ --font-weight-bold: 700;
66
+ --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
67
+ --font-family-mono: 'Fira Code', 'Roboto Mono', monospace;
68
+ --transition-fast: 0.15s ease;
69
+ --transition-normal: 0.3s ease;
70
+ --transition-slow: 0.5s ease;
71
+ --transition-bounce: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
72
+ --button-border-radius: var(--border-radius-md);
73
+ --button-font-size-sm: var(--font-size-sm);
74
+ --button-font-size-md: var(--font-size-md);
75
+ --button-font-size-lg: var(--font-size-lg);
76
+ --button-bg-default: var(--neutral-900);
77
+ --button-text-default: var(--font-color-light);
78
+ --button-hover-bg-default: var(--neutral-800);
79
+ --button-bg-primary: var(--primary-500);
80
+ --button-text-primary: var(--font-color-light);
81
+ --button-hover-bg-primary: var(--primary-700);
82
+ --button-bg-success: var(--success-color);
83
+ --button-text-success: var(--font-color-light);
84
+ --button-hover-bg-success: #059669;
85
+ --button-bg-warning: var(--warning-color);
86
+ --button-text-warning: var(--neutral-900);
87
+ --button-hover-bg-warning: #d97706;
88
+ --button-bg-danger: var(--error-color);
89
+ --button-text-danger: var(--font-color-light);
90
+ --button-hover-bg-danger: #dc2626;
91
+ --button-bg-info: var(--info-color);
92
+ --button-text-info: var(--font-color-light);
93
+ --button-hover-bg-info: #2563eb;
94
+ --button-bg-light: var(--neutral-100);
95
+ --button-text-light: var(--neutral-800);
96
+ --button-hover-bg-light: var(--neutral-200);
97
+ --button-bg-dark: var(--neutral-900);
98
+ --button-text-dark: var(--font-color-light);
99
+ --button-hover-bg-dark: var(--neutral-800);
100
+ --input-bg: var(--background-color);
101
+ --input-border-radius: var(--border-radius-sm);
102
+ --input-border-color: var(--border-color-medium);
103
+ --input-border: 2px solid var(--input-border-color);
104
+ --input-hover-border-color: var(--neutral-400);
105
+ --input-focus-border-color: var(--primary-500);
106
+ --input-focus-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
107
+ --input-height: 48px;
108
+ --table-header-bg: var(--neutral-100);
109
+ --table-header-color: var(--neutral-600);
110
+ --table-border-color: var(--neutral-200);
111
+ --table-row-hover: var(--neutral-100);
112
+ --table-row-selected: #eff6ff;
113
+ --panel-bg-opacity: 0.5;
114
+ --panel-blur: 16px;
115
+ --panel-bg-default: var(--neutral-100);
116
+ --panel-header-bg-default: var(--neutral-200);
117
+ --panel-footer-bg-default: var(--neutral-100);
118
+ --checkbox-bg: var(--background-color);
119
+ --checkbox-checked-bg: var(--button-gradient-primary);
120
+ --checkbox-border-color: var(--neutral-400);
121
+ --checkbox-border-radius: 4px;
122
+ --modal-overlay-bg: rgba(15, 23, 42, 0.4);
123
+ --modal-backdrop-blur: 4px;
124
+ --layout-header-height: 70px;
125
+ --layout-header-bg: var(--background-color);
126
+ --layout-sidebar-width: 240px;
127
+ --layout-sidebar-bg: var(--neutral-50);
128
+ --layout-content-bg: #ffffff;
129
+ }
130
+
131
+ .k-input-label {
132
+ font-size: var(--font-size-xs);
133
+ color: var(--font-color-secondary);
134
+ margin-bottom: calc(var(--gap-sm) / 2);
135
+ display: block;
136
+ font-weight: 500;
137
+ }