Skip to content

Commit ce7192e

Browse files
committed
Fix toggle, Button, and main license status icon
1 parent a360e27 commit ce7192e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/desktop/src/components/Toggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { cva } from "cva";
33
import { type ComponentProps, splitProps } from "solid-js";
44

55
const toggleControlStyles = cva(
6-
"rounded-full bg-gray-6 data-disabled:bg-gray-3 data-checked:bg-blue-500 transition-colors outline-2 outline-offset-2 outline-blue-300",
6+
"rounded-full bg-gray-6 data-disabled:bg-gray-3 data-checked:bg-blue-500 transition-colors",
77
{
88
variants: {
99
size: {

apps/desktop/src/routes/(window-chrome)/new-main/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ function Page() {
10481048
}
10491049
}}
10501050
class={cx(
1051-
"text-[0.6rem] ml-2 rounded-lg px-1 py-0.5",
1051+
"text-[0.6rem] rounded-lg px-1 py-0.5",
10521052
license.data?.type === "pro"
10531053
? "bg-(--blue-400) text-gray-1 dark:text-gray-12"
10541054
: "bg-gray-3 cursor-pointer hover:bg-gray-5",

packages/ui-solid/src/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const styles = cva(
2020
white:
2121
"bg-gray-1 border border-gray-6 text-gray-12 hover:bg-gray-3 disabled:bg-gray-8",
2222
ghost: "hover:bg-white/20 hover:text-white",
23-
gray: "bg-gray-5 data-[selected=true]:bg-gray-8! dark:data-[selected=true]:bg-gray-9! hover:bg-gray-7 border gray-button-border gray-button-shadow text-gray-12 disabled:bg-gray-8 disabled:text-gray-9",
23+
gray: "bg-gray-5 data-[selected=true]:bg-gray-8! dark:data-[selected=true]:bg-gray-9! hover:bg-gray-7 gray-button-shadow text-gray-12 disabled:bg-gray-8 disabled:text-gray-9 outline-none",
2424
dark: "bg-gray-12 dark-button-border dark-button-shadow hover:bg-gray-11 border text-gray-1 disabled:cursor-not-allowed disabled:text-gray-10 disabled:bg-gray-7 disabled:border-gray-8",
2525
darkgradient:
2626
"bg-linear-to-t button-gradient-border from-[#0f0f0f] to-[#404040] shadow-[0_0_0_1px] hover:brightness-110 shadow-[#383838] text-gray-50 hover:bg-[#383838] disabled:bg-[#383838] border-transparent",

0 commit comments

Comments
 (0)