Skip to content

Commit 93faac4

Browse files
committed
fix checkbox styles
1 parent b87eefd commit 93faac4

7 files changed

Lines changed: 27 additions & 6 deletions

File tree

llms/extensions/app/themes/blue_smoke/theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"bgPage": "",
2222
"bgInput": "bg-blue-950/80 focus:bg-black/70",
2323
"textInput": "text-blue-50 placeholder-blue-300/50",
24-
"borderInput": "border-blue-500/60 focus:border-blue-500/60 focus:ring-blue-500/60 shadow-inner",
24+
"borderInput": "border-blue-500/60 focus:border-blue-500/60 focus:ring-blue-500/60 shadow-inner focus:ring-offset-blue-900 focus-within:ring-blue-600 focus-within:border-blue-600",
2525
"labelInput": "text-blue-300",
2626
"helpInput": "text-blue-400/80",
2727
"draggingInput": "border-blue-400 bg-blue-900/40 ring-1 ring-blue-400 shadow-[0_0_20px_rgba(59,130,246,0.2)]",

llms/extensions/app/themes/light_sky/theme.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"iconActive": "bg-blue-300/30 text-sky-900",
3232
"chatButton": "border border-sky-300 text-sky-700 bg-white hover:bg-sky-50 disabled:text-sky-400 disabled:cursor-not-allowed disabled:border-sky-200 transition-all shadow-sm hover:shadow",
3333
"voiceButtonDefault": "bg-white text-sky-500 hover:text-sky-600 shadow-sm",
34-
"borderInput": "border-sky-300 focus:border-sky-500 focus:ring-sky-500 bg-white focus:bg-white transition-colors",
34+
"borderInput": "border-sky-300 focus:border-blue-500 focus:ring-blue-500 focus:ring-offset-white focus-within:ring-indigo-500 focus-within:border-indigo-500",
35+
"checkbox": "rounded bg-sky-500",
3536
"secondaryButton": "text-sky-700 bg-white border border-sky-300 hover:bg-sky-50 transition-colors shadow-sm rounded-md",
3637
"dropdownButton": "border border-sky-300/80 bg-white hover:bg-sky-50 text-sky-900 focus:outline-none",
3738
"bgPopover": "bg-white/95 backdrop-blur-xl border border-sky-200 shadow-lg",

llms/extensions/app/themes/matrix/theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"bgInput": "bg-black border border-green-800 placeholder-green-800",
3434
"textInput": "text-green-400 placeholder-green-800",
3535
"borderInput": "border-green-800 focus:border-green-500 focus:border-green-500 focus:ring-1 focus:ring-green-500 focus:ring-offset-green-950 focus-within:ring-green-500 focus-within:border-green-500",
36-
"checkbox": "",
36+
"checkbox": "bg-black",
3737
"labelInput": "text-green-500 font-mono",
3838
"helpInput": "text-green-700",
3939
"draggingInput": "border-green-400 bg-green-900/20 ring-1 ring-green-400",

llms/extensions/app/themes/nord/theme.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"bgInput": "bg-nord-800 placeholder-nord-300/50",
5656
"dialog": "rounded-lg shadow-xl bg-nord-900 border border-frost-700/80",
5757
"textInput": "text-nord-100 placeholder-nord-300",
58-
"borderInput": "border-nord-600 shadow-sm focus:border-frost-600 focus:ring-frost-600 focus:ring-offset-nord-900 focus-within:ring-frost-600 focus-within:border-frost-600",
58+
"borderInput": "border-frost-700/80 shadow-sm focus:border-frost-600 focus:ring-frost-600 focus:ring-offset-nord-900 focus-within:ring-frost-600 focus-within:border-frost-600",
5959
"labelInput": "text-nord-300",
6060
"helpInput": "text-frost-600",
6161
"draggingInput": "border-frost-600 bg-blue-900/30 ring-1 ring-frost-600",
@@ -79,7 +79,7 @@
7979
"cardActiveTitleBar": "border-b border-frost-700 bg-nord-900",
8080
"textBlock": "bg-black/30 text-nord-100 backdrop-blur-sm",
8181
"primaryButton": "border border-transparent shadow-sm text-white bg-frost-700 hover:bg-frost-700/80 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-nord-900 focus:ring-frost-500 disabled:opacity-50 disabled:cursor-not-allowed rounded-md",
82-
"secondaryButton": "text-nord-300 bg-nord-800 border border-nord-600 hover:bg-nord-700/80 rounded-md",
82+
"secondaryButton": "text-nord-300 bg-nord-800 border border-frost-700/80 hover:bg-nord-700/80 rounded-md",
8383
"textLink": "underline hover:text-nord-100",
8484
"icon": "text-nord-300/60",
8585
"iconHover": "hover:text-nord-200",

