@acorex/styles 20.2.0-next.8 → 20.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.
@@ -1,4 +1,5 @@
1
1
  $ax-icon-more-horizontal: '\f141';
2
+ $ax-icon-more-horizontal: '\f141';
2
3
  $ax-icon-more-horizontal-after: '';
3
4
 
4
5
  $ax-icon-more-vertical: '\f142';
@@ -219,3 +220,6 @@ $ax-icon-minimize-after: '';
219
220
 
220
221
  $ax-icon-maximize: '\f31d';
221
222
  $ax-icon-maximize-after: '';
223
+
224
+ $ax-icon-code: '\f121';
225
+ $ax-icon-code-after: '';
@@ -694,3 +694,12 @@
694
694
  content: variables.$ax-icon-maximize-after;
695
695
  }
696
696
  }
697
+
698
+ .ax-icon-code {
699
+ &:before {
700
+ content: variables.$ax-icon-code;
701
+ }
702
+ &:after {
703
+ content: variables.$ax-icon-code-after;
704
+ }
705
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: ''; //add-01
204
204
 
205
205
  $ax-icon-trash: ''; //delete-02
206
206
  $ax-icon-trash-after: ''; //delete-02
207
+
208
+ $ax-icon-code: 'Ϝ'; //source-code
209
+ $ax-icon-code-after: 'ϙ'; //source-code
@@ -645,3 +645,12 @@
645
645
  content: variables.$ax-icon-trash-after;
646
646
  }
647
647
  }
648
+
649
+ .ax-icon-code {
650
+ &:before {
651
+ content: variables.$ax-icon-code;
652
+ }
653
+ &:after {
654
+ content: variables.$ax-icon-code-after;
655
+ }
656
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: '墨'; //add-01
204
204
 
205
205
  $ax-icon-trash: '˝'; //delete-02
206
206
  $ax-icon-trash-after: '˜'; //delete-02
207
+
208
+ $ax-icon-code: 'ᏹ'; //source-code
209
+ $ax-icon-code-after: '᏶'; //source-code
@@ -646,3 +646,12 @@
646
646
  content: variables.$ax-icon-trash-after;
647
647
  }
648
648
  }
649
+
650
+ .ax-icon-code {
651
+ &:before {
652
+ content: variables.$ax-icon-code;
653
+ }
654
+ &:after {
655
+ content: variables.$ax-icon-code-after;
656
+ }
657
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: ''; //add-01
204
204
 
205
205
  $ax-icon-trash: 'ຝ'; //delete-02
206
206
  $ax-icon-trash-after: ''; //delete-02
207
+
208
+ $ax-icon-code: 'ᜬ'; //source-code
209
+ $ax-icon-code-after: ''; //source-code
@@ -632,3 +632,12 @@
632
632
  content: variables.$ax-icon-trash-after;
633
633
  }
634
634
  }
635
+
636
+ .ax-icon-code {
637
+ &:before {
638
+ content: variables.$ax-icon-code;
639
+ }
640
+ &:after {
641
+ content: variables.$ax-icon-code-after;
642
+ }
643
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: ''; //add-01
204
204
 
205
205
  $ax-icon-trash: 'Ẽ'; //delete-02
206
206
  $ax-icon-trash-after: ''; //delete-02
207
+
208
+ $ax-icon-code: '❋'; //source-code
209
+ $ax-icon-code-after: ''; //source-code
@@ -645,3 +645,12 @@
645
645
  content: variables.$ax-icon-trash-after;
646
646
  }
647
647
  }
648
+
649
+ .ax-icon-code {
650
+ &:before {
651
+ content: variables.$ax-icon-code;
652
+ }
653
+ &:after {
654
+ content: variables.$ax-icon-code-after;
655
+ }
656
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: ''; //add-01
204
204
 
205
205
  $ax-icon-trash: '⻛'; //delete-02
206
206
  $ax-icon-trash-after: ''; //delete-02
207
+
208
+ $ax-icon-code: '㝪'; //source-code
209
+ $ax-icon-code-after: ''; //source-code
@@ -645,3 +645,12 @@
645
645
  content: variables.$ax-icon-trash-after;
646
646
  }
647
647
  }
648
+
649
+ .ax-icon-code {
650
+ &:before {
651
+ content: variables.$ax-icon-code;
652
+ }
653
+ &:after {
654
+ content: variables.$ax-icon-code-after;
655
+ }
656
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: ''; //add-01
204
204
 
205
205
  $ax-icon-trash: '㻺'; //delete-02
206
206
  $ax-icon-trash-after: ''; //delete-02
207
+
208
+ $ax-icon-code: '䞉'; //source-code
209
+ $ax-icon-code-after: ''; //source-code
@@ -645,3 +645,12 @@
645
645
  content: variables.$ax-icon-trash-after;
646
646
  }
647
647
  }
