anubis-ui 1.3.0 → 1.4.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.
Files changed (60) hide show
  1. package/README.md +206 -74
  2. package/dist/interfaces/color.interface.d.ts +8 -0
  3. package/dist/interfaces/color.interface.js +2 -0
  4. package/{src/interfaces/config.interface.ts → dist/interfaces/config.interface.d.ts} +0 -3
  5. package/dist/interfaces/config.interface.js +2 -0
  6. package/dist/interfaces/files.interface.d.ts +4 -0
  7. package/dist/interfaces/files.interface.js +2 -0
  8. package/{src/interfaces/preset.interface.ts → dist/interfaces/preset.interface.d.ts} +3 -7
  9. package/dist/interfaces/preset.interface.js +2 -0
  10. package/dist/tools/config.tool.d.ts +4 -0
  11. package/dist/tools/config.tool.js +64 -0
  12. package/dist/tools/extraction/extractClasses.d.ts +5 -0
  13. package/dist/tools/extraction/extractClasses.js +134 -0
  14. package/dist/tools/fileStuff/config.file.d.ts +5 -0
  15. package/dist/tools/fileStuff/config.file.js +41 -0
  16. package/dist/tools/fileStuff/file.tools.d.ts +19 -0
  17. package/dist/tools/fileStuff/file.tools.js +88 -0
  18. package/dist/tools/fileStuff/quasar-variables.file.d.ts +1 -0
  19. package/dist/tools/fileStuff/quasar-variables.file.js +12 -0
  20. package/dist/tools/logger.d.ts +5 -0
  21. package/dist/tools/logger.js +27 -0
  22. package/dist/tools/main.d.ts +1 -0
  23. package/dist/tools/main.js +54 -0
  24. package/dist/tools/mapping/mapClassIntoRule.d.ts +5 -0
  25. package/dist/tools/mapping/mapClassIntoRule.js +256 -0
  26. package/dist/tools/mapping/mapColors.d.ts +3 -0
  27. package/dist/tools/mapping/mapColors.js +18 -0
  28. package/dist/tools/mapping/mapUtilities.d.ts +1 -0
  29. package/dist/tools/mapping/mapUtilities.js +17 -0
  30. package/dist/tools/output/css.output.d.ts +11 -0
  31. package/dist/tools/output/css.output.js +118 -0
  32. package/dist/tools/validation/color.validation.d.ts +12 -0
  33. package/{src/tools/validation/color.validation.ts → dist/tools/validation/color.validation.js} +14 -31
  34. package/dist/version.d.ts +5 -0
  35. package/dist/version.js +7 -0
  36. package/index.js +5 -18
  37. package/package.json +10 -3
  38. package/index.html +0 -20
  39. package/scripts/generate-version.js +0 -15
  40. package/src/config/colors.config.json +0 -242
  41. package/src/config/files.config.json +0 -5
  42. package/src/config/force.config.json +0 -1
  43. package/src/config/states.config.json +0 -4
  44. package/src/config/utilities.config.json +0 -152
  45. package/src/interfaces/color.interface.ts +0 -9
  46. package/src/interfaces/files.interface.ts +0 -4
  47. package/src/manual/build.js +0 -4
  48. package/src/tools/config.tool.ts +0 -70
  49. package/src/tools/extraction/extractClasses.ts +0 -215
  50. package/src/tools/fileStuff/config.file.ts +0 -44
  51. package/src/tools/fileStuff/css.file.ts +0 -47
  52. package/src/tools/fileStuff/file.tools.ts +0 -12
  53. package/src/tools/logger.ts +0 -23
  54. package/src/tools/mapping/mapClassIntoRule.ts +0 -335
  55. package/src/tools/mapping/mapColorIntoDeclaration.ts +0 -14
  56. package/src/tools/output/css.output.ts +0 -104
  57. package/tests/README.md +0 -54
  58. package/tests/validation/color.validation.test.ts +0 -182
  59. package/tsconfig.json +0 -22
  60. package/vitest.config.ts +0 -19
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mapColorsIntoTokens = exports.mapColorsIntoMixinDeclaration = void 0;
4
+ const css_output_1 = require("../output/css.output");
5
+ const config_tool_1 = require("../config.tool");
6
+ const mapColorsIntoMixinDeclaration = (colors) => {
7
+ var _a, _b;
8
+ const mappedColors = (_b = (_a = Object.entries(colors)) === null || _a === void 0 ? void 0 : _a.map(([colorName, { light, dark }]) => (0, css_output_1.defineColor)(colorName, light, dark))) === null || _b === void 0 ? void 0 : _b.join('\n');
9
+ return mappedColors;
10
+ };
11
+ exports.mapColorsIntoMixinDeclaration = mapColorsIntoMixinDeclaration;
12
+ const mapColorsIntoTokens = () => {
13
+ var _a, _b;
14
+ const colors = config_tool_1.config.colors;
15
+ const tokenizedColors = (_b = (_a = Object.entries(colors)) === null || _a === void 0 ? void 0 : _a.map(([colorName, { light, dark }]) => (0, css_output_1.defineToken)(colorName, light, dark))) === null || _b === void 0 ? void 0 : _b.join('\n\n');
16
+ return tokenizedColors;
17
+ };
18
+ exports.mapColorsIntoTokens = mapColorsIntoTokens;
@@ -0,0 +1 @@
1
+ export declare const mapUtilitiesIntoOverride: () => string;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.mapUtilitiesIntoOverride = void 0;
4
+ const config_tool_1 = require("../config.tool");
5
+ const mapUtilitiesIntoOverride = () => {
6
+ var _a, _b;
7
+ const utilities = (_a = [...config_tool_1.config.utilities]) === null || _a === void 0 ? void 0 : _a.filter(u => { var _a; return ((_a = u.overrides) === null || _a === void 0 ? void 0 : _a.length) >= 1; });
8
+ const overrides = (_b = utilities === null || utilities === void 0 ? void 0 : utilities.map(u => {
9
+ var _a, _b, _c;
10
+ const { variations, overrides } = u;
11
+ const defaultVariation = (_b = (_a = Object.entries(variations)) === null || _a === void 0 ? void 0 : _a.find(([key]) => key === 'default')) === null || _b === void 0 ? void 0 : _b[1];
12
+ const mappedOverrides = (_c = overrides === null || overrides === void 0 ? void 0 : overrides.map(o => `$${o}: ${defaultVariation};`)) === null || _c === void 0 ? void 0 : _c.join('\n');
13
+ return mappedOverrides;
14
+ })) === null || _b === void 0 ? void 0 : _b.join('\n');
15
+ return overrides;
16
+ };
17
+ exports.mapUtilitiesIntoOverride = mapUtilitiesIntoOverride;
@@ -0,0 +1,11 @@
1
+ export declare const mixins = "@use \"sass:color\";\n\n$background-opacity: (\n 10: 0.1,\n 20: 0.2,\n 30: 0.3,\n 40: 0.4,\n 50: 0.5,\n 60: 0.6,\n 70: 0.7,\n 80: 0.8,\n 90: 0.9\n);\n\n// Mixin that will automatically generate colors for light and/or dark themes (with opacity variations)\n@mixin setRootColors ($name, $lightColor: null, $darkColor: null) {\n :root {\n @if $lightColor != null {\n body.body--light {\n #{\"--\"+$name}: $lightColor;\n\n // Only generate opacity variations for non transparent colors\n @if $lightColor != transparent {\n @each $opacity, $multiplier in $background-opacity {\n #{\"--\"+$name+\"-\"+$opacity}: #{color.change($lightColor, $alpha: $multiplier)};\n }\n }\n }\n }\n\n @if $darkColor != null {\n body.body--dark {\n #{\"--\"+$name}: $darkColor;\n\n // Only generate opacity variations for non transparent colors\n @if $darkColor != transparent {\n @each $opacity, $multiplier in $background-opacity {\n #{\"--\"+$name+\"-\"+$opacity}: #{color.change($darkColor, $alpha: $multiplier)};\n }\n }\n }\n }\n }\n}\n";
2
+ export declare const getHeader: () => string;
3
+ export declare const comments: {
4
+ colors: string;
5
+ variations: string;
6
+ rules: string;
7
+ };
8
+ /** Map a colorName and hex into mixins function call */
9
+ export declare const defineColor: (colorName: string, light?: string, dark?: string) => string;
10
+ /** Map a color name and hex into token declaration for global usage */
11
+ export declare const defineToken: (colorName: string, light?: string, dark?: string) => string;
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defineToken = exports.defineColor = exports.comments = exports.getHeader = exports.mixins = void 0;
4
+ const version_1 = require("../../version");
5
+ const file_tools_1 = require("../fileStuff/file.tools");
6
+ const header = `/**
7
+ * Anubis v.${version_1.version}
8
+ * Improba
9
+ * Released under the MIT License.
10
+ */
11
+ @use "${file_tools_1.mixinsFile}";
12
+ @use "${file_tools_1.tokensFile}";
13
+ `;
14
+ exports.mixins = `@use "sass:color";
15
+
16
+ $background-opacity: (
17
+ 10: 0.1,
18
+ 20: 0.2,
19
+ 30: 0.3,
20
+ 40: 0.4,
21
+ 50: 0.5,
22
+ 60: 0.6,
23
+ 70: 0.7,
24
+ 80: 0.8,
25
+ 90: 0.9
26
+ );
27
+
28
+ // Mixin that will automatically generate colors for light and/or dark themes (with opacity variations)
29
+ @mixin setRootColors ($name, $lightColor: null, $darkColor: null) {
30
+ :root {
31
+ @if $lightColor != null {
32
+ body.body--light {
33
+ #{"--"+$name}: $lightColor;
34
+
35
+ // Only generate opacity variations for non transparent colors
36
+ @if $lightColor != transparent {
37
+ @each $opacity, $multiplier in $background-opacity {
38
+ #{"--"+$name+"-"+$opacity}: #{color.change($lightColor, $alpha: $multiplier)};
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ @if $darkColor != null {
45
+ body.body--dark {
46
+ #{"--"+$name}: $darkColor;
47
+
48
+ // Only generate opacity variations for non transparent colors
49
+ @if $darkColor != transparent {
50
+ @each $opacity, $multiplier in $background-opacity {
51
+ #{"--"+$name+"-"+$opacity}: #{color.change($darkColor, $alpha: $multiplier)};
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ `;
59
+ const getHeader = () => {
60
+ return `${header}`;
61
+ };
62
+ exports.getHeader = getHeader;
63
+ exports.comments = {
64
+ colors: `/**
65
+ * These colors will be mapped to css variables in
66
+ * the :root element on the html page.
67
+ *
68
+ * It allows you to write custom css/scss classes in your web
69
+ * components.
70
+ */`,
71
+ variations: `/**
72
+ * These css variables are generated automatically when Anubis
73
+ * detects that they are used in utilities in your config.
74
+ *
75
+ * It allows you to write custom css/scss classes in your web
76
+ * components like:
77
+ *
78
+ * .paragraph-small {
79
+ * font-size: var(--size-xs);
80
+ * font-weight: var(--weight-light);
81
+ * }
82
+ *
83
+ * (You can also force the generation of all variants from a
84
+ * utility by setting the 'export' to 'variations')
85
+ */`,
86
+ rules: `/**
87
+ * These are the css classes generated by Anubis based on your config
88
+ * and what was detected in your source files.
89
+ */`,
90
+ };
91
+ /** Map a colorName and hex into mixins function call */
92
+ const defineColor = (colorName, light, dark) => {
93
+ var _a, _b;
94
+ const useToken = true;
95
+ const lightColor = useToken ? `$${colorName}` : light;
96
+ const darkColor = useToken ? `$${colorName}-dark` : dark;
97
+ // _ only dark
98
+ if (!light && dark) {
99
+ return `@include setRootColors('${colorName}', null, ${darkColor});`;
100
+ }
101
+ // _ light and/or dark
102
+ return `@include setRootColors('${colorName}', ${(_b = (_a = [lightColor, darkColor]) === null || _a === void 0 ? void 0 : _a.filter(Boolean)) === null || _b === void 0 ? void 0 : _b.join(', ')});`;
103
+ };
104
+ exports.defineColor = defineColor;
105
+ /** Map a color name and hex into token declaration for global usage */
106
+ const defineToken = (colorName, light, dark) => {
107
+ let tokens = [];
108
+ if (light) {
109
+ tokens.push(`$${colorName}: ${light};`);
110
+ tokens.push(`$${colorName}-light: ${light};`);
111
+ }
112
+ if (dark) {
113
+ tokens.push(`$${colorName}-dark: ${dark};`);
114
+ }
115
+ const stringifiedTokens = tokens === null || tokens === void 0 ? void 0 : tokens.join('\n');
116
+ return stringifiedTokens;
117
+ };
118
+ exports.defineToken = defineToken;
@@ -0,0 +1,12 @@
1
+ import { IColor } from '../../interfaces/color.interface';
2
+ /**
3
+ * Validates a single color value (hex color or 'transparent')
4
+ */
5
+ declare const isValidColorValue: (value: string) => boolean;
6
+ /**
7
+ * Validates the colors configuration
8
+ * Ensures each color has at least one valid theme (light or dark)
9
+ * @throws Error if validation fails
10
+ */
11
+ declare const validateColors: (colors: IColor) => void;
12
+ export { validateColors, isValidColorValue };
@@ -1,51 +1,41 @@
1
- import { IColor } from '@interfaces/color.interface';
2
- import { log } from '@tools/logger';
3
-
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.isValidColorValue = exports.validateColors = void 0;
4
+ const logger_1 = require("../logger");
4
5
  /**
5
6
  * Validates a single color value (hex color or 'transparent')
6
7
  */
