@acorex/styles 6.1.12 → 6.5.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 (118) hide show
  1. package/fonts/font-awesome/fa-brands-400.eot +0 -0
  2. package/fonts/font-awesome/fa-brands-400.svg +3570 -0
  3. package/fonts/font-awesome/fa-brands-400.ttf +0 -0
  4. package/fonts/font-awesome/fa-brands-400.woff +0 -0
  5. package/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  6. package/fonts/font-awesome/fa-duotone-900.eot +0 -0
  7. package/fonts/font-awesome/fa-duotone-900.svg +15055 -0
  8. package/fonts/font-awesome/fa-duotone-900.ttf +0 -0
  9. package/fonts/font-awesome/fa-duotone-900.woff +0 -0
  10. package/fonts/font-awesome/fa-duotone-900.woff2 +0 -0
  11. package/fonts/font-awesome/fa-light-300.eot +0 -0
  12. package/fonts/font-awesome/fa-light-300.svg +12330 -0
  13. package/fonts/font-awesome/fa-light-300.ttf +0 -0
  14. package/fonts/font-awesome/fa-light-300.woff +0 -0
  15. package/fonts/font-awesome/fa-light-300.woff2 +0 -0
  16. package/fonts/font-awesome/fa-regular-400.eot +0 -0
  17. package/fonts/font-awesome/fa-regular-400.svg +11256 -0
  18. package/fonts/font-awesome/fa-regular-400.ttf +0 -0
  19. package/fonts/font-awesome/fa-regular-400.woff +0 -0
  20. package/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  21. package/fonts/font-awesome/fa-solid-900.eot +0 -0
  22. package/fonts/font-awesome/fa-solid-900.svg +9588 -0
  23. package/fonts/font-awesome/fa-solid-900.ttf +0 -0
  24. package/fonts/font-awesome/fa-solid-900.woff +0 -0
  25. package/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  26. package/fonts/font-awesome/font-awesome.css +16960 -0
  27. package/package.json +3 -10
  28. package/scss/buttons.scss +69 -0
  29. package/scss/calendar.scss +144 -0
  30. package/scss/checkbox.scss +46 -0
  31. package/scss/context-menu.scss +75 -0
  32. package/scss/data-grid.scss +117 -0
  33. package/scss/drawer.scss +138 -0
  34. package/scss/fieldset.scss +23 -0
  35. package/scss/forms.scss +515 -0
  36. package/scss/list.scss +47 -0
  37. package/scss/master.scss +259 -0
  38. package/scss/menu.scss +130 -0
  39. package/scss/mixin.scss +12 -0
  40. package/scss/page.scss +54 -0
  41. package/scss/progress.scss +11 -0
  42. package/scss/selection-list.scss +104 -0
  43. package/scss/style.scss +47 -0
  44. package/scss/tab-strip.scss +31 -0
  45. package/scss/tab.scss +36 -0
  46. package/scss/toast.scss +46 -0
  47. package/scss/tooltip.scss +55 -0
  48. package/scss/treeview.scss +122 -0
  49. package/scss/upload.scss +170 -0
  50. package/scss/variables.scss +139 -0
  51. package/index.js +0 -185
  52. package/index.scss +0 -10
  53. package/src/base/index.scss +0 -45
  54. package/src/components/_action-sheet.scss +0 -24
  55. package/src/components/_alert.scss +0 -276
  56. package/src/components/_avatar.scss +0 -124
  57. package/src/components/_badge.scss +0 -184
  58. package/src/components/_breadcrumbs.scss +0 -29
  59. package/src/components/_button.scss +0 -924
  60. package/src/components/_calendar.scss +0 -182
  61. package/src/components/_carousel.scss +0 -44
  62. package/src/components/_checkbox.scss +0 -58
  63. package/src/components/_collapse.scss +0 -51
  64. package/src/components/_color-palette.scss +0 -126
  65. package/src/components/_color-picker.scss +0 -28
  66. package/src/components/_context-menu.scss +0 -19
  67. package/src/components/_data-table.scss +0 -41
  68. package/src/components/_datapager.scss +0 -49
  69. package/src/components/_datepicker.scss +0 -5
  70. package/src/components/_decoration.scss +0 -39
  71. package/src/components/_dialog.scss +0 -82
  72. package/src/components/_drawer.scss +0 -113
  73. package/src/components/_dropdown.scss +0 -216
  74. package/src/components/_editor-container.scss +0 -155
  75. package/src/components/_fieldset.scss +0 -8
  76. package/src/components/_form.scss +0 -8
  77. package/src/components/_image.scss +0 -24
  78. package/src/components/_input.scss +0 -14
  79. package/src/components/_label.scss +0 -7
  80. package/src/components/_list.scss +0 -83
  81. package/src/components/_loading.scss +0 -52
  82. package/src/components/_menu copy.scss +0 -96
  83. package/src/components/_menu.scss +0 -117
  84. package/src/components/_numberbox.scss +0 -15
  85. package/src/components/_popup.scss +0 -105
  86. package/src/components/_progress.scss +0 -60
  87. package/src/components/_radio.scss +0 -32
  88. package/src/components/_range-slider.scss +0 -210
  89. package/src/components/_rating.scss +0 -14
  90. package/src/components/_result.scss +0 -24
  91. package/src/components/_selectbox.scss +0 -18
  92. package/src/components/_selection-list.scss +0 -54
  93. package/src/components/_skeleton.scss +0 -22
  94. package/src/components/_switch.scss +0 -186
  95. package/src/components/_table.scss +0 -81
  96. package/src/components/_tabs copy.scss +0 -235
  97. package/src/components/_tabs.scss +0 -235
  98. package/src/components/_textarea.scss +0 -35
  99. package/src/components/_toast.scss +0 -8
  100. package/src/components/_tooltip.scss +0 -44
  101. package/src/components/_treeview.scss +0 -54
  102. package/src/components/_uploader.scss +0 -18
  103. package/src/components/index.scss +0 -47
  104. package/src/icons/Read Me.txt +0 -7
  105. package/src/icons/demo-files/demo.css +0 -152
  106. package/src/icons/demo-files/demo.js +0 -30
  107. package/src/icons/demo.html +0 -738
  108. package/src/icons/fonts/acorex-icon.eot +0 -0
  109. package/src/icons/fonts/acorex-icon.svg +0 -60
  110. package/src/icons/fonts/acorex-icon.ttf +0 -0
  111. package/src/icons/fonts/acorex-icon.woff +0 -0
  112. package/src/icons/selection.json +0 -1
  113. package/src/icons/style.css +0 -177
  114. package/src/icons/style.scss +0 -280
  115. package/src/icons/variables.scss +0 -54
  116. package/src/utility/_mixins.scss +0 -152
  117. package/src/utility/index.scss +0 -26
  118. package/src/variables/_colors.scss +0 -122
