Skip to content

Commit

Permalink
feat: new size xsmall for icons (#4694)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisalupi authored Jan 27, 2025
1 parent 2c3e3bd commit d41d0ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-flowers-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ultraviolet/icons": patch
---

icons: new size `xsmall`
1 change: 1 addition & 0 deletions packages/icons/src/components/Icon/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { forwardRef } from 'react'
import capitalize from '../../utils/capitalize'

const SIZES = {
xsmall: '150',
small: '200',
large: '250',
xlarge: '400',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { EyeIcon } from '..'

export const Size = (args: ComponentProps<typeof EyeIcon>) => (
<Stack>
<Stack direction="row" alignItems="center" gap={3}>
<EyeIcon size="xsmall" {...args} /> xsmall
</Stack>
<Stack direction="row" alignItems="center" gap={3}>
<EyeIcon size="small" {...args} /> small
</Stack>
Expand Down

0 comments on commit d41d0ff

Please sign in to comment.