vueless 0.0.623 → 0.0.624
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
CHANGED
package/ui.button/config.ts
CHANGED
|
@@ -64,8 +64,8 @@ export default /*tw*/ {
|
|
|
64
64
|
{
|
|
65
65
|
color: ["grayscale", "white"],
|
|
66
66
|
class: `
|
|
67
|
-
focus:ring-gray-
|
|
68
|
-
focus-within:ring-gray-
|
|
67
|
+
focus:ring-gray-700/15 dark:focus:ring-gray-500/15
|
|
68
|
+
focus-within:ring-gray-700/15 dark:focus-within:ring-gray-500/15
|
|
69
69
|
`,
|
|
70
70
|
},
|
|
71
71
|
{
|
|
@@ -93,9 +93,9 @@ export default /*tw*/ {
|
|
|
93
93
|
variant: "thirdary",
|
|
94
94
|
class: `
|
|
95
95
|
text-gray-900 dark:text-gray-100
|
|
96
|
-
hover:text-gray-800 hover:bg-gray-800/
|
|
97
|
-
focus:text-gray-800 focus:bg-gray-800/
|
|
98
|
-
active:text-gray-700 active:bg-gray-700/
|
|
96
|
+
hover:text-gray-800 hover:bg-gray-800/5 dark:hover:text-gray-200 dark:hover:bg-gray-200/5
|
|
97
|
+
focus:text-gray-800 focus:bg-gray-800/5 dark:focus:text-gray-200 dark:focus:bg-gray-200/5
|
|
98
|
+
active:text-gray-700 active:bg-gray-700/10 dark:active:text-gray-300 dark:active:bg-gray-300/10
|
|
99
99
|
`,
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -127,8 +127,8 @@ export default /*tw*/ {
|
|
|
127
127
|
variant: "thirdary",
|
|
128
128
|
class: "hover:bg-white/10 focus:bg-white/10 active:bg-white/15",
|
|
129
129
|
},
|
|
130
|
-
{ filled: true, variant: "thirdary", class: "bg-{color}-
|
|
131
|
-
{ filled: true, variant: "thirdary", color: ["grayscale", "white"], class: "bg-gray-
|
|
130
|
+
{ filled: true, variant: "thirdary", class: "bg-{color}-700/10 dark:bg-{color}-500/10" },
|
|
131
|
+
{ filled: true, variant: "thirdary", color: ["grayscale", "white"], class: "bg-gray-800/5 dark:bg-gray-200/5" },
|
|
132
132
|
{ rightIcon: true, size: "2xs", class: "pr-1" },
|
|
133
133
|
{ rightIcon: true, size: "xs", class: "pr-2" },
|
|
134
134
|
{ rightIcon: true, size: "sm", class: "pr-3" },
|
|
@@ -101,7 +101,7 @@ const { toggleButtonAttrs, toggleButtonActiveAttrs, toggleInputAttrs } = useUI<C
|
|
|
101
101
|
<UButton
|
|
102
102
|
:label="label"
|
|
103
103
|
tabindex="0"
|
|
104
|
-
|
|
104
|
+
color="brand"
|
|
105
105
|
:for="elementId"
|
|
106
106
|
:filled="getToggleSplit()"
|
|
107
107
|
:size="getToggleSize()"
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
toggleButton: {
|
|
3
|
-
base: "{UButton} font-normal",
|
|
3
|
+
base: "{UButton} font-normal text-gray-900",
|
|
4
4
|
defaults: {
|
|
5
5
|
variant: "thirdary",
|
|
6
6
|
},
|
|
7
7
|
},
|
|
8
8
|
toggleButtonActive: {
|
|
9
|
-
base: "{UButton}
|
|
9
|
+
base: "{UButton} font-normal !bg-{color}-600/15",
|
|
10
10
|
defaults: {
|
|
11
|
+
variant: "thirdary",
|
|
11
12
|
filled: true,
|
|
12
13
|
},
|
|
13
14
|
},
|