@basis-ng/styles 0.0.1-alpha.132 → 0.0.1-alpha.134
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 -2
- package/src/components/button.css +6 -8
- package/src/index.css +0 -1
- package/src/components/popover.css +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basis-ng/styles",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.134",
|
|
4
4
|
"description": "CSS foundation for @basis-ng/primitives components",
|
|
5
5
|
"main": "src/index.css",
|
|
6
6
|
"exports": {
|
|
@@ -17,7 +17,6 @@
|
|
|
17
17
|
"./label": "./src/components/label.css",
|
|
18
18
|
"./menu": "./src/components/menu.css",
|
|
19
19
|
"./option": "./src/components/option.css",
|
|
20
|
-
"./popover": "./src/components/popover.css",
|
|
21
20
|
"./range": "./src/components/range.css",
|
|
22
21
|
"./row-item": "./src/components/row-item.css",
|
|
23
22
|
"./row": "./src/components/row.css",
|
|
@@ -16,18 +16,16 @@ button[b-button] {
|
|
|
16
16
|
@apply dark:bg-primary-dark dark:text-primary-foreground-dark dark:hover:bg-primary-dark/80;
|
|
17
17
|
}
|
|
18
18
|
&.b-variant-secondary {
|
|
19
|
-
@apply bg-
|
|
20
|
-
@apply dark:bg-
|
|
19
|
+
@apply bg-primary/10 text-primary hover:bg-primary/20;
|
|
20
|
+
@apply dark:bg-primary-dark/20 dark:text-primary-dark dark:hover:bg-primary-dark/30;
|
|
21
21
|
}
|
|
22
22
|
&.b-variant-ghost {
|
|
23
|
-
|
|
24
|
-
@apply
|
|
25
|
-
@apply dark:text-secondary-foreground-dark dark:hover:bg-secondary-dark;
|
|
23
|
+
@apply bg-transparent text-primary hover:bg-primary/10;
|
|
24
|
+
@apply dark:text-primary-dark dark:hover:bg-primary-dark/20;
|
|
26
25
|
}
|
|
27
26
|
&.b-variant-outlined {
|
|
28
|
-
|
|
29
|
-
@apply bg-
|
|
30
|
-
@apply dark:bg-secondary-dark/40 dark:text-secondary-foreground-dark dark:inset-ring-ring-dark dark:hover:bg-primary-dark/5 shadow-xs;
|
|
27
|
+
@apply bg-transparent text-primary border border-primary/20 hover:bg-primary/5 shadow-xs;
|
|
28
|
+
@apply dark:bg-transparent dark:text-primary-dark dark:border-primary-dark/30 dark:hover:bg-primary-dark/10 shadow-xs;
|
|
31
29
|
}
|
|
32
30
|
&.b-variant-destructive {
|
|
33
31
|
@apply bg-destructive text-destructive-foreground inset-ring-1 inset-ring-destructive hover:bg-destructive/90 hover:inset-ring-destructive/80;
|
package/src/index.css
CHANGED
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
@import './components/command.css';
|
|
67
67
|
@import './components/command-options.css';
|
|
68
68
|
@import './components/option.css';
|
|
69
|
-
@import './components/popover.css';
|
|
70
69
|
@import './components/sheet.css';
|
|
71
70
|
@import './components/spinner.css';
|
|
72
71
|
@import './components/switch.css';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
b-popover-content {
|
|
2
|
-
@apply whitespace-normal rounded-lg shadow flex items-start justify-center gap-1.5 bg-background text-sm font-sans px-3 py-2 max-w-xs sm:max-w-lg;
|
|
3
|
-
@apply dark:bg-background-dark;
|
|
4
|
-
|
|
5
|
-
/* Use the same look as tooltip secondary by default */
|
|
6
|
-
@apply bg-secondary text-secondary-foreground;
|
|
7
|
-
@apply dark:bg-secondary-dark dark:text-secondary-foreground-dark;
|
|
8
|
-
}
|