648
+
649
+ .ax-icon-code {
650
+ &:before {
651
+ content: variables.$ax-icon-code;
652
+ }
653
+ &:after {
654
+ content: variables.$ax-icon-code-after;
655
+ }
656
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: ''; //add-01
204
204
 
205
205
  $ax-icon-trash: '伙'; //delete-02
206
206
  $ax-icon-trash-after: ''; //delete-02
207
+
208
+ $ax-icon-code: '垨'; //source-code
209
+ $ax-icon-code-after: ''; //source-code
@@ -645,3 +645,12 @@
645
645
  content: variables.$ax-icon-trash-after;
646
646
  }
647
647
  }
648
+
649
+ .ax-icon-code {
650
+ &:before {
651
+ content: variables.$ax-icon-code;
652
+ }
653
+ &:after {
654
+ content: variables.$ax-icon-code-after;
655
+ }
656
+ }
@@ -1,4 +1,4 @@
1
- $ax-icon-more-horizontal: '搽'; //more-horizontal
1
+ $ax-icon-code: '垨'; //source-code$ax-icon-more-horizontal: '搽'; //more-horizontal
2
2
  $ax-icon-more-horizontal-after: ''; //more-horizontal
3
3
 
4
4
  $ax-icon-more-vertical: '摅'; //more-vertical
@@ -204,3 +204,6 @@ $ax-icon-plus-after: ''; //add-01
204
204
 
205
205
  $ax-icon-trash: '弸'; //delete-02
206
206
  $ax-icon-trash-after: ''; //delete-02
207
+
208
+ $ax-icon-code: '柇'; //source-code
209
+ $ax-icon-code-after: ''; //source-code
@@ -645,3 +645,12 @@
645
645
  content: variables.$ax-icon-trash-after;
646
646
  }
647
647
  }
648
+
649
+ .ax-icon-code {
650
+ &:before {
651
+ content: variables.$ax-icon-code;
652
+ }
653
+ &:after {
654
+ content: variables.$ax-icon-code-after;
655
+ }
656
+ }
@@ -204,3 +204,6 @@ $ax-icon-plus-after: '欓'; //add-01
204
204
 
205
205
  $ax-icon-trash: '玶'; //delete-02
206
206
  $ax-icon-trash-after: '玵'; //delete-02
207
+
208
+ $ax-icon-code: '蓔'; //source-code
209
+ $ax-icon-code-after: '蓑'; //source-code
@@ -645,3 +645,12 @@
645
645
  content: variables.$ax-icon-trash-after;
646
646
  }
647
647
  }
648
+
649
+ .ax-icon-code {
650
+ &:before {
651
+ content: variables.$ax-icon-code;
652
+ }
653
+ &:after {
654
+ content: variables.$ax-icon-code-after;
655
+ }
656
+ }
@@ -219,3 +219,6 @@ $ax-icon-minimize-after: '';
219
219
 
220
220
  $ax-icon-maximize: '\f393';
221
221
  $ax-icon-maximize-after: '';
222
+
223
+ $ax-icon-code: '\e86f';
224
+ $ax-icon-code-after: '';
@@ -698,3 +698,12 @@
698
698
  content: variables.$ax-icon-maximize-after;
699
699
  }
700
700
  }
701
+
702
+ .ax-icon-code {
703
+ &:before {
704
+ content: variables.$ax-icon-code;
705
+ }
706
+ &:after {
707
+ content: variables.$ax-icon-code-after;
708
+ }
709
+ }
@@ -5,7 +5,8 @@
5
5
  --ax-sys-scroller-size-radius: 3px;
6
6
  --ax-sys-scroller-track-color: rgba(var(--ax-sys-color-light-surface));
7
7
  --ax-sys-scroller-thumb-color: rgba(var(--ax-sys-color-darkest-surface));
8
- // scrollbar-width: thin;
8
+ scrollbar-width: thin;
9
+ scrollbar-color: var(--ax-sys-scroller-thumb-color) var(--ax-sys-scroller-track-color);
9
10
  }
10
11
 
11
12
  .ax-dark,
@@ -14,6 +15,7 @@
14
15
  --ax-sys-scroller-size-radius: 3px;
15
16
  --ax-sys-scroller-track-color: rgba(var(--ax-sys-color-darker-surface));
16
17
  --ax-sys-scroller-thumb-color: rgba(var(--ax-sys-color-lightest-surface));
18
+ scrollbar-color: var(--ax-sys-scroller-thumb-color) var(--ax-sys-scroller-track-color);
17
19
  }
18
20
 
19
21
  ::-webkit-scrollbar {
@@ -31,9 +33,3 @@
31
33
  border-radius: var(--ax-sys-scroller-size-radius);
32
34
  }
33
35
  }
34
- @-moz-document url-prefix() {
35
- * {
36
- // scrollbar-width: thin;
37
- scrollbar-color: var(--ax-sys-scroller-thumb-color) var(--ax-sys-scroller-track-color);
38
- }
39
- }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "20.2.0-next.8",
3
+ "version": "20.2.0",
4
4
  "main": "index.js",
5
5
  "author": "Ali Safari",
6
6
  "license": "ISC",
