fix: temperature font color (#556)

This commit is contained in:
Shinji Yamada
2023-04-18 23:25:28 +09:00
committed by GitHub
parent 03afa00732
commit 51fa461965
+4 -2
View File
@@ -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.', '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>
<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 <input
className="cursor-pointer" className="cursor-pointer"
type="range" type="range"
@@ -49,7 +51,7 @@ export const TemperatureSlider: FC<Props> = ({
value={temperature} value={temperature}
onChange={handleChange} 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"> <li className="relative flex justify-center">
<span className="absolute">{t('Precise')}</span> <span className="absolute">{t('Precise')}</span>
</li> </li>