llms/extensions/app/themes/soft_pink/theme.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"bgInput": "bg-white shadow-sm",
3333
"textInput": "text-pink-950 placeholder-pink-800/50",
3434
"borderInput": "border-pink-300 focus:border-pink-400 focus:ring-pink-400 focus:ring-offset-white focus-within:ring-pink-500 focus-within:border-pink-500",
35+
"checkbox": "rounded bg-pink-500",
3536
"labelInput": "text-pink-800 font-medium",
3637
"helpInput": "text-pink-600/80",
3738
"draggingInput": "border-pink-400 bg-pink-50 ring-1 ring-pink-400",

llms/ui/ai.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ export const o = {
249249
"appInner": "",
250250
"tagButtonLarge": "rounded-xl shadow-sm",
251251
"tagButtonSmall": "rounded-full shadow-sm",
252-
"checkbox": "rounded",
253252
}
254253
},
255254

@@ -301,6 +300,7 @@ export const o = {
301300
"dialog": "rounded-lg shadow-xl bg-white border border-gray-200",
302301
"textInput": "text-gray-900 placeholder-gray-500",
303302
"borderInput": "border-gray-300 focus:border-blue-500 focus:ring-blue-500 focus:ring-offset-white focus-within:ring-indigo-500 focus-within:border-indigo-500",
303+
"checkbox": "rounded bg-gray-500",
304304
"labelInput": "text-gray-700",
305305
"helpInput": "text-gray-500",
306306
"draggingInput": "border-blue-500 bg-blue-50 ring-1 ring-blue-500",
@@ -394,6 +394,7 @@ export const o = {
394394
"dialog": "rounded-lg shadow-xl bg-gray-900 border border-gray-700",
395395
"textInput": "text-gray-100 placeholder-gray-500",
396396
"borderInput": "border-gray-600 focus:border-blue-500 focus:ring-blue-500 focus:ring-offset-gray-900 focus-within:ring-indigo-500 focus-within:border-indigo-500",
397+
"checkbox": "rounded bg-gray-600",
397398
"labelInput": "text-gray-300",
398399
"helpInput": "text-gray-400",
399400
"draggingInput": "border-blue-500 bg-blue-900/30 ring-1 ring-blue-500",

llms/ui/app.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,6 +2240,9 @@
22402240
background-color: color-mix(in oklab, var(--color-gray-500) 75%, transparent);
22412241
}
22422242
}
2243+
.bg-gray-600 {
2244+
background-color: var(--color-gray-600);
2245+
}
22432246
.bg-gray-700 {
22442247
background-color: var(--color-gray-700);
22452248
}
@@ -4730,6 +4733,11 @@
47304733
border-bottom-width: 0px;
47314734
}
47324735
}
4736+
.focus-within\:border-blue-600 {
4737+
&:focus-within {
4738+
border-color: var(--color-blue-600);
4739+
}
4740+
}
47334741
.focus-within\:border-frost-600 {
47344742
&:focus-within {
47354743
border-color: var(--color-frost-600);
@@ -4783,6 +4791,11 @@
47834791
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
47844792
}
47854793
}
4794+
.focus-within\:ring-blue-600 {
4795+
&:focus-within {
4796+
--tw-ring-color: var(--color-blue-600);
4797+
}
4798+
}
47864799
.focus-within\:ring-frost-600 {
47874800
&:focus-within {
47884801
--tw-ring-color: var(--color-frost-600);
@@ -6196,6 +6209,11 @@
61966209
--tw-ring-offset-color: var(--color-black);
61976210
}
61986211
}
6212+
.focus\:ring-offset-blue-900 {
6213+
&:focus {
6214+
--tw-ring-offset-color: var(--color-blue-900);
6215+
}
6216+
}
61996217
.focus\:ring-offset-gray-700 {
62006218
&:focus {
62016219
--tw-ring-offset-color: var(--color-gray-700);

0 commit comments

Comments
 (0)