@acorex/styles 19.8.0-next.9 → 19.9.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 (56) hide show
  1. package/icons/fontawesome/_variables.scss +9 -0
  2. package/icons/fontawesome/index.scss +38 -10
  3. package/icons/huge/huge-bulk/_variables.scss +9 -0
  4. package/icons/huge/huge-bulk/index.scss +31 -4
  5. package/icons/huge/huge-duotone/_variables.scss +9 -0
  6. package/icons/huge/huge-duotone/index.scss +31 -4
  7. package/icons/huge/huge-solid-rounded/_variables.scss +9 -0
  8. package/icons/huge/huge-solid-rounded/index.scss +27 -0
  9. package/icons/huge/huge-solid-sharp/_variables.scss +9 -0
  10. package/icons/huge/huge-solid-sharp/index.scss +31 -4
  11. package/icons/huge/huge-solid-standard/_variables.scss +9 -0
  12. package/icons/huge/huge-solid-standard/index.scss +31 -4
  13. package/icons/huge/huge-stroke-rounded/_variables.scss +9 -0
  14. package/icons/huge/huge-stroke-rounded/index.scss +31 -4
  15. package/icons/huge/huge-stroke-sharp/_variables.scss +9 -0
  16. package/icons/huge/huge-stroke-sharp/index.scss +31 -4
  17. package/icons/huge/huge-stroke-standard/_variables.scss +9 -0
  18. package/icons/huge/huge-stroke-standard/index.scss +31 -4
  19. package/icons/huge/huge-twotone/_variables.scss +9 -0
  20. package/icons/huge/huge-twotone/index.scss +31 -4
  21. package/icons/material/_variables.scss +9 -0
  22. package/icons/material/index.scss +32 -4
  23. package/index.css +2016 -319
  24. package/index.min.css +1 -1
  25. package/index.scss +0 -1
  26. package/package.json +1 -1
  27. package/src/base/index.scss +4 -2
  28. package/src/mixins/_look.scss +35 -20
  29. package/src/shared/_action-item.scss +3 -3
  30. package/src/shared/_actionsheet.scss +6 -7
  31. package/src/shared/_check-box.scss +14 -8
  32. package/src/shared/_color-look.scss +822 -0
  33. package/src/shared/_drop-down.scss +16 -7
  34. package/src/shared/_editor-container.scss +75 -35
  35. package/src/shared/_general-button.scss +12 -11
  36. package/src/shared/_inputs.scss +16 -0
  37. package/src/shared/_list.scss +41 -15
  38. package/src/shared/_radio.scss +14 -8
  39. package/src/shared/_table.scss +30 -9
  40. package/src/shared/_utils.scss +16 -10
  41. package/src/shared/index.scss +2 -4
  42. package/src/utility/index.scss +22 -2
  43. package/src/variables/_colors.scss +1 -1
  44. package/tailwind-base.js +56 -89
  45. package/themes/default.css +1 -1
  46. package/themes/default.scss +139 -240
  47. package/src/components/editors/_base.scss +0 -50
  48. package/src/components/editors/index.scss +0 -60
  49. package/src/components/editors/looks/_fill.scss +0 -17
  50. package/src/components/editors/looks/_flat.scss +0 -18
  51. package/src/components/editors/looks/_outline.scss +0 -18
  52. package/src/components/editors/looks/_solid.scss +0 -20
  53. package/src/components/editors/looks/index.scss +0 -4
  54. package/src/components/index.scss +0 -1
  55. package/src/shared/_ripple.scss +0 -13
  56. package/themes/test.scss +0 -237
@@ -2,34 +2,39 @@
2
2
  @include mixins.darkMode() {
3
3
  .ax-table {
4
4
  thead {
5
- background-color: rgba(var(--ax-sys-surface-high-bg-color));
5
+ // @apply ax-bg-on-surface;
6
+ background-color: rgba(var(--ax-color-on-surface));
6
7
  }
7
8
  }
8
9
  }