7
- const isValidColorValue = (value: string): boolean => {
8
+ const isValidColorValue = (value) => {
8
9
  if (value === 'transparent') {
9
10
  return true;
10
11
  }
11
12
  // Validate hex color format (#RRGGBB or #RGB)
12
13
  return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(value);
13
14
  };
14
-
15
+ exports.isValidColorValue = isValidColorValue;
15
16
  /**
16
17
  * Validates the colors configuration
17
18
  * Ensures each color has at least one valid theme (light or dark)
18
19
  * @throws Error if validation fails
19
20
  */
20
- const validateColors = (colors: IColor): void => {
21
- const errors: string[] = [];
22
-
21
+ const validateColors = (colors) => {
22
+ const errors = [];
23
23
  Object.entries(colors).forEach(([colorName, colorConfig]) => {
24
24
  const { light, dark } = colorConfig;
25
-
26
25
  // Check if at least one theme is defined
27
26
  if (!light && !dark) {
28
- errors.push(
29
- `Color "${colorName}": must have at least one theme defined (light or dark)`
30
- );
27
+ errors.push(`Color "${colorName}": must have at least one theme defined (light or dark)`);
31
28
  return;
32
29
  }
33
-
34
30
  // Validate light color if defined
35
31
  if (light && !isValidColorValue(light)) {
36
- errors.push(
37
- `Color "${colorName}": invalid light color value "${light}". Expected hex format (#RRGGBB) or "transparent"`
38
- );
32
+ errors.push(`Color "${colorName}": invalid light color value "${light}". Expected hex format (#RRGGBB) or "transparent"`);
39
33
  }
40
-
41
34
  // Validate dark color if defined
42
35
  if (dark && !isValidColorValue(dark)) {
43
- errors.push(
44
- `Color "${colorName}": invalid dark color value "${dark}". Expected hex format (#RRGGBB) or "transparent"`
45
- );
36
+ errors.push(`Color "${colorName}": invalid dark color value "${dark}". Expected hex format (#RRGGBB) or "transparent"`);
46
37
  }
47
38
  });
48
-
49
39
  if (errors.length > 0) {
50
40
  const errorMessage = [
51
41
  '❌ Color configuration validation failed:',
@@ -53,16 +43,9 @@ const validateColors = (colors: IColor): void => {
53
43
  '',
54
44
  'Please check your colors.config.json or anubis.config.json file.',
55
45
  ].join('\n');
56
-
57
- log(errorMessage);
46
+ (0, logger_1.log)(errorMessage);
58
47
  throw new Error('Invalid color configuration');
59
48
  }
60
-
61
- log(
62
- `✅ Color configuration validated (${
63
- Object.keys(colors).length
64
- } colors)`
65
- );
49
+ (0, logger_1.log)(`✅ Color configuration validated (${Object.keys(colors).length} colors)`);
66
50
  };
67
-
68
- export { validateColors, isValidColorValue };
51
+ exports.validateColors = validateColors;
@@ -0,0 +1,5 @@
1
+ export declare const version = "1.4.0";
2
+ declare const _default: {
3
+ version: string;
4
+ };
5
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ // This file is auto-generated by scripts/generate-version.js
3
+ // Do not edit this file manually
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.version = void 0;
6
+ exports.version = '1.4.0';
7
+ exports.default = { version: exports.version };
package/index.js CHANGED
@@ -1,26 +1,15 @@
1
1
  "use strict";
2
2
 
3
- const { init: initConfig, config } = require('./dist/tools/config.tool');
4
- const { log, logPrefix, logo } = require('./dist/tools/logger');
5
- const { init: initClassExtraction } = require('./dist/tools/extraction/extractClasses');
3
+ const { config } = require('./dist/tools/config.tool');
4
+ const { measureDuration, log, logPrefix, logo } = require('./dist/tools/logger');
5
+ const { init: initAnubis } = require('./dist/tools/main')
6
6
 
7
7
  const init = async () => {
8
8
  logo();
9
-
10
- console.time(`${logPrefix} Config initialized in`);
11
- initConfig();
12
- console.timeEnd(`${logPrefix} Config initialized in`);
13
- log('---');
14
-
15
- console.time(`${logPrefix} Rules generated in`);
16
- await initClassExtraction();
17
- console.timeEnd(`${logPrefix} Rules generated in`);
18
- log('---');
9
+ await measureDuration('Anubis', initAnubis, false)
19
10
  };
20
11
 
21
12
  const refresh = async (file) => {
22
- // console.log({ file });
23
-
24
13
  // _ Prevent self change loop
25
14
  // todo - add targets / ignore detection
26
15
  if (file.endsWith('_anubis.scss')) { return }
@@ -30,9 +19,7 @@ const refresh = async (file) => {
30
19
  return
31
20
  }
32
21
 
33
- console.time(`${logPrefix} Refreshed in`);
34
- await initClassExtraction();
35
- console.timeEnd(`${logPrefix} Refreshed in`);
22
+ await measureDuration('Refresh', initAnubis, false)
36
23
  }
37
24
 
38
25
  function AnubisUI() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anubis-ui",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Class-based css generator",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -16,13 +16,20 @@
16
16
  ],
17
17
  "scripts": {
18
18
  "dev": "rm -rf dist; npm run prepare; node src/manual/build.js",
19
- "build": "node scripts/generate-version.js && tsc && tsc-alias",
20
- "preinstall": "npm run build",
19
+ "build": "node scripts/generate-version.js && npx tsc && npx tsc-alias",
21
20
  "prepare": "npm run build",
21
+ "prepublishOnly": "npm run build",
22
22
  "test": "vitest",
23
23
  "test:run": "vitest run",
24
24
  "test:ui": "vitest --ui"
25
25
  },
26
+ "files": [
27
+ "dist",
28
+ "index.js",
29
+ "index.d.ts",
30
+ "README.md",
31
+ "LICENSE"
32
+ ],
26
33
  "style": "dist/_anubis.scss",
27
34
  "repository": {
28
35
  "type": "git",
package/index.html DELETED
@@ -1,20 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
- <title>AnubisUI Test</title>
7
- <link rel="stylesheet" href="src/css/_anubis.scss" />
8
-
9
- <style>
10
- .paragraph-small {
11
- font-weight: var(--weight-bold);
12
- }
13
- </style>
14
- </head>
15
- <body class="body--light">
16
- <div class="rounded bg-neutral border-primary-highest-thick shadow-neutral-wide">
17
- <btn color="primary" textColor="secondary">Test button with variants</button>
18
- </div>
19
- </body>
20
- </html>
@@ -1,15 +0,0 @@
1
- const fs = require('fs');
2
- const path = require('path');
3
-
4
- const packageJsonPath = path.join(__dirname, '..', 'package.json');
5
- const versionFilePath = path.join(__dirname, '..', 'src', 'version.ts');
6
-
7
- const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf-8'));
8
- const versionCode = `// This file is auto-generated by scripts/generate-version.js
9
- // Do not edit this file manually
10
-
11
- export const version = '${packageJson.version}';
12
- export default { version };
13
- `;
14
-
15
- fs.writeFileSync(versionFilePath, versionCode, 'utf-8');
@@ -1,242 +0,0 @@
1
- {
2
- "none": {
3
- "light": "transparent",
4
- "dark": "transparent"
5
- },
6
- "text": {
7
- "light": "#000",
8
- "dark": "#fff"
9
- },
10
- "text-invert": {
11
- "light": "#fff",
12
- "dark": "#000"
13
- },
14
- "text-link": {
15
- "light": "#0a5a8a",
16
- "dark": "#0f84cb"
17
- },
18
- "accent": {
19
- "light": "#0f84cb",
20
- "dark": "#1a94db"
21
- },
22
- "accent-lowest": {
23
- "light": "#f0f8ff",
24
- "dark": "#082a3f"
25
- },
26
- "accent-lower": {
27
- "light": "#e1f2ff",
28
- "dark": "#0a5a8a"
29
- },
30
- "accent-low": {
31
- "light": "#b3d9ff",
32
- "dark": "#0e6b9a"
33
- },
34
- "accent-medium": {
35
- "light": "#0f84cb",
36
- "dark": "#1a94db"
37
- },
38
- "accent-high": {
39
- "light": "#0c6ba3",
40
- "dark": "#b3d9ff"
41
- },
42
- "accent-higher": {
43
- "light": "#094a7a",
44
- "dark": "#e1f2ff"
45
- },
46
- "accent-highest": {
47
- "light": "#082a3f",
48
- "dark": "#f0f8ff"
49
- },
50
- "primary": {
51
- "light": "#0f84cb",
52
- "dark": "#1a94db"
53
- },
54
- "primary-lowest": {
55
- "light": "#f0f8ff",
56
- "dark": "#082a3f"
57
- },
58
- "primary-lower": {
59
- "light": "#e1f2ff",
60
- "dark": "#0a5a8a"
61
- },
62
- "primary-low": {
63
- "light": "#b3d9ff",
64
- "dark": "#0e6b9a"
65
- },
66
- "primary-medium": {
67
- "light": "#0f84cb",
68
- "dark": "#1a94db"
69
- },
70
- "primary-high": {
71
- "light": "#0c6ba3",
72
- "dark": "#b3d9ff"
73
- },
74
- "primary-higher": {
75
- "light": "#094a7a",
76
- "dark": "#e1f2ff"
77
- },
78
- "primary-highest": {
79
- "light": "#082a3f",
80
- "dark": "#f0f8ff"
81
- },
82
- "secondary": {
83
- "light": "#3b5161",
84
- "dark": "#4a5f6f"
85
- },
86
- "secondary-lowest": {
87
- "light": "#f5f7f8",
88
- "dark": "#1e2a30"
89
- },
90
- "secondary-lower": {
91
- "light": "#e8ecf0",
92
- "dark": "#2a3a42"
93
- },
94
- "secondary-low": {
95
- "light": "#b3c2cc",
96
- "dark": "#354a55"
97
- },
98
- "secondary-medium": {
99
- "light": "#3b5161",
100
- "dark": "#4a5f6f"
101
- },
102
- "secondary-high": {
103
- "light": "#2f404e",
104
- "dark": "#b3c2cc"
105
- },
106
- "secondary-higher": {
107
- "light": "#232f3a",
108
- "dark": "#e8ecf0"
109
- },
110
- "secondary-highest": {
111
- "light": "#1e2a30",
112
- "dark": "#f5f7f8"
113
- },
114
- "neutral": {
115
- "light": "#64748b",
116
- "dark": "#64748b"
117
- },
118
- "neutral-lowest": {
119
- "light": "#ffffff",
120
- "dark": "#0f172a"
121
- },
122
- "neutral-lower": {
123
- "light": "#f1f5f9",
124
- "dark": "#475569"
125
- },
126
- "neutral-low": {
127
- "light": "#cbd5e1",
128
- "dark": "#475569"
129
- },
130
- "neutral-medium": {
131
- "light": "#64748b",
132
- "dark": "#64748b"
133
- },
134
- "neutral-high": {
135
- "light": "#475569",
136
- "dark": "#cbd5e1"
137
- },
138
- "neutral-higher": {
139
- "light": "#1e293b",
140
- "dark": "#f1f5f9"
141
- },
142
- "neutral-highest": {
143
- "light": "#141e57",
144
- "dark": "#ffffff"
145
- },
146
- "success": {
147
- "light": "#00c99e",
148
- "dark": "#25e2b3"
149
- },
150
- "success-lowest": {
151
- "light": "#eafff7",
152
- "dark": "#00302a"
153
- },
154
- "success-lower": {
155
- "light": "#cdfeeb",
156
- "dark": "#006756"
157
- },
158
- "success-low": {
159
- "light": "#63f2ca",
160
- "dark": "#00a481"
161
- },
162
- "success-medium": {
163
- "light": "#00c99e",
164
- "dark": "#25e2b3"
165
- },
166
- "success-high": {
167
- "light": "#00836b",
168
- "dark": "#63f2ca"
169
- },
170
- "success-higher": {
171
- "light": "#005548",
172
- "dark": "#cdfeeb"
173
- },
174
- "success-highest": {
175
- "light": "#00302a",
176
- "dark": "#eafff7"
177
- },
178
- "danger": {
179
- "light": "#e64d4b",
180
- "dark": "#f17a78"
181
- },
182
- "danger-lowest": {
183
- "light": "#fdf3f3",
184
- "dark": "#420e0d"
185
- },
186
- "danger-lower": {
187
- "light": "#fde3e3",
188
- "dark": "#932221"
189
- },
190
- "danger-low": {
191
- "light": "#f8aaa9",
192
- "dark": "#d3312f"
193
- },
194
- "danger-medium": {
195
- "light": "#e64d4b",
196
- "dark": "#f17a78"
197
- },
198
- "danger-high": {
199
- "light": "#b12624",
200
- "dark": "#f8aaa9"
201
- },
202
- "danger-higher": {
203
- "light": "#7a2322",
204
- "dark": "#fde3e3"
205
- },
206
- "danger-highest": {
207
- "light": "#420e0d",
208
- "dark": "#fdf3f3"
209
- },
210
- "warning": {
211
- "light": "#ff9a00",
212
- "dark": "#ffbd1b"
213
- },
214
- "warning-lowest": {
215
- "light": "#fffbea",
216
- "dark": "#481700"
217
- },
218
- "warning-lower": {
219
- "light": "#fff3c5",
220
- "dark": "#983c08"
221
- },
222
- "warning-low": {
223
- "light": "#ffd346",
224
- "dark": "#e27300"
225
- },
226
- "warning-medium": {
227
- "light": "#ff9a00",
228
- "dark": "#ffbd1b"
229
- },
230
- "warning-high": {
231
- "light": "#bb4e02",
232
- "dark": "#ffd346"
233
- },
234
- "warning-higher": {
235
- "light": "#7c310b",
236
- "dark": "#fff3c5"
237
- },
238
- "warning-highest": {
239
- "light": "#481700",
240
- "dark": "#fffbea"
241
- }
242
- }
@@ -1,5 +0,0 @@
1
- {
2
- "targets": [
3
- "**/*.vue"
4
- ]
5
- }
@@ -1 +0,0 @@
1
- []
@@ -1,4 +0,0 @@
1
- [
2
- "hover",
3
- "not-hover"
4
- ]