Reverted text-xs override. text-ss replaces the text-xs override while tailwind's existing text-xs replaces our text-2xs.
This commit is contained in:
@@ -55,7 +55,7 @@ export function ToggleSwitch(props: ToggleSwitchProps) {
|
||||
class={"text-sm select-none " + (isDisabled() ? "text-ink-faint" : "text-ink")}
|
||||
onclick={(_e: MouseEvent) => toggle()}
|
||||
>{resolve(props.label)}</span>}
|
||||
{props.description !== undefined && <span class="text-xs text-ink-muted">{resolve(props.description)}</span>}
|
||||
{props.description !== undefined && <span class="text-ss text-ink-muted">{resolve(props.description)}</span>}
|
||||
</div>}
|
||||
</div>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user