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 8247324 commit 5b865ae
Showing 1 changed file with 3 additions and 3 deletions.
@@ -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 5b865ae

Please sign in to comment.