Skip to content

Commit

Permalink
fix(ButtonPrimitive): do not force icon sizes in children
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Dec 11, 2023
1 parent effcac7 commit 20449d7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { Size } from "./types";

export const sizeStyles: Record<Size, string> = {
small: "h-form-box-small text-small [&_svg]:h-icon-small [&_svg]:w-icon-small",
normal: "h-form-box-normal text-normal [&_svg]:h-icon-medium [&_svg]:w-icon-medium",
large: "h-form-box-large text-large [&_svg]:h-icon-large [&_svg]:w-icon-large",
small: "h-form-box-small text-small",
normal: "h-form-box-normal text-normal",
large: "h-form-box-large text-large",
};

export const paddingNoIconsStyles: Record<Size, string> = {
Expand Down

0 comments on commit 20449d7

Please sign in to comment.