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:
@@ -144,7 +144,7 @@ export function SegmentedButtons(props: SegmentedButtonsProps) {
|
||||
const innerRadius = "rounded-default"; // chips: 4px
|
||||
const outerRadius = "rounded-md"; // track: 4px + 2px = 6px
|
||||
|
||||
const sizeCls = () => props.small ? "py-0.5 px-2 text-xs" : "py-1 px-3 text-sm";
|
||||
const sizeCls = () => props.small ? "py-0.5 px-2 text-ss" : "py-1 px-3 text-sm";
|
||||
const baseCls = "inline-flex items-center justify-center gap-1.5 flex-1 cursor-pointer font-medium transition-colors whitespace-nowrap disabled:opacity-50 disabled:cursor-not-allowed";
|
||||
const activeCls = "bg-surface text-ink shadow-sm";
|
||||
const inactiveCls = "text-ink-muted hover:text-ink";
|
||||
|
||||
Reference in New Issue
Block a user