7
7
  "peerDependencies": {
8
8
  "animated-tailwindcss": ">=4.0.0",
9
- "tailwindcss": ">=3.4.13"
9
+ "tailwindcss": ">=3.4.17"
10
10
  }
11
11
  }
package/tailwind-base.js CHANGED
@@ -229,7 +229,7 @@ module.exports = withAnimations({
229
229
  },
230
230
  {
231
231
  pattern:
232
- /(?:bg|text)(?:-(?:primary|secondary|danger|success|warning|ghost))?-(?:50|100|200|300|400|500|600|700|800|900|950)/,
232
+ /(?:bg|text)(?:-(?:primary|secondary|danger|success|warning))?-(?:50|100|200|300|400|500|600|700|800|900|950)/,
233
233
  },
234
234
  ],
235
235
  theme: {
@@ -272,6 +272,7 @@ module.exports = withAnimations({
272
272
  },
273
273
  maxWidth: {
274
274
  '8xl': '90rem',
275
+ '9xl': '100rem',
275
276
  },
276
277
  borderRadius: {
277
278
  default: 'var(--ax-sys-border-radius)',
@@ -302,6 +303,16 @@ module.exports = withAnimations({
302
303
  maxHeight: {
303
304
  default: 'var(--ax-sys-size-base)',
304
305
  },
306
+ keyframes: {
307
+ floating: {
308
+ '0%': { transform: 'translatey(0px)' },
309
+ '50%': { transform: 'translatey(-20px)' },
310
+ '100%': { transform: 'translatey(0px)' },
311
+ },
312
+ },
313
+ animation: {
314
+ floating: 'floating 6s ease-in-out infinite',
315
+ },
305
316
  },
306
317
  },
307
318
  corePlugins: {
@@ -1,7 +1,15 @@
1
- @use '../utils/index.scss' as utils; // import ACoreX utilities for using generate-pallete-variables function
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;
2
7
 
3
8
  /*
4
- Color themes that have multiple fixed primary colors, etc. that can range from 50 to 950, also generate 7 surfaces of these colors by default that are used to color components. 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, it uses the first color for light mode and the second color for dark mode. For example, you can see the color Danger
9
+ Color themes that have multiple fixed primary colors, etc.
10
+ that can range from 50 to 950, also generate 7 surfaces of these colors by default that are used to color components.
11
+ 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,
12
+ it uses the first color for light mode and the second color for dark mode. For example, you can see the color Danger
5
13
  */
6
14
  $theme-colors: (
7
15
  'primary': oklch(0.623 0.214 259.815),
@@ -18,7 +26,13 @@ $theme-colors: (
18
26
  oklch(0.645 0.246 16.439),
19
27
  oklch(0.712 0.194 13.428),
20
28
  ),
21
- 'accent1': #f00,
29
+ 'accent1': oklch(0.628 0.1579 104.82),
30
+ 'accent2': oklch(0.628 0.1534 140.47),
31
+ 'accent3': oklch(0.628 0.1727 31.76),
32
+ 'accent4': oklch(0.5475 0.2056 258.35),
33
+ 'accent5': oklch(0.5475 0.2467 1.06),
34
+ 'accent6': oklch(0.5475 0.2565 338.82),
35
+ 'accent7': oklch(0.5475 0.1554 46.59),
22
36
  );
23
37
 
24
38
  /*
@@ -37,11 +51,12 @@ $theme-surfaces: (
37
51
  );
38
52
 
39
53
  $options: (
40
- 'color-range': true,
41
54
  // Color range production 50 to 950, if you don't need them you can put false
42
- 'light': #ffffff,
55
+ 'color-range': true,
43
56
  // White is always a fixed color in the project, used in some special cases and does not change in light mode and dark mode.
44
- 'dark': #09090b, // // 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
+ 'light': #ffffff,
58
+ // dark is always a fixed color in the project, used in some special cases and does not change in light mode and dark mode.
59
+ 'dark': #09090b
45
60
  );
46
61
 
47
62
  /*
@@ -56,4 +71,4 @@ Importing default variables and overriding them with higher values
56
71
  --ax-sys-border-radius: 0.5rem; // Default roundness value for corners
57
72
  }
58
73
 
59
- @include utils.generate-pallete-variables($theme-colors, $theme-surfaces, $options);
74
+ @include utils.generate-palette-variables($theme-colors, $theme-surfaces, $options);
@@ -166,7 +166,7 @@
166
166
  );
167
167
  }
168
168
 
169
- @mixin generate-pallete-variables($colors, $theme-surfaces, $options) {
169
+ @mixin generate-palette-variables($colors, $theme-surfaces, $options) {
170
170
  $generate-color-range: map.get($options, 'color-range');
171
171
 
172
172
  /************** Light Palette **************/
@@ -9,6 +9,6 @@ $theme-colors: (
9
9
  'accent3': null,
10
10
  'accent4': null,
11
11
  'accent5': null,
12
- 'accnt6': null,
12
+ 'accent6': null,
13
13
  'accent7': null,
14
14
  ) !default;