From d6df2514e158c9124ca2fbea7161bb665c160b0c Mon Sep 17 00:00:00 2001 From: Mathew Pareles Date: Sun, 23 Mar 2025 20:01:05 -0700 Subject: [PATCH] fix ugly colors --- .../contrib/void/browser/react/src/util/inputs.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx index 11819ce0..775087b0 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/util/inputs.tsx @@ -350,7 +350,7 @@ export const VoidSlider = ({ size === 'xs' ? 'h-1' : size === 'sm' ? 'h-1.5' : size === 'sm+' ? 'h-2' : 'h-2.5' - } bg-zinc-200 dark:bg-zinc-600 rounded-full cursor-pointer`} + } bg-void-bg-2 rounded-full cursor-pointer`} onClick={handleTrackClick} > {/* Filled part of track */} @@ -359,12 +359,12 @@ export const VoidSlider = ({ size === 'xs' ? 'h-1' : size === 'sm' ? 'h-1.5' : size === 'sm+' ? 'h-2' : 'h-2.5' - } bg-zinc-900 dark:bg-white rounded-full`} + } bg-void-fg-1 rounded-full`} style={{ width: `${percentage}%` }} /> - {/* Thumb with sizes matching VoidSwitch */} + {/* Thumb */}
{ if (disabled) return; @@ -424,7 +425,7 @@ export const VoidSwitch = ({ className={` cursor-pointer relative inline-flex items-center rounded-full transition-colors duration-200 ease-in-out - ${value ? 'bg-zinc-900 dark:bg-white' : 'bg-zinc-200 dark:bg-zinc-600'} + ${value ? 'bg-zinc-900 dark:bg-white' : 'bg-white dark:bg-zinc-600'} ${disabled ? 'opacity-25' : ''} ${size === 'xxs' ? 'h-3 w-5' : ''} ${size === 'xs' ? 'h-4 w-7' : ''} @@ -955,7 +956,7 @@ export const BlockCode = ({ initValue, language, maxHeight, showScrollbars }: Bl export const VoidButton = ({ children, disabled, onClick }: { children: React.ReactNode; disabled?: boolean; onClick: () => void }) => { return }