9
10
  .ax-table {
11
+ // @apply ax-w-full ax-border-collapse ax-border-spacing-0 ax-overflow-hidden ax-rounded-default ax-border ax-border-default ax-text-sm;
10
12
  width: 100%;
11
13
  border-collapse: collapse;
12
14
  border-spacing: 0;
13
15
  overflow: hidden;
14
- border-radius: var(--ax-sys-border-radius);
16
+ border-radius: var(--ax-rounded-border-default);
15
17
  border-width: 1px;
16
- border-color: rgba(var(--ax-sys-border-color));
18
+ border-color: rgba(var(--ax-color-border-default));
17
19
  font-size: 0.875rem /* 14px */;
18
20
  line-height: 1.25rem /* 20px */;
19
21
  td {
22
+ // @apply ax-border-b ax-border-default ax-px-4 ax-py-3;
20
23
  border-bottom-width: 1px;
21
- border-color: rgba(var(--ax-sys-border-color));
24
+ border-color: rgba(var(--ax-color-border-default));
22
25
  padding-left: 1rem /* 16px */;
23
26
  padding-right: 1rem /* 16px */;
24
27
  padding-top: 0.75rem /* 12px */;
25
28
  padding-bottom: 0.75rem /* 12px */;
26
29
  }
27
30
  thead {
31
+ // @apply ax-border-b ax-border-default ax-bg-on-surface;
28
32
  border-bottom-width: 1px;
29
- border-color: rgba(var(--ax-sys-border-color));
30
- background-color: rgba(var(--ax-sys-surface-high-bg-color));
33
+ border-color: rgba(var(--ax-color-border-default));
34
+ background-color: rgba(var(--ax-color-on-surface));
31
35
 
32
36
  th {
37
+ // @apply ax-px-4 ax-py-3.5 ax-text-start ax-font-medium ax-uppercase;
33
38
  padding-left: 1rem /* 16px */;
34
39
  padding-right: 1rem /* 16px */;
35
40
  padding-top: 0.875rem /* 14px */;
@@ -43,7 +48,8 @@
43
48
  tbody {
44
49
  tr {
45
50
  &:nth-child(even) {
46
- background-color: rgba(var(--ax-sys-surface-high-bg-color));
51
+ // @apply ax-bg-on-surface;
52
+ background-color: rgba(var(--ax-color-on-surface));
47
53
  }
48
54
  }
49
55
  }
@@ -51,6 +57,7 @@
51
57
  &.ax-table-bordered {
52
58
  thead {
53
59
  th {
60
+ // @apply ax-border-t-0 #{!important};
54
61
  border-top-width: 0px !important;
55
62
  }
56
63
  }
@@ -58,11 +65,13 @@
58
65
  tr {
59
66
  &:last-child {
60
67
  td {
68
+ // @apply ax-border-b-0 #{!important};
61
69
  border-bottom-width: 0px !important;
62
70
  }
63
71
  }
64
72
  td {
65
73
  &:last-child {
74
+ // @apply ax-border-b-0 #{!important};
66
75
  border-bottom-width: 0px !important;
67
76
  }
68
77
  }
@@ -71,30 +80,37 @@
71
80
 
72
81
  td,
73
82
  th {
83
+ // @apply ax-border ax-border-default;
74
84
  border-width: 1px;
75
- border-color: rgba(var(--ax-sys-border-color));
85
+ border-color: rgba(var(--ax-color-border-default));
76
86
 
77
87
  &:first-child {
88
+ // @apply ax-border-s-0;
78
89
  border-inline-start-width: 0px;
79
90
  }
80
91
  &:last-child {
92
+ // @apply ax-border-e-0;
81
93
  border-inline-end-width: 0px;
82
94
  }
83
95
  }
84
96
  }
85
97
  @include mixins.mediaLessThan('xs') {
86
98
  &.ax-table-responsive {
99
+ // @apply ax-block ax-break-words ax-border-0;
87
100
  display: block;
88
101
  overflow-wrap: break-word;
89
102
  border-width: 0px;
90
103
 
91
104
  thead {
105
+ // @apply ax-absolute -ax-start-full -ax-top-full;
92
106
  position: absolute;
93
107
  inset-inline-start: -100%;
94
108
  top: -100%;
95
109
  }
96
110
 
97
111
  td {
112
+ // @apply ax-clear-both ax-box-border ax-block ax-w-full ax-px-2.5 ax-py-1.5;
113
+
98
114
  float: inline-start;
99
115
  clear: both;
100
116
  box-sizing: border-box;
@@ -105,20 +121,25 @@
105
121
  padding-top: 0.375rem /* 6px */;
106
122
  padding-bottom: 0.375rem /* 6px */;
107
123
  &:last-child {
124
+ // @apply ax-border-0;
108
125
  border-width: 0px;
109
126
  }
110
127
  &:before {
128
+ // @apply ax-block ax-font-bold;
129
+
111
130
  content: attr(data-label);
112
131
  display: block;
113
132
  font-weight: 700;
114
133
  }
115
134
  }
116
135
  tr {
136
+ // @apply ax-border ax-border-default;
117
137
  border-width: 1px;
118
- border-color: rgba(var(--ax-sys-border-color));
138
+ border-color: rgba(var(--ax-color-border-default));
119
139
  }
120
140
  tr,
121
141
  tbody {
142
+ // @apply ax-mb-2.5 ax-block ax-w-full;
122
143
  float: inline-start;
123
144
  margin-bottom: 0.625rem /* 10px */;
124
145
  width: 100%;
@@ -11,12 +11,14 @@
11
11
  }
12
12
 
13
13
  .ax-fieldset {
14
- border-radius: var(--ax-sys-border-radius);
14
+ // @apply ax-rounded-default ax-border ax-border-default ax-p-3;
15
+ border-radius: var(--ax-rounded-border-default);
15
16
  border-width: 1px;
16
- border-color: rgba(var(--ax-sys-surface-input-border-color));
17
+ border-color: rgba(var(--ax-color-input-border));
17
18
  padding: 0.75rem /* 12px */;
18
19
 
19
20
  legend {
21
+ // @apply ax-px-1 ax-text-sm;
20
22
  padding-left: 0.25rem /* 4px */;
21
23
  padding-right: 0.25rem /* 4px */;
22
24
  font-size: 0.875rem /* 14px */;
@@ -25,14 +27,16 @@
25
27
  }
26
28
 
27
29
  .ax-card {
28
- border-radius: var(--ax-sys-border-radius);
30
+ // @apply ax-rounded-default ax-border ax-border-default ax-bg-surface;
31
+ border-radius: var(--ax-rounded-border-default);
29
32
  border-width: 1px;
30
- border-color: rgba(var(--ax-sys-surface-input-border-color));
31
- background-color: rgba(var(--ax-sys-surface-bg-color));
33
+ border-color: rgba(var(--ax-color-input-border));
34
+ background-color: rgba(var(--ax-color-surface));
32
35
  }
33
36
 
34
37
  .ax-drop-zone {
35
38
  > input {
39
+ // @apply ax-absolute ax-h-full ax-w-full ax-cursor-pointer ax-opacity-0;
36
40
  position: absolute;
37
41
  height: 100%;
38
42
  width: 100%;
@@ -41,6 +45,7 @@
41
45
  }
42
46
  }
43
47
  .ax-uploader-overlay-state {
48
+ // @apply ax-pointer-events-none ax-absolute ax-start-0 ax-top-0 ax-z-10 ax-flex ax-h-full ax-w-full ax-cursor-pointer ax-flex-col ax-items-center ax-justify-center ax-gap-2 ax-bg-primary-200/75 ax-text-sm ax-text-primary-fore-tint ax-outline-dashed ax-outline-2 -ax-outline-offset-4 ax-transition-all;
44
49
  border-radius: inherit;
45
50
  pointer-events: none;
46
51
  position: absolute;
@@ -55,10 +60,10 @@
55
60
  align-items: center;
56
61
  justify-content: center;
57
62
  gap: 0.5rem /* 8px */;
58
- background-color: rgba(var(--ax-sys-color-primary-200), 0.75);
63
+ background-color: rgba(var(--ax-color-primary-200), 0.75);
59
64
  font-size: 0.875rem /* 14px */;
60
65
  line-height: 1.25rem /* 20px */;
61
- color: rgba(var(--ax-sys-color-on-primary-tint));
66
+ color: rgba(var(--ax-color-primary-fore-tint));
62
67
  outline-style: dashed;
63
68
  outline-offset: -4px;
64
69
  transition-property: all;
@@ -72,8 +77,9 @@
72
77
  }
73
78
  @include util.darkMode() {
74
79
  .ax-uploader-overlay-state {
75
- background-color: rgba(var(--ax-sys-color-primary-800), 0.75);
76
- color: rgba(var(--ax-sys-color-on-primary));
77
- outline-color: rgba(var(--ax-sys-color-on-primary));
80
+ // @apply ax-bg-primary-800/75 ax-text-primary-fore ax-outline-primary-fore;
81
+ background-color: rgba(var(--ax-color-primary-800), 0.75);
82
+ color: rgba(var(--ax-color-primary-fore));
83
+ outline-color: rgba(var(--ax-color-primary-fore));
78
84
  }
79
85
  }
@@ -1,14 +1,12 @@
1
1
  @forward './action-item';
2
2
  @forward './actionsheet';
3
3
  @forward './check-box';
4
+ @forward './color-look';
4
5
  @forward './drop-down';
5
- // @forward './editor-container';
6
+ @forward './editor-container';
6
7
  @forward './general-button';
7
8
  @forward './inputs';
8
9
  @forward './list';
9
10
  @forward './radio';
10
11
  @forward './table';
11
12
  @forward './utils';
12
-
13
- // new //
14
- @forward './ripple';
@@ -1,4 +1,24 @@
1
+ .ax-xs {
2
+ --ax-size-default: calc(var(--ax-size-base) - 0.75rem);
3
+ }
4
+
5
+ .ax-sm {
6
+ --ax-size-default: calc(var(--ax-size-base) - 0.5rem);
7
+ }
8
+
9
+ .ax-md {
10
+ --ax-size-default: var(--ax-size-base);
11
+ }
12
+
13
+ .ax-lg {
14
+ --ax-size-default: calc(var(--ax-size-base) + 0.5rem);
15
+ }
16
+
17
+ .ax-xl {
18
+ --ax-size-default: calc(var(--ax-size-base) + 1rem);
19
+ }
20
+
1
21
  .ax-placeholder {
2
- color: rgba(var(--ax-sys-surface-input-placeholder-color));
3
- font-size: calc(var(--ax-comp-editor-font-size) * 0.875);
22
+ color: rgba(var(--ax-color-input-surface-fore), 0.5);
23
+ font-weight: 500;
4
24
  }
@@ -1,2 +1,2 @@
1
- $color_names: 'primary', 'success', 'warning', 'danger', 'secondary';
1
+ $color_names: 'primary', 'success', 'warning', 'danger', 'neutral';
2
2
  $look_names: 'solid', 'twotone', 'outline', 'blank', 'link';
package/tailwind-base.js CHANGED
@@ -17,71 +17,36 @@ const childSelector = plugin(function ({ addVariant }) {
17
17
  addVariant('child-focus-within', '& > *:focus-within');
18
18
  });
19
19
 
20
- const _onColors = {
21
- 'on-surface-light': 'rgba(var(--ax-sys-on-surface-light-color), <alpha-value>)',
22
- 'on-surface-lowest': 'rgba(var(--ax-sys-on-surface-lowest-color), <alpha-value>)',
23
- 'on-surface-low': 'rgba(var(--ax-sys-on-surface-low-color), <alpha-value>)',
24
- 'on-surface': 'rgba(var(--ax-sys-on-surface-color), <alpha-value>)',
25
- 'on-surface-high': 'rgba(var(--ax-sys-on-surface-high-color), <alpha-value>)',
26
- 'on-surface-highest': 'rgba(var(--ax-sys-on-surface-highest-color), <alpha-value>)',
27
- 'on-surface-dark': 'rgba(var(--ax-sys-on-surface-dark-color), <alpha-value>)',
28
- }
29
-
30
- const _bgColors = {
31
- default: 'rgba(var( --ax-sys-body-bg-color), <alpha-value>)',
32
- 'surface-light': 'rgba(var(--ax-sys-surface-light-bg-color), <alpha-value>)',
33
- 'surface-lowest': 'rgba(var(--ax-sys-surface-lowest-bg-color), <alpha-value>)',
34
- 'surface-low': 'rgba(var(--ax-sys-surface-low-bg-color), <alpha-value>)',
35
- surface: 'rgba(var(--ax-sys-surface-bg-color), <alpha-value>)',
36
- 'surface-high': 'rgba(var(--ax-sys-surface-high-bg-color), <alpha-value>)',
37
- 'surface-highest': 'rgba(var(--ax-sys-surface-highest-bg-color), <alpha-value>)',
38
- 'surface-dark': 'rgba(var(--ax-sys-surface-dark-bg-color), <alpha-value>)',
39
- 'surface-input': 'rgba(var(--ax-sys-surface-input-bg-color), <alpha-value>)',
40
- ..._onColors
41
-
42
-
43
- };
44
-
45
- const _textColors = {
46
- DEFAULT: withOpacityValue('--ax-sys-body-text-color'),
47
- default: withOpacityValue('--ax-sys-body-text-color'),
48
- 'surface-light': 'rgba(var(--ax-sys-on-surface-light-color), <alpha-value>)',
49
- 'surface-lowest': 'rgba(var(--ax-sys-on-surface-lowest-color), <alpha-value>)',
50
- 'surface-low': 'rgba(var(--ax-sys-on-surface-low-color), <alpha-value>)',
51
- surface: 'rgba(var(--ax-sys-on-surface-color), <alpha-value>)',
52
- 'surface-high': 'rgba(var(--ax-sys-on-surface-high-color), <alpha-value>)',
53
- 'surface-dark': 'rgba(var(--ax-sys-on-surface-dark-color), <alpha-value>)',
54
- 'surface-highest': 'rgba(var(--ax-sys-on-surface-highest-color), <alpha-value>)',
20
+ const _colors = {
21
+ ghost: 'rgba(var(--ax-color-ghost), <alpha-value>)',
22
+ 'ghost-fore': 'rgba(var(--ax-color-ghost-fore), <alpha-value>)',
55
23
 
56
- };
24
+ surface: 'rgba(var(--ax-color-surface), <alpha-value>)',
25
+ 'surface-fore': 'rgba(var(--ax-color-surface-fore), <alpha-value>)',
57
26
 
58
- const _borderColors = {
59
- 'surface-light': 'rgba(var(--ax-sys-surface-light-border-color), <alpha-value>)',
60
- 'surface-lowest': 'rgba(var(--ax-sys-surface-lowest-border-color), <alpha-value>)',
61
- 'surface-low': 'rgba(var(--ax-sys-surface-low-border-color), <alpha-value>)',
62
- surface: 'rgba(var(--ax-sys-surface-border-color), <alpha-value>)',
63
- 'surface-high': 'rgba(var(--ax-sys-surface-high-border-color), <alpha-value>)',
64
- 'surface-dark': 'rgba(var(--ax-sys-surface-dark-border-color), <alpha-value>)',
65
- 'surface-highest': 'rgba(var(--ax-sys-surface-highest-border-color), <alpha-value>)',
27
+ 'on-surface': 'rgba(var(--ax-color-on-surface), <alpha-value>)',
28
+ 'on-surface-fore': 'rgba(var(--ax-color-on-surface-fore), <alpha-value>)',
66
29
 
30
+ 'input-surface': 'rgba(var(--ax-color-input-surface), <alpha-value>)',
31
+ 'input-surface-fore': 'rgba(var(--ax-color-input-surface-fore), <alpha-value>)',
67
32
  };
68
33
 
69
34
  const createPalete = function (colorName) {
70
35
  return {
71
- DEFAULT: `rgba(var(--ax-sys-color-${colorName}-500), <alpha-value>)`,
72
- text: `rgba(var(--ax-sys-color-on-${colorName}), <alpha-value>)`,
73
- 'contrast-text': `rgba(var(--ax-sys-color-on-contrast-${colorName}), <alpha-value>)`,
74
- 50: `rgba(var(--ax-sys-color-${colorName}-50), <alpha-value>)`,
75
- 100: `rgba(var(--ax-sys-color-${colorName}-100), <alpha-value>)`,
76
- 200: `rgba(var(--ax-sys-color-${colorName}-200), <alpha-value>)`,
77
- 300: `rgba(var(--ax-sys-color-${colorName}-300), <alpha-value>)`,
78
- 400: `rgba(var(--ax-sys-color-${colorName}-400), <alpha-value>)`,
79
- 500: `rgba(var(--ax-sys-color-${colorName}-500), <alpha-value>)`,
80
- 600: `rgba(var(--ax-sys-color-${colorName}-600), <alpha-value>)`,
81
- 700: `rgba(var(--ax-sys-color-${colorName}-700), <alpha-value>)`,
82
- 800: `rgba(var(--ax-sys-color-${colorName}-800), <alpha-value>)`,
83
- 900: `rgba(var(--ax-sys-color-${colorName}-900), <alpha-value>)`,
84
- 950: `rgba(var(--ax-sys-color-${colorName}-950), <alpha-value>)`,
36
+ DEFAULT: `rgba(var(--ax-color-${colorName}-500), <alpha-value>)`,
37
+ fore: `rgba(var(--ax-color-${colorName}-fore), <alpha-value>)`,
38
+ 'fore-tint': `rgba(var(--ax-color-${colorName}-fore-tint), <alpha-value>)`,
39
+ 50: `rgba(var(--ax-color-${colorName}-50), <alpha-value>)`,
40
+ 100: `rgba(var(--ax-color-${colorName}-100), <alpha-value>)`,
41
+ 200: `rgba(var(--ax-color-${colorName}-200), <alpha-value>)`,
42
+ 300: `rgba(var(--ax-color-${colorName}-300), <alpha-value>)`,
43
+ 400: `rgba(var(--ax-color-${colorName}-400), <alpha-value>)`,
44
+ 500: `rgba(var(--ax-color-${colorName}-500), <alpha-value>)`,
45
+ 600: `rgba(var(--ax-color-${colorName}-600), <alpha-value>)`,
46
+ 700: `rgba(var(--ax-color-${colorName}-700), <alpha-value>)`,
47
+ 800: `rgba(var(--ax-color-${colorName}-800), <alpha-value>)`,
48
+ 900: `rgba(var(--ax-color-${colorName}-900), <alpha-value>)`,
49
+ 950: `rgba(var(--ax-color-${colorName}-950), <alpha-value>)`,
85
50
  };
86
51
  };
87
52
 
@@ -93,31 +58,33 @@ module.exports = withAnimations({
93
58
  extend: {
94
59
  colors: {
95
60
  primary: createPalete('primary'),
96
- secondary: createPalete('secondary'),
97
61
  success: createPalete('success'),
98
62
  danger: createPalete('danger'),
99
63
  warning: createPalete('warning'),
100
- ghost: createPalete('ghost'),
64
+ neutral: createPalete('neutral'),
65
+ ..._colors,
101
66
  },
102
67
  textColor: {
103
- ..._textColors,
68
+ DEFAULT: withOpacityValue('--ax-color-text-default'),
69
+ default: withOpacityValue('--ax-color-text-default'),
70
+ ..._colors,
104
71
  },
105
72
  backgroundColor: {
106
- ..._bgColors,
73
+ default: 'rgba(var(--ax-color-background-default), <alpha-value>)',
74
+ 'border-default': 'rgba(var(--ax-color-border-default), <alpha-value>)',
107
75
  },
108
76
 
109
77
  borderColor: {
110
- DEFAULT: 'rgba(var(--ax-sys-border-color), <alpha-value>)',
111
- default: 'rgba(var(--ax-sys-border-color), <alpha-value>)',
112
- input: 'rgba(var(--ax-sys-surface-input-border-color), <alpha-value>)',
113
- 'border-default': 'rgba(var(--ax-sys-border-color), <alpha-value>)',
114
- ..._borderColors,
78
+ DEFAULT: 'rgba(var(--ax-color-border-default), <alpha-value>)',
79
+ default: 'rgba(var(--ax-color-border-default), <alpha-value>)',
80
+ input: 'rgba(var(--ax-color-input-border), <alpha-value>)',
81
+ ..._colors,
115
82
  },
116
83
  maxWidth: {
117
84
  '8xl': '90rem',
118
85
  },
119
86
  borderRadius: {
120
- default: 'var(--ax-sys-border-radius)',
87
+ default: 'var(--ax-rounded-border-default)',
121
88
  },
122
89
  lineHeight: {
123
90
  11: '2.5rem',
@@ -128,25 +95,25 @@ module.exports = withAnimations({
128
95
  20: '5rem',
129
96
  },
130
97
  spacing: {
131
- default: 'var(--ax-sys-size-base)',
98
+ default: 'var(--ax-size-default)',
132
99
  },
133
100
  minWidth: {
134
- default: 'var(--ax-sys-size-base)',
101
+ default: 'var(--ax-size-default)',
135
102
  },
136
103
  width: {
137
- default: 'var(--ax-sys-size-base)',
104
+ default: 'var(--ax-size-default)',
138
105
  },
139
106
  maxHeight: {
140
- default: 'var(--ax-sys-size-base)',
107
+ default: 'var(--ax-size-default)',
141
108
  },
142
109
  minHeight: {
143
- default: 'var(--ax-sys-size-base)',
110
+ default: 'var(--ax-size-default)',
144
111
  },
145
112
  height: {
146
- default: 'var(--ax-sys-size-base)',
113
+ default: 'var(--ax-size-default)',
147
114
  },
148
115
  maxHeight: {
149
- default: 'var(--ax-sys-size-base)',
116
+ default: 'var(--ax-size-default)',
150
117
  },
151
118
  },
152
119
  },
@@ -189,12 +156,12 @@ module.exports = withAnimations({
189
156
  '.heading': {
190
157
  width: '100%',
191
158
  'border-bottom': '1px solid',
192
- 'border-color': 'rgba(var(--ax-sys-border-color))',
159
+ 'border-color': 'rgba(var(--ax-color-border-default))',
193
160
  'line-height': '0.1em',
194
161
  margin: '1rem auto',
195
162
  },
196
163
  '.heading > span': {
197
- background: 'rgba(var(--ax-sys-surface-bg-color))',
164
+ background: 'rgba(var(--ax-color-surface))',
198
165
  padding: '0 0.75rem',
199
166
  },
200
167
  '.heading-start': {
@@ -206,15 +173,15 @@ module.exports = withAnimations({
206
173
  '.heading-end': {
207
174
  'text-align': 'end',
208
175
  },
209
- '.links': {
210
- color: 'rgba(var(--ax-sys-color-primary-500))',
176
+ '.link': {
177
+ color: 'rgba(var(--ax-color-primary-500))',
211
178
  cursor: 'pointer',
212
179
  },
213
- '.links:hover': {
180
+ '.link:hover': {
214
181
  'text-decoration': 'underline',
215
182
  },
216
- '.links:visited': {
217
- color: 'rgba(var(--ax-sys-color-primary-700))',
183
+ '.link:visited': {
184
+ color: 'rgba(var(--ax-color-primary-700))',
218
185
  },
219
186
  '.animate-slow': {
220
187
  animationDuration: '2s',
@@ -237,26 +204,26 @@ module.exports = withAnimations({
237
204
  '.card': {
238
205
  backgroundColor: 'rgb(var(--ax-color-surface))',
239
206
  border: '1px solid',
240
- borderColor: 'rgb(var(--ax-sys-border-color))',
241
- borderRadius: 'var(--ax-sys-border-radius)',
207
+ borderColor: 'rgb(var(--ax-color-border-default))',
208
+ borderRadius: 'var(--ax-rounded-border-default)',
242
209
  },
243
210
  '.tabs-fit': {
244
211
  width: '100%',
245
212
  },
246
213
  '.xs': {
247
- '--ax-sys-size-base': '2rem',
214
+ '--ax-size-default': '2rem',
248
215
  },
249
216
  '.sm': {
250
- '--ax-sys-size-base': '2.25rem',
217
+ '--ax-size-default': '2.25rem',
251
218
  },
252
219
  '.md': {
253
- '--ax-sys-size-base': '2.5rem',
220
+ '--ax-size-default': '2.5rem',
254
221
  },
255
222
  '.lg': {
256
- '--ax-sys-size-base': '3rem',
223
+ '--ax-size-default': '3rem',
257
224
  },
258
225
  '.xl': {
259
- '--ax-sys-size-base': '3.5rem',
226
+ '--ax-size-default': '3.5rem',
260
227
  },
261
228
  };
262
229
  addUtilities(acorexClasses, ['responsive', 'hover', 'focus']);
@@ -1 +1 @@
1
- :root,.ax-light{--ax-sys-body-font-size: 1rem;--ax-sys-size-base: 2.5rem;--ax-sys-transition-duration: 150ms;--ax-sys-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);--ax-sys-border-radius: 0.5rem;--ax-sys-border-color: 233, 234, 235;--ax-sys-body-bg-color: var(--ax-sys-surface-lowest-bg-color);--ax-sys-body-text-color: 22, 22, 22;--ax-sys-surface-light-bg-color: 255, 255, 255;--ax-sys-on-surface-light-color: 0, 0, 0;--ax-sys-surface-light-border-color: 0, 0, 0;--ax-sys-surface-lowest-bg-color: 255, 255, 255;--ax-sys-on-surface-lowest-color: 40, 40, 40;--ax-sys-surface-lowest-border-color: 233, 236, 239;--ax-sys-surface-low-bg-color: 248, 249, 250;--ax-sys-on-surface-low-color: 40, 40, 40;--ax-sys-surface-low-border-color: 233, 236, 239;--ax-sys-surface-bg-color: 239, 241, 243;--ax-sys-on-surface-color: 30, 30, 30;--ax-sys-surface-border-color: 232, 235, 238;--ax-sys-surface-high-bg-color: 234, 237, 239;--ax-sys-on-surface-high-color: 20, 20, 20;--ax-sys-surface-high-border-color: 228, 231, 234;--ax-sys-surface-highest-bg-color: 230, 233, 236;--ax-sys-on-surface-highest-color: 10, 10, 10;--ax-sys-surface-highest-border-color: 225, 229, 233;--ax-sys-surface-input-bg-color: 255, 255, 255;--ax-sys-surface-input-text-color: 30, 30, 30;--ax-sys-surface-input-placeholder-color: 180, 180, 180;--ax-sys-surface-input-border-color: 220, 220, 220;--ax-sys-surface-dark-bg-color: 0, 0, 0;--ax-sys-on-surface-dark-color: 255, 255, 255;--ax-sys-surface-dark-border-color: 255, 255, 255;--ax-sys-color-on-primary: 255, 255, 255;--ax-sys-color-on-contrast-primary: 11, 30, 71;--ax-sys-color-primary-50: 239, 246, 255;--ax-sys-color-primary-100: 219, 234, 254;--ax-sys-color-primary-200: 191, 219, 254;--ax-sys-color-primary-300: 147, 197, 253;--ax-sys-color-primary-400: 96, 165, 250;--ax-sys-color-primary-500: 59, 130, 246;--ax-sys-color-primary-600: 37, 99, 235;--ax-sys-color-primary-700: 29, 78, 216;--ax-sys-color-primary-800: 30, 64, 175;--ax-sys-color-primary-900: 30, 58, 138;--ax-sys-color-primary-950: 23, 37, 84;--ax-sys-color-on-secondary: 255, 255, 255;--ax-sys-color-on-contrast-secondary: 9, 9, 11;--ax-sys-color-secondary-50: 249, 250, 251;--ax-sys-color-secondary-100: 243, 244, 246;--ax-sys-color-secondary-200: 229, 231, 235;--ax-sys-color-secondary-300: 209, 213, 219;--ax-sys-color-secondary-400: 156, 163, 175;--ax-sys-color-secondary-500: 107, 114, 128;--ax-sys-color-secondary-600: 75, 85, 99;--ax-sys-color-secondary-700: 55, 65, 81;--ax-sys-color-secondary-800: 31, 41, 55;--ax-sys-color-secondary-900: 24, 24, 27;--ax-sys-color-secondary-950: 9, 9, 11;--ax-sys-color-on-success: 255, 255, 255;--ax-sys-color-on-contrast-success: 5, 46, 22;--ax-sys-color-success-50: 240, 253, 244;--ax-sys-color-success-100: 220, 252, 231;--ax-sys-color-success-200: 187, 247, 208;--ax-sys-color-success-300: 134, 239, 172;--ax-sys-color-success-400: 74, 222, 128;--ax-sys-color-success-500: 34, 197, 94;--ax-sys-color-success-600: 22, 163, 74;--ax-sys-color-success-700: 21, 128, 61;--ax-sys-color-success-800: 22, 101, 52;--ax-sys-color-success-900: 20, 83, 45;--ax-sys-color-success-950: 5, 46, 22;--ax-sys-color-on-warning: 255, 255, 255;--ax-sys-color-on-contrast-warning: 69, 26, 3;--ax-sys-color-warning-50: 255, 251, 235;--ax-sys-color-warning-100: 254, 243, 199;--ax-sys-color-warning-200: 253, 230, 138;--ax-sys-color-warning-300: 252, 211, 77;--ax-sys-color-warning-400: 251, 191, 36;--ax-sys-color-warning-500: 245, 158, 11;--ax-sys-color-warning-600: 217, 119, 6;--ax-sys-color-warning-700: 180, 83, 9;--ax-sys-color-warning-800: 146, 64, 14;--ax-sys-color-warning-900: 120, 53, 15;--ax-sys-color-warning-950: 69, 26, 3;--ax-sys-color-on-danger: 255, 255, 255;--ax-sys-color-on-contrast-danger: 76, 5, 25;--ax-sys-color-danger-50: 255, 241, 242;--ax-sys-color-danger-100: 255, 228, 230;--ax-sys-color-danger-200: 254, 205, 211;--ax-sys-color-danger-300: 253, 164, 175;--ax-sys-color-danger-400: 251, 113, 133;--ax-sys-color-danger-500: 244, 63, 94;--ax-sys-color-danger-600: 225, 29, 72;--ax-sys-color-danger-700: 190, 18, 60;--ax-sys-color-danger-800: 159, 18, 57;--ax-sys-color-danger-900: 136, 19, 55;--ax-sys-color-danger-950: 76, 5, 25;--ax-sys-color-on-ghost: 255, 255, 255;--ax-sys-color-on-contrast-ghost: 24, 24, 27;--ax-sys-color-ghost-50: 255, 255, 255;--ax-sys-color-ghost-100: 244, 244, 245;--ax-sys-color-ghost-200: 228, 228, 231;--ax-sys-color-ghost-300: 212, 212, 216;--ax-sys-color-ghost-400: 161, 161, 170;--ax-sys-color-ghost-500: 113, 113, 122;--ax-sys-color-ghost-600: 82, 82, 91;--ax-sys-color-ghost-700: 63, 63, 70;--ax-sys-color-ghost-800: 39, 39, 42;--ax-sys-color-ghost-900: 24, 24, 27;--ax-sys-color-ghost-950: 9, 9, 11}.ax-dark{--ax-sys-body-bg-color: var(--ax-sys-surface-lowest-bg-color);--ax-sys-body-text-color: 255, 255, 255;--ax-sys-border-color: 34, 38, 47;--ax-sys-surface-lowest-bg-color: 15, 15, 15;--ax-sys-on-surface-lowest-color: 220, 220, 220;--ax-sys-surface-lowest-border-color: 20, 20, 20;--ax-sys-surface-low-bg-color: 20, 20, 20;--ax-sys-on-surface-low-color: 230, 230, 230;--ax-sys-surface-low-border-color: 25, 25, 25;--ax-sys-surface-bg-color: 25, 25, 25;--ax-sys-on-surface-color: 240, 240, 240;--ax-sys-surface-border-color: 34, 34, 34;--ax-sys-surface-high-bg-color: 29, 29, 29;--ax-sys-on-surface-high-color: 250, 250, 250;--ax-sys-surface-high-border-color: 43, 43, 43;--ax-sys-surface-highest-bg-color: 34, 34, 34;--ax-sys-on-surface-highest-color: 255, 255, 255;--ax-sys-surface-highest-border-color: 52, 52, 52;--ax-sys-surface-input-bg-color: var(--ax-sys-surface-lowest-bg-color);--ax-sys-surface-input-text-color: var(--ax-sys-on-surface-lowest-color);--ax-sys-surface-input-placeholder-color: 100, 100, 100;--ax-sys-surface-input-border-color: var(--ax-sys-surface-border-color);--ax-sys-color-on-primary: 11, 30, 71;--ax-sys-color-on-contrast-primary: 57, 62, 75;--ax-sys-color-primary-50: 252, 253, 255;--ax-sys-color-primary-100: 249, 250, 254;--ax-sys-color-primary-200: 236, 241, 253;--ax-sys-color-primary-300: 224, 232, 252;--ax-sys-color-primary-400: 211, 222, 251;--ax-sys-color-primary-500: 192, 208, 249;--ax-sys-color-primary-600: 173, 187, 224;--ax-sys-color-primary-700: 134, 146, 174;--ax-sys-color-primary-800: 96, 104, 125;--ax-sys-color-primary-900: 58, 62, 75;--ax-sys-color-primary-950: 19, 21, 25;--ax-sys-color-on-secondary: 58, 62, 69;--ax-sys-color-on-contrast-secondary: 70, 74, 83;--ax-sys-color-secondary-50: 255, 255, 255;--ax-sys-color-secondary-100: 241, 242, 243;--ax-sys-color-secondary-200: 227, 229, 232;--ax-sys-color-secondary-300: 213, 216, 220;--ax-sys-color-secondary-400: 199, 202, 209;--ax-sys-color-secondary-500: 172, 176, 185;--ax-sys-color-secondary-600: 144, 150, 162;--ax-sys-color-secondary-700: 116, 124, 139;--ax-sys-color-secondary-800: 93, 99, 111;--ax-sys-color-secondary-900: 70, 74, 83;--ax-sys-color-secondary-950: 58, 62, 69;--ax-sys-color-on-success: 19, 109, 52;--ax-sys-color-on-contrast-success: 23, 130, 62;--ax-sys-color-success-50: 255, 255, 255;--ax-sys-color-success-100: 233, 251, 240;--ax-sys-color-success-200: 212, 247, 225;--ax-sys-color-success-300: 190, 244, 210;--ax-sys-color-success-400: 168, 240, 195;--ax-sys-color-success-500: 125, 232, 164;--ax-sys-color-success-600: 81, 225, 134;--ax-sys-color-success-700: 38, 217, 104;--ax-sys-color-success-800: 30, 174, 83;--ax-sys-color-success-900: 23, 130, 62;--ax-sys-color-success-950: 19, 109, 52;--ax-sys-color-on-warning: 122, 79, 5;--ax-sys-color-on-contrast-warning: 147, 95, 6;--ax-sys-color-warning-50: 255, 255, 255;--ax-sys-color-warning-100: 254, 245, 231;--ax-sys-color-warning-200: 253, 236, 206;--ax-sys-color-warning-300: 252, 226, 182;--ax-sys-color-warning-400: 251, 216, 157;--ax-sys-color-warning-500: 249, 197, 108;--ax-sys-color-warning-600: 247, 177, 59;--ax-sys-color-warning-700: 245, 158, 10;--ax-sys-color-warning-800: 196, 126, 8;--ax-sys-color-warning-900: 147, 95, 6;--ax-sys-color-warning-950: 122, 79, 5;--ax-sys-color-on-danger: 121, 7, 26;--ax-sys-color-on-contrast-danger: 145, 8, 32;--ax-sys-color-danger-50: 255, 255, 255;--ax-sys-color-danger-100: 254, 231, 235;--ax-sys-color-danger-200: 252, 207, 215;--ax-sys-color-danger-300: 251, 183, 194;--ax-sys-color-danger-400: 249, 159, 174;--ax-sys-color-danger-500: 247, 110, 134;--ax-sys-color-danger-600: 244, 62, 93;--ax-sys-color-danger-700: 241, 14, 53;--ax-sys-color-danger-800: 193, 11, 42;--ax-sys-color-danger-900: 145, 8, 32;--ax-sys-color-danger-950: 121, 7, 26;--ax-sys-color-on-ghost: 24, 24, 27;--ax-sys-color-on-contrast-ghost: 244, 244, 245;--ax-sys-color-ghost-50: 9, 9, 11;--ax-sys-color-ghost-100: 24, 24, 27;--ax-sys-color-ghost-200: 39, 39, 42;--ax-sys-color-ghost-300: 63, 63, 70;--ax-sys-color-ghost-400: 82, 82, 91;--ax-sys-color-ghost-500: 113, 113, 122;--ax-sys-color-ghost-600: 161, 161, 170;--ax-sys-color-ghost-700: 212, 212, 216;--ax-sys-color-ghost-800: 228, 228, 231;--ax-sys-color-ghost-900: 244, 244, 245;--ax-sys-color-ghost-950: 250, 250, 250}
1
+ :root,.ax-light{--ax-size-base: 2.5rem;--ax-size-default: var(--ax-size-base);--ax-icon-weight: 400;--ax-icon-size: 100%;--ax-rounded-border-default: 0.5rem;--ax-color-border-default: 233, 234, 235;--ax-color-background-default: 249, 250, 251;--ax-color-text-default: 22, 22, 22;--ax-color-surface: 255, 255, 255;--ax-color-surface-fore: 22, 22, 22;--ax-color-on-surface: 250, 250, 250;--ax-color-on-surface-fore: 22, 22, 22;--ax-color-input-surface: 255, 255, 255;--ax-color-input-surface-fore: 22, 22, 22;--ax-color-input-border: 213, 215, 218;--ax-color-ghost: 255, 255, 255;--ax-color-ghost-fore: 22, 22, 22;--ax-color-primary-fore: 255, 255, 255;--ax-color-primary-fore-tint: 11, 30, 71;--ax-color-primary-50: 244, 247, 254;--ax-color-primary-100: 233, 239, 253;--ax-color-primary-200: 190, 208, 249;--ax-color-primary-300: 146, 177, 245;--ax-color-primary-400: 102, 146, 241;--ax-color-primary-500: 37, 99, 235;--ax-color-primary-600: 33, 89, 212;--ax-color-primary-700: 26, 69, 165;--ax-color-primary-800: 19, 50, 118;--ax-color-primary-900: 11, 30, 71;--ax-color-primary-950: 4, 10, 23;--ax-color-secondary-fore: 255, 255, 255;--ax-color-secondary-fore-tint: 9, 12, 18;--ax-color-secondary-50: 244, 244, 245;--ax-color-secondary-100: 233, 234, 235;--ax-color-secondary-200: 188, 191, 196;--ax-color-secondary-300: 143, 148, 157;--ax-color-secondary-400: 98, 105, 118;--ax-color-secondary-500: 30, 41, 59;--ax-color-secondary-600: 27, 37, 53;--ax-color-secondary-700: 21, 29, 41;--ax-color-secondary-800: 15, 21, 30;--ax-color-secondary-900: 9, 12, 18;--ax-color-secondary-950: 3, 4, 6;--ax-color-success-fore: 255, 255, 255;--ax-color-success-fore-tint: 6, 78, 59;--ax-color-success-50: 236, 253, 245;--ax-color-success-100: 209, 250, 229;--ax-color-success-200: 167, 243, 208;--ax-color-success-300: 110, 231, 183;--ax-color-success-400: 52, 211, 153;--ax-color-success-500: 16, 185, 129;--ax-color-success-600: 5, 150, 105;--ax-color-success-700: 4, 120, 87;--ax-color-success-800: 6, 95, 70;--ax-color-success-900: 6, 78, 59;--ax-color-success-950: 2, 44, 34;--ax-color-warning-fore: 48, 26, 10;--ax-color-warning-fore-tint: 255, 111, 0;--ax-color-warning-50: 255, 248, 225;--ax-color-warning-100: 255, 236, 179;--ax-color-warning-200: 255, 224, 130;--ax-color-warning-300: 255, 213, 79;--ax-color-warning-400: 255, 202, 40;--ax-color-warning-500: 255, 193, 7;--ax-color-warning-600: 255, 179, 0;--ax-color-warning-700: 255, 160, 0;--ax-color-warning-800: 255, 143, 0;--ax-color-warning-900: 255, 111, 0;--ax-color-warning-950: 72, 40, 15;--ax-color-danger-fore: 255, 255, 255;--ax-color-danger-fore-tint: 127, 29, 29;--ax-color-danger-50: 254, 242, 242;--ax-color-danger-100: 254, 226, 226;--ax-color-danger-200: 254, 202, 202;--ax-color-danger-300: 252, 165, 165;--ax-color-danger-400: 248, 113, 113;--ax-color-danger-500: 239, 68, 68;--ax-color-danger-600: 220, 38, 38;--ax-color-danger-700: 185, 28, 28;--ax-color-danger-800: 153, 27, 27;--ax-color-danger-900: 127, 29, 29;--ax-color-danger-950: 69, 10, 10;--ax-color-info-fore: 255, 255, 255;--ax-color-info-fore-tint: 49, 46, 129;--ax-color-info-50: 238, 242, 255;--ax-color-info-100: 224, 231, 255;--ax-color-info-200: 199, 210, 254;--ax-color-info-300: 165, 180, 252;--ax-color-info-400: 129, 140, 248;--ax-color-info-500: 99, 102, 241;--ax-color-info-600: 79, 70, 229;--ax-color-info-700: 67, 56, 202;--ax-color-info-800: 55, 48, 163;--ax-color-info-900: 49, 46, 129;--ax-color-info-950: 30, 27, 75;--ax-color-neutral-fore: 255, 255, 255;--ax-color-neutral-fore-tint: 17, 24, 39;--ax-color-neutral-50: 249, 250, 251;--ax-color-neutral-100: 243, 244, 246;--ax-color-neutral-200: 229, 231, 235;--ax-color-neutral-300: 209, 213, 219;--ax-color-neutral-400: 156, 163, 175;--ax-color-neutral-500: 107, 114, 128;--ax-color-neutral-600: 75, 85, 99;--ax-color-neutral-700: 55, 65, 81;--ax-color-neutral-800: 31, 41, 55;--ax-color-neutral-900: 17, 24, 39;--ax-color-neutral-950: 3, 7, 18}.ax-dark{--ax-color-border-default: 34, 38, 47;--ax-color-background-default: 12, 14, 18;--ax-color-text-default: 255, 255, 255;--ax-color-surface: 19, 22, 27;--ax-color-surface-fore: 255, 255, 255;--ax-color-on-surface: 34, 38, 47;--ax-color-on-surface-fore: 255, 255, 255;--ax-color-input-surface: 12, 14, 18;--ax-color-input-surface-fore: 224, 224, 224;--ax-color-input-border: 55, 58, 65;--ax-color-ghost: 77, 91, 113;--ax-color-ghost-fore: 255, 255, 255}