igniteui-theming 25.1.0 → 25.2.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/dist/index.d.ts +75 -0
- package/dist/index.js +12 -0
- package/dist/json/components/bootstrap.json +1 -0
- package/dist/json/components/fluent.json +1 -0
- package/dist/json/components/indigo.json +1 -0
- package/dist/json/components/material.json +1 -0
- package/{json → dist/json}/components/themes.json +31 -1
- package/dist/mcp/generators/css.d.ts +7 -4
- package/dist/mcp/generators/css.js +129 -104
- package/dist/mcp/generators/sass.js +227 -254
- package/dist/mcp/index.js +259 -323
- package/dist/mcp/knowledge/color-usage.js +524 -502
- package/dist/mcp/knowledge/colors.js +61 -50
- package/dist/mcp/knowledge/component-metadata.js +697 -598
- package/dist/mcp/knowledge/component-themes.js +70 -57
- package/dist/mcp/knowledge/custom-palettes.js +4 -9
- package/dist/mcp/knowledge/docs/colors/guidance.js +4 -0
- package/dist/mcp/knowledge/docs/colors/usage.js +4 -0
- package/dist/mcp/knowledge/docs/layout/functions/border-radius.js +4 -0
- package/dist/mcp/knowledge/docs/layout/functions/pad.js +4 -0
- package/dist/mcp/knowledge/docs/layout/functions/sizable.js +4 -0
- package/dist/mcp/knowledge/docs/layout/mixins/sizable.js +4 -0
- package/dist/mcp/knowledge/docs/layout/mixins/sizing.js +4 -0
- package/dist/mcp/knowledge/docs/layout/mixins/spacing.js +4 -0
- package/dist/mcp/knowledge/docs/layout/overview.js +4 -0
- package/dist/mcp/knowledge/docs/setup/platform.js +4 -0
- package/dist/mcp/knowledge/elevations.d.ts +1 -1
- package/dist/mcp/knowledge/elevations.js +26 -12
- package/dist/mcp/knowledge/index.js +23 -87
- package/dist/mcp/knowledge/layout-docs.d.ts +1 -1
- package/dist/mcp/knowledge/multipliers.js +5 -0
- package/dist/mcp/knowledge/palettes.js +29 -17
- package/dist/mcp/knowledge/platforms/angular.js +98 -120
- package/dist/mcp/knowledge/platforms/blazor.js +39 -34
- package/dist/mcp/knowledge/platforms/common.js +83 -68
- package/dist/mcp/knowledge/platforms/index.js +265 -242
- package/dist/mcp/knowledge/platforms/react.js +43 -35
- package/dist/mcp/knowledge/platforms/webcomponents.js +266 -292
- package/dist/mcp/knowledge/sass-api.js +1 -0
- package/dist/mcp/knowledge/typography.js +13 -5
- package/dist/mcp/resources/index.js +1 -0
- package/dist/mcp/resources/presets.js +409 -508
- package/dist/mcp/theming/dist/json/colors/meta/multipliers.js +50 -0
- package/dist/mcp/theming/dist/json/colors/presets/palettes.js +85 -0
- package/dist/mcp/theming/dist/json/components/themes.js +5792 -0
- package/dist/mcp/theming/dist/json/elevations/indigo.js +29 -0
- package/dist/mcp/theming/dist/json/elevations/material.js +3 -0
- package/dist/mcp/theming/dist/json/typography/presets/typescales.js +621 -0
- package/dist/mcp/tools/descriptions.js +98 -154
- package/dist/mcp/tools/handlers/color.js +58 -56
- package/dist/mcp/tools/handlers/component-theme.js +163 -225
- package/dist/mcp/tools/handlers/component-tokens.js +159 -219
- package/dist/mcp/tools/handlers/custom-palette.js +138 -179
- package/dist/mcp/tools/handlers/elevations.js +27 -28
- package/dist/mcp/tools/handlers/index.js +11 -0
- package/dist/mcp/tools/handlers/layout.js +125 -176
- package/dist/mcp/tools/handlers/palette.js +105 -120
- package/dist/mcp/tools/handlers/platform.js +289 -311
- package/dist/mcp/tools/handlers/resource.js +22 -31
- package/dist/mcp/tools/handlers/theme.js +86 -103
- package/dist/mcp/tools/handlers/typography.js +29 -30
- package/dist/mcp/tools/index.js +13 -0
- package/dist/mcp/tools/schemas.js +239 -218
- package/dist/mcp/utils/color.js +277 -239
- package/dist/mcp/utils/preprocessing.js +57 -30
- package/dist/mcp/utils/result.js +43 -45
- package/dist/mcp/utils/sass.js +271 -191
- package/dist/mcp/utils/theming-resolve.d.ts +19 -0
- package/dist/mcp/utils/theming-resolve.js +57 -0
- package/dist/mcp/utils/types.js +96 -53
- package/dist/mcp/validators/custom-palette.js +218 -243
- package/dist/mcp/validators/index.js +3 -0
- package/dist/mcp/validators/palette.js +231 -229
- package/dist/tailwind/utilities/bootstrap.css +1 -0
- package/dist/tailwind/utilities/fluent.css +1 -0
- package/dist/tailwind/utilities/indigo.css +1 -0
- package/dist/tailwind/utilities/material.css +1 -0
- package/package.json +45 -64
- package/sass/json/README.md +12 -7
- package/sass/themes/_mixins.scss +1 -0
- package/sass/themes/components/button-group/_button-group-theme.scss +42 -0
- package/sass/themes/components/grid/_grid-theme.scss +1 -1
- package/sass/themes/schemas/components/dark/_button-group.scss +173 -50
- package/sass/themes/schemas/components/dark/_grid.scss +0 -16
- package/sass/themes/schemas/components/light/_button-group.scss +221 -99
- package/sass/themes/schemas/components/light/_grid.scss +14 -20
- package/LICENSE +0 -21
- package/README.md +0 -391
- package/dist/mcp/json/colors/presets/palettes.json.js +0 -13
- package/dist/mcp/json/components/themes.json.js +0 -143
- package/dist/mcp/json/elevations/indigo.json.js +0 -8
- package/dist/mcp/json/elevations/material.json.js +0 -8
- package/dist/mcp/json/typography/presets/typescales.json.js +0 -17
- package/dist/mcp/knowledge/docs/colors/guidance.md.js +0 -4
- package/dist/mcp/knowledge/docs/colors/usage.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/functions/border-radius.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/functions/pad.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/functions/sizable.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/mixins/sizable.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/mixins/sizing.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/mixins/spacing.md.js +0 -4
- package/dist/mcp/knowledge/docs/layout/overview.md.js +0 -4
- package/dist/mcp/knowledge/docs/setup/platform.md.js +0 -4
- package/dist/mcp/vite-env.d.ts +0 -18
- package/index.js +0 -5
- package/json/components/bootstrap.json +0 -1
- package/json/components/fluent.json +0 -1
- package/json/components/indigo.json +0 -1
- package/json/components/material.json +0 -1
- package/tailwind/utilities/bootstrap.css +0 -1
- package/tailwind/utilities/fluent.css +0 -1
- package/tailwind/utilities/indigo.css +0 -1
- package/tailwind/utilities/material.css +0 -1
- /package/{json → dist/json}/colors/meta/multipliers.json +0 -0
- /package/{json → dist/json}/colors/meta/palette.json +0 -0
- /package/{json → dist/json}/colors/presets/palettes.json +0 -0
- /package/{json → dist/json}/elevations/indigo.json +0 -0
- /package/{json → dist/json}/elevations/material.json +0 -0
- /package/{json → dist/json}/typography/presets/typescales.json +0 -0
- /package/{tailwind → dist/tailwind}/themes/base.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/bootstrap.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/fluent.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/indigo.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/dark/material.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/bootstrap.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/fluent.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/indigo.css +0 -0
- /package/{tailwind → dist/tailwind}/themes/light/material.css +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
var multipliers_default = {
|
|
2
|
+
color: {
|
|
3
|
+
"s": {
|
|
4
|
+
"50": "1.23",
|
|
5
|
+
"100": "0.8",
|
|
6
|
+
"200": "0.64",
|
|
7
|
+
"300": "0.73",
|
|
8
|
+
"400": "0.875",
|
|
9
|
+
"500": "1",
|
|
10
|
+
"600": "1.26",
|
|
11
|
+
"700": "1.26",
|
|
12
|
+
"800": "1.26",
|
|
13
|
+
"900": "1.26",
|
|
14
|
+
"A100": "1.23",
|
|
15
|
+
"A200": "1.22",
|
|
16
|
+
"A400": "1.23",
|
|
17
|
+
"A700": "1.23"
|
|
18
|
+
},
|
|
19
|
+
"l": {
|
|
20
|
+
"50": "1.78",
|
|
21
|
+
"100": "1.66",
|
|
22
|
+
"200": "1.43",
|
|
23
|
+
"300": "1.19",
|
|
24
|
+
"400": "1.08",
|
|
25
|
+
"500": "1",
|
|
26
|
+
"600": "0.89",
|
|
27
|
+
"700": "0.81",
|
|
28
|
+
"800": "0.73",
|
|
29
|
+
"900": "0.64",
|
|
30
|
+
"A100": "1.34",
|
|
31
|
+
"A200": "1.16",
|
|
32
|
+
"A400": "0.91",
|
|
33
|
+
"A700": "0.65"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
grayscale: { "l": {
|
|
37
|
+
"50": "13%",
|
|
38
|
+
"100": "26%",
|
|
39
|
+
"200": "38%",
|
|
40
|
+
"300": "54%",
|
|
41
|
+
"400": "62%",
|
|
42
|
+
"500": "74%",
|
|
43
|
+
"600": "88%",
|
|
44
|
+
"700": "93%",
|
|
45
|
+
"800": "96%",
|
|
46
|
+
"900": "98%"
|
|
47
|
+
} }
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
export { multipliers_default as default };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
//#region ../theming/dist/json/colors/presets/palettes.json
|
|
2
|
+
var palettes_default = {
|
|
3
|
+
"light-bootstrap-palette": {
|
|
4
|
+
"primary": "#0d6efd",
|
|
5
|
+
"secondary": "#6c757d",
|
|
6
|
+
"gray": "rgb(147.62511, 158.1, 168.57489)",
|
|
7
|
+
"surface": "#f8f9fa",
|
|
8
|
+
"info": "#0dcaf0",
|
|
9
|
+
"success": "#198754",
|
|
10
|
+
"warn": "#ffc107",
|
|
11
|
+
"error": "#dc3545"
|
|
12
|
+
},
|
|
13
|
+
"dark-bootstrap-palette": {
|
|
14
|
+
"primary": "#0d6efd",
|
|
15
|
+
"secondary": "#6c757d",
|
|
16
|
+
"gray": "rgb(181.53297, 188.7, 195.86703)",
|
|
17
|
+
"surface": "#212529",
|
|
18
|
+
"info": "#0dcaf0",
|
|
19
|
+
"success": "#198754",
|
|
20
|
+
"warn": "#ffc107",
|
|
21
|
+
"error": "#dc3545"
|
|
22
|
+
},
|
|
23
|
+
"light-material-palette": {
|
|
24
|
+
"primary": "#0099ff",
|
|
25
|
+
"secondary": "#df1b74",
|
|
26
|
+
"gray": "rgb(158.1, 158.1, 158.1)",
|
|
27
|
+
"surface": "white",
|
|
28
|
+
"info": "#1377d5",
|
|
29
|
+
"success": "#4eb862",
|
|
30
|
+
"warn": "#faa419",
|
|
31
|
+
"error": "#ff134a"
|
|
32
|
+
},
|
|
33
|
+
"dark-material-palette": {
|
|
34
|
+
"primary": "#0099ff",
|
|
35
|
+
"secondary": "#df1b74",
|
|
36
|
+
"gray": "rgb(188.7, 188.7, 188.7)",
|
|
37
|
+
"surface": "#222222",
|
|
38
|
+
"info": "#1377d5",
|
|
39
|
+
"success": "#4eb862",
|
|
40
|
+
"warn": "#faa419",
|
|
41
|
+
"error": "#ff134a"
|
|
42
|
+
},
|
|
43
|
+
"light-fluent-palette": {
|
|
44
|
+
"primary": "#0078d4",
|
|
45
|
+
"secondary": "#2b88d8",
|
|
46
|
+
"gray": "rgb(158.1, 158.1, 158.1)",
|
|
47
|
+
"surface": "white",
|
|
48
|
+
"info": "#1377d5",
|
|
49
|
+
"success": "#107c10",
|
|
50
|
+
"warn": "#797673",
|
|
51
|
+
"error": "#a80000"
|
|
52
|
+
},
|
|
53
|
+
"dark-fluent-palette": {
|
|
54
|
+
"primary": "#0078d4",
|
|
55
|
+
"secondary": "#2b88d8",
|
|
56
|
+
"gray": "rgb(188.7, 188.7, 188.7)",
|
|
57
|
+
"surface": "#1b1b1b",
|
|
58
|
+
"info": "#1377d5",
|
|
59
|
+
"success": "#107c10",
|
|
60
|
+
"warn": "#797673",
|
|
61
|
+
"error": "#a80000"
|
|
62
|
+
},
|
|
63
|
+
"light-indigo-palette": {
|
|
64
|
+
"primary": "rgb(63, 81, 181)",
|
|
65
|
+
"secondary": "rgb(63, 81, 181)",
|
|
66
|
+
"gray": "rgb(154, 157, 162)",
|
|
67
|
+
"surface": "#f8f8fa",
|
|
68
|
+
"info": "rgb(156, 39, 176)",
|
|
69
|
+
"success": "rgb(104, 159, 56)",
|
|
70
|
+
"warn": "rgb(245, 107, 29)",
|
|
71
|
+
"error": "rgb(207, 26, 43)"
|
|
72
|
+
},
|
|
73
|
+
"dark-indigo-palette": {
|
|
74
|
+
"primary": "rgb(63, 81, 181)",
|
|
75
|
+
"secondary": "rgb(63, 81, 181)",
|
|
76
|
+
"gray": "rgb(195, 196, 199)",
|
|
77
|
+
"surface": "#1e1f24",
|
|
78
|
+
"info": "rgb(156, 39, 176)",
|
|
79
|
+
"success": "rgb(104, 159, 56)",
|
|
80
|
+
"warn": "rgb(245, 107, 29)",
|
|
81
|
+
"error": "rgb(207, 26, 43)"
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
//#endregion
|
|
85
|
+
export { palettes_default as default };
|