@acorex/styles 21.0.0-next.56 → 21.0.0-next.57

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "21.0.0-next.56",
3
+ "version": "21.0.0-next.57",
4
4
  "main": "index.js",
5
5
  "author": "Ali Safari",
6
6
  "license": "ISC",
@@ -1,71 +0,0 @@
1
- /*
2
- import ACoreX utilities for using generate-palette-variables function
3
- import path in your app must be like this:
4
- @use '@acorex/styles/utils/index.scss' as utils;
5
- */
6
- @use '../utils/index.scss' as utils;
7
-
8
-
9
- /*
10
- Color themes that have multiple fixed primary colors, etc.
11
- that can range from 50 to 950, also generate 7 surfaces of these colors by default that are used to color components.
12
- If these colors have the same value, they are used for light mode and dark mode, but if you give the color key two colors,
13
- it uses the first color for light mode and the second color for dark mode. For example, you can see the color Danger
14
- */
15
- $theme-colors: (
16
- 'primary': oklch(0.623 0.214 259.815),
17
- 'secondary': (oklch(24.65% 0.0531 250.05),
18
- oklch(47.03% 0.0531 250.05),
19
- ),
20
- 'success': oklch(0.696 0.17 162.48),
21
- 'warning': (oklch(81.17% 0.188 70.08),
22
- oklch(86.5% 0.188 70.08),
23
- ),
24
- 'danger': (oklch(0.645 0.246 16.439),
25
- oklch(0.712 0.194 13.428),
26
- ),
27
- 'accent1': oklch(0.628 0.1579 104.82),
28
- 'accent2': oklch(0.628 0.1534 140.47),
29
- 'accent3': oklch(0.628 0.1727 31.76),
30
- 'accent4': oklch(0.5475 0.2056 258.35),
31
- 'accent5': oklch(0.5475 0.2467 1.06),
32
- 'accent6': oklch(0.5475 0.2565 338.82),
33
- 'accent7': oklch(0.5475 0.1554 46.59),
34
- );
35
-
36
- /*
37
- Surface colors for creating layouts, each color has a start and an end,
38
- which we use to create the color spectrum of surfaces.
39
- The colors are different for dark and light mode.
40
- */
41
- $theme-surfaces: (
42
- // Surfaces for light mode
43
- 'light-start': #ffffff,
44
- 'light-end': #d4d4d4,
45
-
46
- // Surfaces for dark mode
47
- 'dark-start': #27272a,
48
- 'dark-end': #09090b
49
- );
50
-
51
- $options: (
52
- // Color range production 50 to 950, if you don't need them you can put false
53
- 'color-range': true,
54
- // White is always a fixed color in the project, used in some special cases and does not change in light mode and dark mode.
55
- 'light': #ffffff,
56
- // dark is always a fixed color in the project, used in some special cases and does not change in light mode and dark mode.
57
- 'dark': #09090b
58
- );
59
-
60
- /*
61
- Importing default variables and overriding them with higher values
62
- */
63
- @forward '../variables/index.scss';
64
-
65
- :root {
66
- --ax-sys-body-font-size: 1rem; // Body font size
67
- --ax-sys-size-base: 2.5rem; // Variable height of elements, such as inputs and buttons
68
- --ax-sys-border-radius: 0.5rem; // Default roundness value for corners
69
- }
70
-
71
- @include utils.generate-palette-variables($theme-colors, $theme-surfaces, $options);
@@ -1,14 +0,0 @@
1
- $theme-colors: (
2
- 'primary': #3b82f6,
3
- 'secondary': #64748b,
4
- 'success': #22c55e,
5
- 'warning': #f59e0b,
6
- 'danger': #f43f5e,
7
- 'accent1': null,
8
- 'accent2': null,
9
- 'accent3': null,
10
- 'accent4': null,
11
- 'accent5': null,
12
- 'accent6': null,
13
- 'accent7': null,
14
- ) !default;
@@ -1 +0,0 @@
1
- $theme-looks: 'solid', 'outline', 'twotone', 'blank', 'link' !default;
@@ -1,2 +0,0 @@
1
- @forward './colors';
2
- @forward './looks';