@acorex/styles 5.0.25 → 5.0.26

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": "5.0.25",
3
+ "version": "5.0.26",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -7,7 +7,7 @@
7
7
 
8
8
  :root {
9
9
  --ax-base-size: 8px;
10
- --ax-base-ratio: 5;
10
+ --ax-base-ratio: 6;
11
11
  --ax-color-default-background: 255, 255, 255;
12
12
  --ax-color-default-color: 107, 114, 128;
13
13
  @include colors($theme-colors);
@@ -21,11 +21,23 @@ body {
21
21
  font-size: 16px;
22
22
  }
23
23
 
24
- .ax-sm {
25
- --ax-base-size: 6px;
26
- font-size: 0.75rem
27
- }
28
- .ax-lg {
29
- --ax-base-size: 10px;
30
- font-size: 1.125rem
24
+
25
+ html.ax-dark,
26
+ html.ax-dark * {
27
+ --tw-ring-offset-color: #151b24;
28
+ --ax-color-default-background: 21 27 36;
29
+ --ax-color-default-color: 255 255 255;
30
+ --ax-color-border: 55 65 81;
31
+ --ax-color-placeholder: 161 161 161;
32
+ .ax-skeleton {
33
+ &.ax-skeleton-animate {
34
+ &::before {
35
+ content: "";
36
+ background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
37
+ }
38
+ }
39
+ }
40
+ .cdk-overlay-dark-backdrop {
41
+ background: rgba(0, 0, 0, 0.5) !important;
42
+ }
31
43
  }
@@ -1,18 +1,19 @@
1
1
  @layer components {
2
- ax-check-box {
2
+ ax-check-box,
3
+ .ax-check-box {
3
4
  @apply ax-justify-start ax-w-max ax-flex;
4
-
5
+
5
6
  .ax-wrapper {
6
7
  &.ax-state-disabled {
7
8
  @apply ax-cursor-not-allowed ax-opacity-80;
8
- input[type=checkbox] {
9
+ input[type="checkbox"] {
9
10
  @apply ax-cursor-not-allowed;
10
11
  }
11
12
  }
12
13
  }
13
- input[type=checkbox] {
14
+ input[type="checkbox"] {
14
15
  @apply ax-w-4 ax-h-4 ax-border-solid ax-border ax-border-light-300 ax-rounded ax-bg-white ax-text-primary-500 ax-m-0 ax-outline-none ax-align-middle ax-appearance-none;
15
- @include control-dark('editor');
16
+ @include control-dark("editor");
16
17
  &:checked,
17
18
  &:indeterminate {
18
19
  @apply ax-border-primary-500 ax-bg-no-repeat ax-bg-primary-500 ax-bg-contain #{!important};
@@ -34,4 +35,4 @@
34
35
  }
35
36
  }
36
37
  }
37
- }
38
+ }
@@ -1,5 +1,5 @@
1
1
  @layer components {
2
- ax-radio {
2
+ ax-radio,.ax-radio {
3
3
  @apply ax-text-sm ax-font-medium ax-text-light-700;
4
4
 
5
5
  .ax-radio {
@@ -0,0 +1,11 @@
1
+ @layer utilities {
2
+ .ax-sm {
3
+ --ax-base-size: 6px;
4
+ font-size: 0.75rem
5
+ }
6
+ .ax-lg {
7
+ --ax-base-size: 10px;
8
+ font-size: 1.125rem
9
+ }
10
+
11
+ }
package/dark.scss DELETED
@@ -1,19 +0,0 @@
1
- html.ax-dark,
2
- html.ax-dark * {
3
- --tw-ring-offset-color: #151b24;
4
- --ax-color-default-background: 21 27 36;
5
- --ax-color-default-color: 255 255 255;
6
- --ax-color-border: 55 65 81;
7
- --ax-color-placeholder: 161 161 161;
8
- .ax-skeleton {
9
- &.ax-skeleton-animate {
10
- &::before {
11
- content: "";
12
- background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
13
- }
14
- }
15
- }
16
- .cdk-overlay-dark-backdrop {
17
- background: rgba(0, 0, 0, 0.5) !important;
18
- }
19
- }