Skip to content

Commit

Permalink
fix: temperature font color (mckaywrigley#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneet authored Apr 18, 2023
1 parent 03afa00 commit 51fa461
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/Chat/Temperature.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export const TemperatureSlider: FC<Props> = ({
'Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.',
)}
</span>
<span className="mt-2 mb-1 text-center">{temperature.toFixed(1)}</span>
<span className="mt-2 mb-1 text-center text-neutral-900 dark:text-neutral-100">
{temperature.toFixed(1)}
</span>
<input
className="cursor-pointer"
type="range"
Expand All @@ -49,7 +51,7 @@ export const TemperatureSlider: FC<Props> = ({
value={temperature}
onChange={handleChange}
/>
<ul className="w mt-2 pb-8 flex justify-between px-[24px]">
<ul className="w mt-2 pb-8 flex justify-between px-[24px] text-neutral-900 dark:text-neutral-100">
<li className="relative flex justify-center">
<span className="absolute">{t('Precise')}</span>
</li>
Expand Down

0 comments on commit 51fa461

Please sign in to comment.