@acorex/styles 5.3.4 → 5.6.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.
@@ -44,7 +44,7 @@
44
44
  @apply dark:ax-border-white/[0.07] dark:ax-bg-white/[0.07] dark:ax-backdrop-blur-3xl;
45
45
  }
46
46
  @if ($type == "editor-disabled") {
47
- @apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/[0.07] dark:ax-bg-white/[0.-04] dark:ax-text-opacity-60 ax-cursor-not-allowed;
47
+ @apply ax-bg-light-100 ax-text-light-fore dark:ax-border-white/[0.07] dark:ax-bg-white/[0.-04] dark:ax-text-opacity-60 ax-cursor-not-allowed #{!important};
48
48
  }
49
49
  @if ($type == "surface") {
50
50
  @apply dark:ax-bg-default-background dark:ax-border-white/[0.16] dark:ax-shadow-md;
@@ -106,11 +106,18 @@
106
106
 
107
107
  @mixin button-on-colorful-bg {
108
108
  ax-button {
109
- @apply ax-bg-black/20 ax-text-sm ax-border-0 ax-outline-0 ax-ring-0 ax-ring-transparent ax-h-auto ax-shadow-none ax-font-semibold ax-py-1.5 ax-px-2 #{!important};
109
+ @apply ax-bg-black/20 ax-text-sm ax-border-0 ax-outline-0 ax-ring-0 ax-ring-transparent ax-h-auto ax-shadow-none ax-font-semibold #{!important};
110
+ &>button{
111
+ @apply ax-py-1.5 ax-px-2;
112
+ }
110
113
  &:focus,
114
+ &:focus-within,
111
115
  &:active,
112
116
  &:hover {
113
117
  @apply ax-bg-black/30 ax-ring-0 ax-border-0 ax-outline-0 ax-shadow-none ax-ring-transparent ax-ring-offset-0 #{!important};
114
118
  }
119
+ &:active{
120
+ @apply ax-bg-black/40 #{!important};
121
+ }
115
122
  }
116
123
  }
@@ -6,6 +6,13 @@
6
6
  font-size: 0.75rem;
7
7
  }
8
8
  }
9
+ .ax-md {
10
+ --ax-base-size: 8px;
11
+ font-size: 1rem;
12
+ * {
13
+ font-size: 1rem;
14
+ }
15
+ }
9
16
  .ax-lg {
10
17
  --ax-base-size: 10px;
11
18
  font-size: 1.125rem;