mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-09-09 11:15:08 +08:00
Merge pull request #703 from rsandb/Fix-Task-Card-Background-Color
fix task card background color
This commit is contained in:
@@ -12,7 +12,7 @@ export const CreateTask = ({
|
|||||||
isDisabled,
|
isDisabled,
|
||||||
onReplyChanged,
|
onReplyChanged,
|
||||||
}: TaskSurveyProps<{ text: string }>) => {
|
}: TaskSurveyProps<{ text: string }>) => {
|
||||||
const cardColor = useColorModeValue("gray.50", "gray.900");
|
const cardColor = useColorModeValue("gray.50", "gray.800");
|
||||||
const titleColor = useColorModeValue("gray.800", "gray.300");
|
const titleColor = useColorModeValue("gray.800", "gray.300");
|
||||||
const labelColor = useColorModeValue("gray.600", "gray.400");
|
const labelColor = useColorModeValue("gray.600", "gray.400");
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ export const EvaluateTask = ({
|
|||||||
isDisabled,
|
isDisabled,
|
||||||
onReplyChanged,
|
onReplyChanged,
|
||||||
}: TaskSurveyProps<{ ranking: number[] }>) => {
|
}: TaskSurveyProps<{ ranking: number[] }>) => {
|
||||||
const cardColor = useColorModeValue("gray.100", "gray.700");
|
const cardColor = useColorModeValue("gray.50", "gray.800");
|
||||||
const titleColor = useColorModeValue("gray.800", "gray.300");
|
const titleColor = useColorModeValue("gray.800", "gray.300");
|
||||||
const labelColor = useColorModeValue("gray.600", "gray.400");
|
const labelColor = useColorModeValue("gray.600", "gray.400");
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export const LabelTask = ({
|
|||||||
setSliderValues(values);
|
setSliderValues(values);
|
||||||
};
|
};
|
||||||
|
|
||||||
const cardColor = useColorModeValue("gray.100", "gray.700");
|
const cardColor = useColorModeValue("gray.50", "gray.800");
|
||||||
const titleColor = useColorModeValue("gray.800", "gray.300");
|
const titleColor = useColorModeValue("gray.800", "gray.300");
|
||||||
const labelColor = useColorModeValue("gray.600", "gray.400");
|
const labelColor = useColorModeValue("gray.600", "gray.400");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user