@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.
- package/package.json +1 -1
- package/src/base/index.scss +0 -1
- package/src/components/_alert.scss +25 -9
- package/src/components/_button.scss +290 -82
- package/src/components/_collapse.scss +5 -4
- package/src/components/_color-palette.scss +69 -13
- package/src/components/_color-picker.scss +15 -5
- package/src/components/_data-table.scss +16 -0
- package/src/components/_decoration.scss +0 -3
- package/src/components/_dialog.scss +2 -2
- package/src/components/_drawer.scss +9 -5
- package/src/components/_dropdown.scss +4 -0
- package/src/components/_editor-container.scss +4 -4
- package/src/components/_list.scss +4 -0
- package/src/components/_popup.scss +4 -0
- package/src/components/_tabs.scss +9 -5
- package/src/components/index.scss +2 -1
- package/src/icons/demo.html +43 -1
- package/src/icons/fonts/acorex-icon.eot +0 -0
- package/src/icons/fonts/acorex-icon.svg +3 -0
- package/src/icons/fonts/acorex-icon.ttf +0 -0
- package/src/icons/fonts/acorex-icon.woff +0 -0
- package/src/icons/selection.json +1 -1
- package/src/icons/style.css +14 -5
- package/src/icons/style.scss +20 -5
- package/src/icons/variables.scss +3 -0
- package/src/utility/_mixins.scss +9 -2
- package/src/utility/index.scss +7 -0
package/src/utility/_mixins.scss
CHANGED
@@ -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
|
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
|
}
|