Skip to content

Commit

Permalink
Form element height fixes. (#136)
Browse files Browse the repository at this point in the history
* Form element height fixes.

* updating to latest variables.
  • Loading branch information
gjones authored Sep 13, 2023
1 parent 5f4e91e commit eb05fec
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/components/IconButton/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(
>
<Icon
name={icon}
size="md"
size="sm"
/>
</Button>
);
Expand Down
5 changes: 4 additions & 1 deletion src/components/SplitButton/SplitButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ export const SplitButton = ({
data-testid="split-button-dropdown"
>
<span>
<Icon name="chevron-down" />
<Icon
name="chevron-down"
size="sm"
/>
</span>
</SecondaryButton>
</SplitButtonTrigger>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.classic.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
"color": {
"background": {
"default": "lch(100 0 0)",
"hover": "lch(97.4 1.45 272)",
"hover": "lch(97.4 1.44 272)",
"active": "lch(95.3 1.54 272)",
"panel": "lch(100 0 0)"
},
Expand Down
2 changes: 1 addition & 1 deletion src/styles/variables.dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
"color": {
"background": {
"default": "lch(18.2 0 0)",
"hover": "lch(22.4 0 0)",
"hover": "lch(22.8 0 0)",
"active": "#414141",
"panel": "lch(18.2 0 0)"
},
Expand Down
22 changes: 11 additions & 11 deletions src/styles/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
"basic": {
"space": {
"x": "1rem",
"y": "0.344rem",
"y": "0.281rem",
"gap": "0.5rem",
"group": "0.5rem"
},
Expand Down Expand Up @@ -399,8 +399,8 @@
"iconButton": {
"default": {
"space": {
"x": "0.5rem",
"y": "0.5rem"
"x": "0.438rem",
"y": "0.438rem"
}
},
"size": {
Expand Down Expand Up @@ -499,7 +499,7 @@
"split": {
"icon": {
"space": {
"y": "0.516rem",
"y": "0.438rem",
"x": "0.344rem"
}
},
Expand Down Expand Up @@ -561,10 +561,10 @@
},
"color": {
"background": {
"default": "lch(91.8 1.07 266)",
"hover": "lch(97.4 1.45 272)",
"default": "lch(94.5 0.72 266)",
"hover": "lch(97.4 1.44 272)",
"active": "#ffffff",
"panel": "lch(91.8 1.07 266)"
"panel": "lch(94.5 0.72 266)"
},
"text": {
"default": "#161517",
Expand Down Expand Up @@ -1002,7 +1002,7 @@
},
"space": {
"x": "0.75rem",
"y": "0.344rem",
"y": "0.281rem",
"gap": "0.5rem"
},
"size": {
Expand Down Expand Up @@ -1402,7 +1402,7 @@
"default": {
"space": {
"right": "0.75rem",
"y": "0.344rem",
"y": "0.281rem",
"gap": "0.75rem",
"left": "0"
}
Expand Down Expand Up @@ -1430,7 +1430,7 @@
"space": {
"left": "0",
"right": "0.75rem",
"y": "0.344rem",
"y": "0.281rem",
"gap": "0.75rem"
}
},
Expand All @@ -1454,7 +1454,7 @@
"space": {
"left": "2.75rem",
"right": "0.75rem",
"y": "0.344rem"
"y": "0.281rem"
}
},
"mobile": {
Expand Down
6 changes: 3 additions & 3 deletions src/styles/variables.light.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,10 @@
"group": {
"color": {
"background": {
"default": "lch(91.8 1.07 266)",
"hover": "lch(97.4 1.45 272)",
"default": "lch(94.5 0.72 266)",
"hover": "lch(97.4 1.44 272)",
"active": "#ffffff",
"panel": "lch(91.8 1.07 266)"
"panel": "lch(94.5 0.72 266)"
},
"text": {
"default": "#161517",
Expand Down

1 comment on commit eb05fec

@vercel
Copy link

@vercel vercel bot commented on eb05fec Sep 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

click-ui – ./

click-ui.vercel.app
click-ui-git-main-clickhouse.vercel.app
click-ui-clickhouse.vercel.app

Please sign in to comment.