Skip to content

Commit 2a79316

Browse files
committed
Add icon sizes
1 parent a040a3b commit 2a79316

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

site/src/components/DropdownMenu/DropdownMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,5 +234,5 @@ export const DropdownMenuButton = forwardRef<
234234
DropdownMenuButton.displayName = "DropdownMenuButton";
235235

236236
export const DropdownMenuChevronDown: FC = () => {
237-
return <ChevronDownIcon className="text-content-primary" />;
237+
return <ChevronDownIcon className="text-content-primary !size-icon-xs" />;
238238
};

site/tailwind.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ module.exports = {
88
important: ["#root", "#storybook-root"],
99
theme: {
1010
extend: {
11+
size: {
12+
"icon-lg": "1.5rem",
13+
"icon-sm": "1.125rem",
14+
"icon-xs": "0.875rem",
15+
},
1116
fontSize: {
1217
"2xs": ["0.625rem", "0.875rem"],
1318
sm: ["0.875rem", "1.5rem"],

0 commit comments

Comments
 (0)