package/index.js DELETED
@@ -1,185 +0,0 @@
1
- const plugin = require("tailwindcss/plugin");
2
- const withAnimations = require("animated-tailwindcss");
3
-
4
- function withOpacityValue(variable) {
5
- return ({ opacityValue }) => {
6
- if (opacityValue === undefined) {
7
- return `rgb(var(${variable}))`;
8
- }
9
- return `rgb(var(${variable}) / ${opacityValue})`;
10
- };
11
- }
12
-
13
- module.exports = withAnimations({
14
- prefix: "ax-",
15
- content: [
16
- "./src/**/*.{html,ts,scss}",
17
- "./projects/**/*.{html,ts,scss}",
18
- "./dist/acorex/**/*.{html,ts,scss}",
19
- "./node_modules/@acorex/**/*.{html,ts,js,mjs,scss}",
20
- ],
21
- darkMode: "class", // or 'media' or 'class'
22
- theme: {
23
- extend: {
24
- colors: {
25
- black: withOpacityValue("--ax-color-black"),
26
- white: withOpacityValue("--ax-color-white"),
27
- "default-background": withOpacityValue("--ax-color-default-background"),
28
- "default-color": withOpacityValue("--ax-color-default-color"),
29
- primary: {
30
- fore: withOpacityValue("--ax-color-primary-fore"),
31
- 50: withOpacityValue("--ax-color-primary-50"),
32
- 100: withOpacityValue("--ax-color-primary-100"),
33
- 200: withOpacityValue("--ax-color-primary-200"),
34
- 300: withOpacityValue("--ax-color-primary-300"),
35
- 400: withOpacityValue("--ax-color-primary-400"),
36
- 500: withOpacityValue("--ax-color-primary-500"),
37
- 600: withOpacityValue("--ax-color-primary-600"),
38
- 700: withOpacityValue("--ax-color-primary-700"),
39
- 800: withOpacityValue("--ax-color-primary-800"),
40
- 900: withOpacityValue("--ax-color-primary-900"),
41
- },
42
- secondary: {
43
- fore: withOpacityValue("--ax-color-secondary-fore"),
44
- 50: withOpacityValue("--ax-color-secondary-50"),
45
- 100: withOpacityValue("--ax-color-secondary-100"),
46
- 200: withOpacityValue("--ax-color-secondary-200"),
47
- 300: withOpacityValue("--ax-color-secondary-300"),
48
- 400: withOpacityValue("--ax-color-secondary-400"),
49
- 500: withOpacityValue("--ax-color-secondary-500"),
50
- 600: withOpacityValue("--ax-color-secondary-600"),
51
- 700: withOpacityValue("--ax-color-secondary-700"),
52
- 800: withOpacityValue("--ax-color-secondary-800"),
53
- 900: withOpacityValue("--ax-color-secondary-900"),
54
- },
55
- success: {
56
- fore: withOpacityValue("--ax-color-success-fore"),
57
- 50: withOpacityValue("--ax-color-success-50"),
58
- 100: withOpacityValue("--ax-color-success-100"),
59
- 200: withOpacityValue("--ax-color-success-200"),
60
- 300: withOpacityValue("--ax-color-success-300"),
61
- 400: withOpacityValue("--ax-color-success-400"),
62
- 500: withOpacityValue("--ax-color-success-500"),
63
- 600: withOpacityValue("--ax-color-success-600"),
64
- 700: withOpacityValue("--ax-color-success-700"),
65
- 800: withOpacityValue("--ax-color-success-800"),
66
- 900: withOpacityValue("--ax-color-success-900"),
67
- },
68
- danger: {
69
- fore: withOpacityValue("--ax-color-danger-fore"),
70
- 50: withOpacityValue("--ax-color-danger-50"),
71
- 100: withOpacityValue("--ax-color-danger-100"),
72
- 200: withOpacityValue("--ax-color-danger-200"),
73
- 300: withOpacityValue("--ax-color-danger-300"),
74
- 400: withOpacityValue("--ax-color-danger-400"),
75
- 500: withOpacityValue("--ax-color-danger-500"),
76
- 600: withOpacityValue("--ax-color-danger-600"),
77
- 700: withOpacityValue("--ax-color-danger-700"),
78
- 800: withOpacityValue("--ax-color-danger-800"),
79
- 900: withOpacityValue("--ax-color-danger-900"),
80
- },
81
- warning: {
82
- fore: withOpacityValue("--ax-color-warning-fore"),
83
- 50: withOpacityValue("--ax-color-warning-50"),
84
- 100: withOpacityValue("--ax-color-warning-100"),
85
- 200: withOpacityValue("--ax-color-warning-200"),
86
- 300: withOpacityValue("--ax-color-warning-300"),
87
- 400: withOpacityValue("--ax-color-warning-400"),
88
- 500: withOpacityValue("--ax-color-warning-500"),
89
- 600: withOpacityValue("--ax-color-warning-600"),
90
- 700: withOpacityValue("--ax-color-warning-700"),
91
- 800: withOpacityValue("--ax-color-warning-800"),
92
- 900: withOpacityValue("--ax-color-warning-900"),
93
- },
94
- info: {
95
- fore: withOpacityValue("--ax-color-info-fore"),
96
- 50: withOpacityValue("--ax-color-info-50"),
97
- 100: withOpacityValue("--ax-color-info-100"),
98
- 200: withOpacityValue("--ax-color-info-200"),
99
- 300: withOpacityValue("--ax-color-info-300"),
100
- 400: withOpacityValue("--ax-color-info-400"),
101
- 500: withOpacityValue("--ax-color-info-500"),
102
- 600: withOpacityValue("--ax-color-info-600"),
103
- 700: withOpacityValue("--ax-color-info-700"),
104
- 800: withOpacityValue("--ax-color-info-800"),
105
- 900: withOpacityValue("--ax-color-info-900"),
106
- },
107
- light: {
108
- fore: withOpacityValue("--ax-color-light-fore"),
109
- 50: withOpacityValue("--ax-color-light-50"),
110
- 100: withOpacityValue("--ax-color-light-100"),
111
- 200: withOpacityValue("--ax-color-light-200"),
112
- 300: withOpacityValue("--ax-color-light-300"),
113
- 400: withOpacityValue("--ax-color-light-400"),
114
- 500: withOpacityValue("--ax-color-light-500"),
115
- 600: withOpacityValue("--ax-color-light-600"),
116
- 700: withOpacityValue("--ax-color-light-700"),
117
- 800: withOpacityValue("--ax-color-light-800"),
118
- 900: withOpacityValue("--ax-color-light-900"),
119
- },
120
- dark: {
121
- fore: withOpacityValue("--ax-color-dark-fore"),
122
- 50: withOpacityValue("--ax-color-dark-50"),
123
- 100: withOpacityValue("--ax-color-dark-100"),
124
- 200: withOpacityValue("--ax-color-dark-200"),
125
- 300: withOpacityValue("--ax-color-dark-300"),
126
- 400: withOpacityValue("--ax-color-dark-400"),
127
- 500: withOpacityValue("--ax-color-dark-500"),
128
- 600: withOpacityValue("--ax-color-dark-600"),
129
- 700: withOpacityValue("--ax-color-dark-700"),
130
- 800: withOpacityValue("--ax-color-dark-800"),
131
- 900: withOpacityValue("--ax-color-dark-900"),
132
- },
133
- },
134
- width: {
135
- base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
136
- },
137
- minWidth: {
138
- base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
139
- },
140
- maxWidth: {
141
- "8xl": "90rem",
142
- base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
143
- },
144
- height: {
145
- base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
146
- },
147
- minHeight: {
148
- base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
149
- },
150
- maxHeight: {
151
- base: "calc((var(--ax-base-size) * var(--ax-base-ratio)))",
152
- },
153
- borderRadius: {
154
- default: "var(--ax-border-rounded-default)",
155
- },
156
- },
157
- },
158
-
159
- plugins: [
160
- plugin(function ({ addUtilities }) {
161
- const acorexClasses = {
162
- ".animate-fast": {
163
- animationDuration: "800ms",
164
- },
165
- ".animate-faster": {
166
- animationDuration: "500ms",
167
- },
168
- ".bg-default": {
169
- backgroundColor:
170
- "rgb(var(--ax-color-default-background) / var(--tw-bg-opacity))",
171
- },
172
- ".text-default": {
173
- backgroundColor:
174
- "rgb(var(--ax-color-default-color) / var(--tw-text-opacity))",
175
- },
176
- };
177
- addUtilities(acorexClasses, ["responsive", "hover", "focus"]);
178
- }),
179
- require("postcss-import"),
180
- require("tailwindcss/nesting")(require("postcss-nesting")),
181
- require("tailwindcss"),
182
- require("autoprefixer"),
183
- require("tailwind-auto-directions"),
184
- ],
185
- });
package/index.scss DELETED
@@ -1,10 +0,0 @@
1
- @import "./src/variables/colors";
2
- @import "./src/icons/style.scss";
3
-
4
- @import "tailwindcss/base";
5
- @import "tailwindcss/components";
6
- @import "tailwindcss/utilities";
7
-
8
- @import "./src/base/index.scss";
9
- @import "./src/components/index.scss";
10
- @import "./src/utility/index.scss";
@@ -1,45 +0,0 @@
1
- @import "../utility/mixins";
2
-
3
- [class*=" ax-ic-"],
4
- [class^="ax-ic-"] {
5
- vertical-align: middle;
6
- }
7
-
8
- :root {
9
- --ax-size: 8px;
10
- --ax-base-size: var(--ax-size);
11
- --ax-base-ratio: 6;
12
- --ax-color-default-background: 255, 255, 255;
13
- --ax-color-default-color: 107, 114, 128;
14
- --ax-overlay-full-width: 93;
15
- --ax-border-rounded-default: 6px;
16
- @include colors($theme-colors);
17
- }
18
-
19
- html,
20
- body {
21
- background-color: rgb(var(--ax-color-default-background));
22
- color: rgba(var(--ax-color-default-color));
23
- height: 100%;
24
- font-size: 16px;
25
- }
26
-
27
- html.ax-dark,
28
- html.ax-dark * {
29
- --tw-ring-offset-color: #151b24;
30
- --ax-color-default-background: 21 27 36;
31
- --ax-color-default-color: 255 255 255;
32
- --ax-color-border: 55 65 81;
33
- --ax-color-placeholder: 161 161 161;
34
- .ax-skeleton {
35
- &.ax-skeleton-animate {
36
- &::before {
37
- content: "";
38
- background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
39
- }
40
- }
41
- }
42
- .cdk-overlay-dark-backdrop {
43
- background: rgba(0, 0, 0, 0.5) !important;
44
- }
45
- }
@@ -1,24 +0,0 @@
1
- @layer components {
2
- .ax-action-sheet {
3
- .ax-action-sheet-container {
4
- @apply ax-fixed ax-bottom-0 ax-left-1/2 -ax-translate-x-1/2 ax-z-[9999] ax-w-1/3 ax-rounded-t-default ax-overflow-hidden;
5
-
6
- @include screen(mobile) {
7
- @apply ax-w-full;
8
- }
9
- .ax-action-sheet-caption {
10
- @apply ax-text-sm ax-p-4;
11
- }
12
- .ax-action-sheet-items {
13
- @apply ax-flex ax-flex-col ax-pb-3 ax-overflow-x-hidden ax-overflow-y-auto;
14
- .ax-button {
15
- @apply ax-rounded-none ax-w-full ax-text-start ax-justify-start;
16
- }
17
- }
18
- }
19
- }
20
-
21
- .ax-action-sheet-backdrop {
22
- @apply ax-bg-black/75 ax-left-0 ax-right-0 ax-top-0 ax-bottom-0 ax-fixed ax-z-[9998];
23
- }
24
- }
@@ -1,276 +0,0 @@
1
- @layer components {
2
- .ax-alert {
3
- @apply ax-relative ax-p-4 ax-rounded-default ax-border ax-text-sm ax-flex ax-gap-4 ax-overflow-hidden;
4
- transition: visibility 0s, opacity 0.5s ease-in-out;
5
-
6
- &.ax-state-hidden {
7
- visibility: hidden;
8
- opacity: 0;
9
- }
10
-
11
- &.ax-state-visible {
12
- visibility: visible;
13
- opacity: 1;
14
- }
15
-
16
- .ax-alert-inline-middle {
17
- @apply ax-flex ax-flex-col ax-justify-center ax-flex-1;
18
- }
19
-
20
- .ax-alert-inline-start,
21
- .ax-alert-inline-end {
22
- @apply ax-flex;
23
- }
24
-
25
- .ax-alert-inline-start {
26
- @apply ax-items-center;
27
- & > ax-icon {
28
- @apply ax-w-9 ax-h-9 ax-rounded-full ax-grid ax-place-items-center ax-text-2xl;
29
- }
30
- }
31
-
32
- .ax-alert-inline-end {
33
- @apply ax-items-center;
34
- }
35
-
36
- .ax-alert-block-start {
37
- @apply ax-flex ax-items-center ax-justify-center;
38
-
39
- .ax-alert-title {
40
- @apply ax-flex ax-flex-col ax-flex-1;
41
- }
42
- }
43
-
44
- .ax-alert-block-end {
45
- @apply ax-flex ax-flex-col ax-gap-4 ax-pt-2;
46
- ax-content {
47
- @apply ax-block ax-text-black/[0.87];
48
- }
49
-
50
- ax-footer {
51
- @apply ax-bg-transparent;
52
- }
53
- }
54
-
55
- .ax-alert-progress {
56
- @apply ax-absolute ax-start-0 ax-bottom-0 ax-h-1 ax-w-0;
57
- animation-duration: 4s;
58
- animation-timing-function: linear;
59
- animation-name: progressBar;
60
-
61
- @keyframes progressBar {
62
- 0% {
63
- width: 100%;
64
- }
65
-
66
- 100% {
67
- width: 0%;
68
- }
69
- }
70
- }
71
-
72
- &.ax-primary-default {
73
- @apply ax-bg-primary-50 dark:ax-bg-primary-900 ax-border-primary-500;
74
-
75
- .ax-alert-inline-start {
76
- & > ax-icon {
77
- @apply ax-bg-primary-500 ax-text-primary-50;
78
- }
79
- }
80
- .ax-alert-block-start {
81
- ax-title,
82
- ax-sub-title {
83
- @apply dark:ax-text-primary-50;
84
- }
85
- }
86
- .ax-alert-block-end {
87
- ax-content {
88
- @apply dark:ax-text-primary-50;
89
- }
90
- }
91
-
92
- .ax-alert-progress {
93
- @apply ax-bg-primary-800 dark:ax-bg-primary-500;
94
- }
95
- }
96
-
97
- &.ax-secondary-default {
98
- @apply ax-bg-secondary-50 dark:ax-bg-secondary-900 ax-border-secondary-500;
99
-
100
- .ax-alert-inline-start {
101
- & > ax-icon {
102
- @apply ax-bg-secondary-500 ax-text-secondary-50;
103
- }
104
- }
105
- .ax-alert-block-start {
106
- ax-title,
107
- ax-sub-title {
108
- @apply dark:ax-text-secondary-50;
109
- }
110
- }
111
- .ax-alert-block-end {
112
- ax-content {
113
- @apply dark:ax-text-secondary-50;
114
- }
115
- }
116
-
117
- .ax-alert-progress {
118
- @apply ax-bg-secondary-800 dark:ax-bg-secondary-500;
119
- }
120
- }
121
-
122
- &.ax-success-default {
123
- @apply ax-bg-success-50 dark:ax-bg-success-900 ax-border-success-500;
124
-
125
- .ax-alert-inline-start {
126
- & > ax-icon {
127
- @apply ax-bg-success-500 ax-text-success-50;
128
- }
129
- }
130
- .ax-alert-block-start {
131
- ax-title,
132
- ax-sub-title {
133
- @apply dark:ax-text-success-50;
134
- }
135
- }
136
- .ax-alert-block-end {
137
- ax-content {
138
- @apply dark:ax-text-success-50;
139
- }
140
- }
141
-
142
- .ax-alert-progress {
143
- @apply ax-bg-success-800 dark:ax-bg-success-500;
144
- }
145
- }
146
-
147
- &.ax-warning-default {
148
- @apply ax-bg-warning-50 dark:ax-bg-warning-900 dark:ax-text-black ax-border-warning-500 #{!important};
149
-
150
- .ax-alert-inline-start {
151
- & > ax-icon {
152
- @apply ax-bg-warning-500 ax-text-warning-50;
153
- }
154
- }
155
- .ax-alert-block-start {
156
- ax-title,
157
- ax-sub-title {
158
- @apply dark:ax-text-black;
159
- }
160
- }
161
- .ax-alert-block-end {
162
- ax-content {
163
- @apply dark:ax-text-black;
164
- }
165
- }
166
-
167
- .ax-alert-progress {
168
- @apply ax-bg-warning-800 dark:ax-bg-warning-500;
169
- }
170
- }
171
-
172
- &.ax-danger-default {
173
- @apply ax-bg-danger-50 dark:ax-bg-danger-900 ax-border-danger-500;
174
-
175
- .ax-alert-inline-start {
176
- & > ax-icon {
177
- @apply ax-bg-danger-500 ax-text-danger-50;
178
- }
179
- }
180
-
181
- .ax-alert-block-start {
182
- ax-title,
183
- ax-sub-title {
184
- @apply dark:ax-text-danger-50;
185
- }
186
- }
187
- .ax-alert-block-end {
188
- ax-content {
189
- @apply dark:ax-text-danger-50;
190
- }
191
- }
192
-
193
- .ax-alert-progress {
194
- @apply ax-bg-danger-800 dark:ax-bg-danger-500;
195
- }
196
- }
197
-
198
- &.ax-info-default {
199
- @apply ax-bg-info-50 dark:ax-bg-info-900 ax-border-info-500;
200
-
201
- .ax-alert-inline-start {
202
- & > ax-icon {
203
- @apply ax-bg-info-500 ax-text-info-50;
204
- }
205
- }
206
-
207
- .ax-alert-block-start {
208
- ax-title,
209
- ax-sub-title {
210
- @apply dark:ax-text-info-50;
211
- }
212
- }
213
- .ax-alert-block-end {
214
- ax-content {
215
- @apply dark:ax-text-info-50;
216
- }
217
- }
218
-
219
- .ax-alert-progress {
220
- @apply ax-bg-info-800 dark:ax-bg-info-500;
221
- }
222
- }
223
-
224
- &.ax-light-default {
225
- @apply ax-bg-light-50 dark:ax-bg-light-900 ax-border-light-500;
226
-
227
- .ax-alert-inline-start {
228
- & > ax-icon {
229
- @apply ax-bg-light-500 ax-text-light-50;
230
- }
231
- }
232
-
233
- .ax-alert-block-start {
234
- ax-title,
235
- ax-sub-title {
236
- @apply dark:ax-text-light-50;
237
- }
238
- }
239
- .ax-alert-block-end {
240
- ax-content {
241
- @apply dark:ax-text-light-50;
242
- }
243
- }
244
-
245
- .ax-alert-progress {
246
- @apply ax-bg-light-300 dark:ax-bg-light-600;
247
- }
248
- }
249
-
250
- &.ax-dark-default {
251
- @apply ax-bg-dark-50 dark:ax-bg-dark-900 ax-border-dark-500;
252
-
253
- .ax-alert-inline-start {
254
- & > ax-icon {
255
- @apply ax-bg-dark-500 ax-text-dark-50;
256
- }
257
- }
258
-
259
- .ax-alert-block-start {
260
- ax-title,
261
- ax-sub-title {
262
- @apply dark:ax-text-dark-50;
263
- }
264
- }
265
- .ax-alert-block-end {
266
- ax-content {
267
- @apply dark:ax-text-dark-50;
268
- }
269
- }
270
- }
271
-
272
- .ax-alert-progress {
273
- @apply ax-bg-dark-200 dark:ax-bg-dark-200;
274
- }
275
- }
276
- }
@@ -1,124 +0,0 @@
1
- @layer components {
2
- .ax-avatar-group {
3
- @apply ax-flex;
4
- ax-avatar {
5
- @apply ax-border-2 ax-border-white -ax-m-1 dark:ax-border-dark-500;
6
- }
7
- }
8
- ax-avatar {
9
- @apply ax-relative ax-flex ax-items-center ax-justify-center ax-w-16 ax-h-16 ax-overflow-hidden;
10
- ax-badge {
11
- @apply ax-absolute -ax-top-1.5;
12
- right: -6px;
13
- }
14
- ax-text{
15
- @apply ax-text-xl;
16
- }
17
- ax-icon,
18
- ax-text {
19
- @apply ax-w-full ax-h-full ax-flex ax-items-center ax-justify-center;
20
- }
21
- .ax-avatar-container {
22
- @apply ax-w-full ax-h-full ax-rounded-default;
23
- .ax-default-avatar {
24
- svg {
25
- @apply ax-w-full;
26
- }
27
- }
28
- .ax-default-avatar,
29
- .ax-text-avatar,
30
- .ax-icon-avatar,
31
- .ax-image-avatar {
32
- @apply ax-w-full ax-h-full ax-flex ax-items-center ax-justify-center ax-bg-light-200 dark:ax-bg-dark-500 ax-overflow-hidden;
33
- }
34
- }
35
- &.ax-primary-default {
36
- .ax-default {
37
- @apply ax-fill-primary-500;
38
- }
39
- ax-text {
40
- @apply ax-bg-primary-100 ax-text-primary-500 dark:ax-bg-primary-500 dark:ax-text-primary-fore;
41
- }
42
- ax-icon {
43
- @apply ax-bg-primary-500;
44
- }
45
- }
46
- &.ax-secondary-default {
47
- .ax-default {
48
- @apply ax-fill-secondary-500;
49
- }
50
- ax-text {
51
- @apply ax-bg-secondary-100 ax-text-secondary-500 dark:ax-bg-secondary-500 dark:ax-text-secondary-fore;
52
- }
53
- ax-icon {
54
- @apply ax-bg-secondary-500;
55
- }
56
- }
57
- &.ax-success-default {
58
- .ax-default {
59
- @apply ax-fill-success-500;
60
- }
61
- ax-text {
62
- @apply ax-bg-success-100 ax-text-success-500 dark:ax-bg-success-500 dark:ax-text-success-fore;
63
- }
64
- ax-icon {
65
- @apply ax-bg-success-500;
66
- }
67
- }
68
- &.ax-warning-default {
69
- .ax-default {
70
- @apply ax-fill-warning-500;
71
- }
72
- ax-text {
73
- @apply ax-bg-warning-100 ax-text-warning-500 dark:ax-bg-warning-500 dark:ax-text-warning-fore;
74
- }
75
- ax-icon {
76
- @apply ax-bg-warning-500;
77
- }
78
- }
79
- &.ax-danger-default {
80
- .ax-default {
81
- @apply ax-fill-danger-500;
82
- }
83
- ax-text {
84
- @apply ax-bg-danger-100 ax-text-danger-500 dark:ax-bg-danger-500 dark:ax-text-danger-fore;
85
- }
86
- ax-icon {
87
- @apply ax-bg-danger-500;
88
- }
89
- }
90
- &.ax-info-default {
91
- .ax-default {
92
- @apply ax-fill-info-500;
93
- }
94
- ax-text {
95
- @apply ax-bg-info-100 ax-text-info-500 dark:ax-bg-info-500 dark:ax-text-info-fore;
96
- }
97
- ax-icon {
98
- @apply ax-bg-info-500;
99
- }
100
- }
101
- &.ax-light-default {
102
- .ax-default {
103
- @apply ax-fill-light-400;
104
- }
105
- ax-text {
106
- @apply ax-bg-light-100 ax-text-light-500 dark:ax-bg-light-500 dark:ax-text-light-fore;
107
- }
108
- ax-icon {
109
- @apply ax-bg-light-500;
110
- }
111
- }
112
- &.ax-dark-default {
113
- .ax-default {
114
- @apply ax-fill-dark-500;
115
- }
116
- ax-text {
117
- @apply ax-bg-dark-100 ax-text-dark-500 dark:ax-bg-dark-500 dark:ax-text-dark-fore;
118
- }
119
- ax-icon {
120
- @apply ax-bg-dark-500;
121
- }
122
- }
123
- }
124
- }