@acorex/styles 21.0.2-next.1 → 21.0.2-next.10

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 (2) hide show
  1. package/package.json +1 -1
  2. package/themes/default.css +19 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/styles",
3
- "version": "21.0.2-next.1",
3
+ "version": "21.0.2-next.10",
4
4
  "main": "index.css",
5
5
  "author": "Ali Safari",
6
6
  "license": "ISC",
@@ -46,7 +46,24 @@ html.ax-dark {
46
46
  color: rgba(var(--ax-sys-color-on-darkest-surface));
47
47
  }
48
48
 
49
+ .ax-xs {
50
+ --ax-sys-size: ax-xs;
51
+ }
52
+ .ax-sm {
53
+ --ax-sys-size: ax-sm;
54
+ }
55
+ .ax-md {
56
+ --ax-sys-size: ax-md;
57
+ }
58
+ .ax-lg {
59
+ --ax-sys-size: ax-lg;
60
+ }
61
+ .ax-xl {
62
+ --ax-sys-size: ax-xl;
63
+ }
64
+
49
65
  :root {
66
+ --ax-sys-theme-isDark: 0;
50
67
  --ax-sys-icon-size: 100%;
51
68
  --ax-sys-icon-weight: 400;
52
69
  --ax-sys-size-base: 2.5rem;
@@ -590,6 +607,7 @@ html.ax-dark {
590
607
 
591
608
  :root.ax-dark,
592
609
  .ax-dark {
610
+ --ax-sys-theme-isDark: 1;
593
611
  --ax-sys-scroller-track-color: rgba(var(--ax-sys-color-darker-surface));
594
612
  --ax-sys-scroller-thumb-color: rgba(var(--ax-sys-color-lightest-surface));
595
613
 
@@ -1615,6 +1633,7 @@ html.ax-dark {
1615
1633
  */
1616
1634
  :root.ax-dark,
1617
1635
  .ax-dark {
1636
+ --ax-sys-theme-isDark: 1;
1618
1637
  --color-bg-default: rgba(var(--ax-sys-color-bg-default));
1619
1638
  --color-text-default: rgba(var(--ax-sys-color-text-default));
1620
1639
  --color-border-default: rgba(var(--ax-sys-color-border-default));