diff --git a/gui/src/components/commons/ArrowLink.tsx b/gui/src/components/commons/ArrowLink.tsx index 8dca58e29..da61efdbc 100644 --- a/gui/src/components/commons/ArrowLink.tsx +++ b/gui/src/components/commons/ArrowLink.tsx @@ -28,7 +28,7 @@ export function ArrowLink({ }; return classNames( variantsMap[variant], - 'flex gap-2 hover:fill-background-10 hover:text-background-10 fill-background-30 text-background-30' + 'flex gap-2 hover:fill-background-10 fill-background-30 text-background-10' ); }, [variant]); diff --git a/gui/src/components/commons/Checkbox.tsx b/gui/src/components/commons/Checkbox.tsx index ac2d82411..c3adbd580 100644 --- a/gui/src/components/commons/Checkbox.tsx +++ b/gui/src/components/commons/Checkbox.tsx @@ -53,7 +53,7 @@ export function CheckBox({ className={classNames( { 'rounded-lg': outlined, - 'text-background-30': !outlined || disabled, + 'text-background-10': !outlined || disabled, 'bg-background-60': outlined && color === 'primary', 'bg-background-70': outlined && color === 'secondary', 'bg-background-50': outlined && color === 'tertiary', diff --git a/gui/src/components/commons/Input.tsx b/gui/src/components/commons/Input.tsx index 2d212b0ce..1a33b3765 100644 --- a/gui/src/components/commons/Input.tsx +++ b/gui/src/components/commons/Input.tsx @@ -47,19 +47,19 @@ export const InputInside = forwardRef< const classes = useMemo(() => { const variantsMap = { primary: classNames({ - 'placeholder:text-background-30 bg-background-60 border-background-60': + 'placeholder:text-background-10 placeholder:italic bg-background-60 border-background-60': !disabled, 'text-background-30 placeholder:text-background-30 border-background-70 bg-background-70': disabled, }), secondary: classNames({ - 'placeholder:text-background-30 bg-background-50 border-background-50': + 'placeholder:text-background-10 placeholder:italic bg-background-50 border-background-50': !disabled, 'text-background-40 placeholder:text-background-40 border-background-70 bg-background-70': disabled, }), tertiary: classNames({ - 'placeholder:text-background-30 bg-background-40 border-background-40': + 'placeholder:text-background-10 placeholder:italic bg-background-40 border-background-40': !disabled, 'text-background-30 placeholder:text-background-30 border-background-70 bg-background-70': disabled, diff --git a/gui/src/components/commons/Radio.tsx b/gui/src/components/commons/Radio.tsx index c5c2d9f9b..73b742be9 100644 --- a/gui/src/components/commons/Radio.tsx +++ b/gui/src/components/commons/Radio.tsx @@ -51,9 +51,7 @@ export function Radio({
{children ? children : {label}} {description && ( - - {description} - + {description} )}
diff --git a/gui/src/components/firmware-tool/AddImusStep.tsx b/gui/src/components/firmware-tool/AddImusStep.tsx index 392f1c2e4..c12656fce 100644 --- a/gui/src/components/firmware-tool/AddImusStep.tsx +++ b/gui/src/components/firmware-tool/AddImusStep.tsx @@ -240,7 +240,7 @@ export function AddImusStep({ <>
- + {l10n.getString('firmware_tool-add_imus_step-description')}
@@ -297,7 +297,7 @@ export function AddImusStep({
- +
)} diff --git a/gui/src/components/firmware-tool/BoardPinsStep.tsx b/gui/src/components/firmware-tool/BoardPinsStep.tsx index c2b8d32ff..c59c1048f 100644 --- a/gui/src/components/firmware-tool/BoardPinsStep.tsx +++ b/gui/src/components/firmware-tool/BoardPinsStep.tsx @@ -53,7 +53,7 @@ export function BoardPinsStep({ <>
- + {l10n.getString('firmware_tool-board_pins_step-description')}
@@ -172,7 +172,7 @@ export function BoardPinsStep({
- +
)} diff --git a/gui/src/components/firmware-tool/BuildStep.tsx b/gui/src/components/firmware-tool/BuildStep.tsx index d7195159d..cd0f6aed3 100644 --- a/gui/src/components/firmware-tool/BuildStep.tsx +++ b/gui/src/components/firmware-tool/BuildStep.tsx @@ -68,7 +68,7 @@ export function BuildStep({ <>
- + {l10n.getString('firmware_tool-build_step-description')}
@@ -82,7 +82,7 @@ export function BuildStep({ : SlimeState.SAD } > - + {l10n.getString('firmware_tool-build-' + buildStatus.status)}
@@ -91,7 +91,7 @@ export function BuildStep({
- +
)} diff --git a/gui/src/components/firmware-tool/FirmwareTool.tsx b/gui/src/components/firmware-tool/FirmwareTool.tsx index b8d9ab7d7..5b95bd08b 100644 --- a/gui/src/components/firmware-tool/FirmwareTool.tsx +++ b/gui/src/components/firmware-tool/FirmwareTool.tsx @@ -85,9 +85,7 @@ function FirmwareToolContent() { .getString('firmware_tool-description') .split('\n') .map((line, i) => ( - - {line} - + {line} ))}
diff --git a/gui/src/components/firmware-tool/FlashBtnStep.tsx b/gui/src/components/firmware-tool/FlashBtnStep.tsx index 1f948f35c..3f8bcc98d 100644 --- a/gui/src/components/firmware-tool/FlashBtnStep.tsx +++ b/gui/src/components/firmware-tool/FlashBtnStep.tsx @@ -22,7 +22,7 @@ export function FlashBtnStep({ <>
- + {l10n.getString('firmware_tool-flashbtn_step-description')} {defaultConfig?.boardConfig.type === diff --git a/gui/src/components/firmware-tool/FlashingMethodStep.tsx b/gui/src/components/firmware-tool/FlashingMethodStep.tsx index 81bdf6df9..abff15301 100644 --- a/gui/src/components/firmware-tool/FlashingMethodStep.tsx +++ b/gui/src/components/firmware-tool/FlashingMethodStep.tsx @@ -160,7 +160,7 @@ function SerialDevicesList({ {Object.keys(devices).length === 0 ? ( - + ) : ( {devices.length === 0 && ( - + )}
@@ -347,7 +347,7 @@ export function FlashingMethodStep({ <>
- + {l10n.getString('firmware_tool-flash_method_step-description')}
@@ -416,7 +416,7 @@ export function FlashingMethodStep({
- +
)} diff --git a/gui/src/components/firmware-tool/FlashingStep.tsx b/gui/src/components/firmware-tool/FlashingStep.tsx index b8fc9137e..931180baf 100644 --- a/gui/src/components/firmware-tool/FlashingStep.tsx +++ b/gui/src/components/firmware-tool/FlashingStep.tsx @@ -164,7 +164,7 @@ export function FlashingStep({ <>
- + {l10n.getString('firmware_tool-flashing_step-description')}
diff --git a/gui/src/components/firmware-tool/SelectBoardStep.tsx b/gui/src/components/firmware-tool/SelectBoardStep.tsx index f5b46f8fd..2451536ea 100644 --- a/gui/src/components/firmware-tool/SelectBoardStep.tsx +++ b/gui/src/components/firmware-tool/SelectBoardStep.tsx @@ -27,7 +27,7 @@ export function SelectBoardStep({ <>
- + {l10n.getString('firmware_tool-board_step-description')}
@@ -91,7 +91,7 @@ export function SelectBoardStep({
- +
)} diff --git a/gui/src/components/firmware-tool/SelectFirmwareStep.tsx b/gui/src/components/firmware-tool/SelectFirmwareStep.tsx index be19e875b..c9956e6e8 100644 --- a/gui/src/components/firmware-tool/SelectFirmwareStep.tsx +++ b/gui/src/components/firmware-tool/SelectFirmwareStep.tsx @@ -40,7 +40,7 @@ export function SelectFirmwareStep({ <>
- + {l10n.getString('firmware_tool-select_firmware_step-description')}
@@ -109,7 +109,7 @@ export function SelectFirmwareStep({
- +
)} diff --git a/gui/src/components/firmware-update/FirmwareUpdate.tsx b/gui/src/components/firmware-update/FirmwareUpdate.tsx index 15e0f4707..25578abf3 100644 --- a/gui/src/components/firmware-update/FirmwareUpdate.tsx +++ b/gui/src/components/firmware-update/FirmwareUpdate.tsx @@ -320,7 +320,7 @@ export function FirmwareUpdate() { - +
{devices.length === 0 && diff --git a/gui/src/components/onboarding/SkipSetupButton.tsx b/gui/src/components/onboarding/SkipSetupButton.tsx index 267f2542c..6a57c1d2f 100644 --- a/gui/src/components/onboarding/SkipSetupButton.tsx +++ b/gui/src/components/onboarding/SkipSetupButton.tsx @@ -28,8 +28,8 @@ export function SkipSetupButton({
- + {l10n.getString(statusLabel)}
diff --git a/gui/src/components/vrc/VRCWarningsPage.tsx b/gui/src/components/vrc/VRCWarningsPage.tsx index 132fddbc1..7c048b0cf 100644 --- a/gui/src/components/vrc/VRCWarningsPage.tsx +++ b/gui/src/components/vrc/VRCWarningsPage.tsx @@ -130,7 +130,7 @@ export function VRCWarningsPage() { - +
@@ -142,7 +142,7 @@ export function VRCWarningsPage() { - + - +
, }} > - + diff --git a/gui/src/components/widgets/DeveloperModeWidget.tsx b/gui/src/components/widgets/DeveloperModeWidget.tsx index c06ca99de..860c5fec2 100644 --- a/gui/src/components/widgets/DeveloperModeWidget.tsx +++ b/gui/src/components/widgets/DeveloperModeWidget.tsx @@ -75,9 +75,7 @@ export function DeveloperModeWidget() { return (
- - {l10n.getString('widget-developer_mode')} - + {l10n.getString('widget-developer_mode')}
{Object.entries(toggles).map(makeToggle)} diff --git a/gui/src/components/widgets/IMUVisualizerWidget.tsx b/gui/src/components/widgets/IMUVisualizerWidget.tsx index b753da8f6..05a39b075 100644 --- a/gui/src/components/widgets/IMUVisualizerWidget.tsx +++ b/gui/src/components/widgets/IMUVisualizerWidget.tsx @@ -128,7 +128,7 @@ export function IMUVisualizerWidget({ tracker }: { tracker: TrackerDataT }) { {tracker.position && (
- + {l10n.getString('widget-imu_visualizer-position')} {formatVector3(tracker.position, 2)} @@ -136,14 +136,14 @@ export function IMUVisualizerWidget({ tracker }: { tracker: TrackerDataT }) { )}
- + {l10n.getString('widget-imu_visualizer-rotation_raw')} {formatVector3(rotationRaw, 2)}
- + {l10n.getString('widget-imu_visualizer-rotation_preview')} {formatVector3(rotationIdent, 2)} @@ -151,7 +151,7 @@ export function IMUVisualizerWidget({ tracker }: { tracker: TrackerDataT }) { {tracker.linearAcceleration && (
- + {l10n.getString('widget-imu_visualizer-acceleration')} @@ -162,7 +162,7 @@ export function IMUVisualizerWidget({ tracker }: { tracker: TrackerDataT }) { {tracker.rawMagneticVector && (
- + {l10n.getString('tracker-infos-magnetometer')} {formatVector3(tracker.rawMagneticVector, 1)} @@ -171,7 +171,7 @@ export function IMUVisualizerWidget({ tracker }: { tracker: TrackerDataT }) { {!!tracker.stayAligned && (
- + {l10n.getString('widget-imu_visualizer-stay_aligned')} diff --git a/gui/src/components/widgets/OverlayWidget.tsx b/gui/src/components/widgets/OverlayWidget.tsx index 0a7c11335..e0be1ecf1 100644 --- a/gui/src/components/widgets/OverlayWidget.tsx +++ b/gui/src/components/widgets/OverlayWidget.tsx @@ -68,9 +68,7 @@ export function OverlayWidget() { return !loading ? (
- - {l10n.getString('widget-overlay')} - + {l10n.getString('widget-overlay')}