Skip to content

Commit

Permalink
๐Ÿ’„ design: ํ…Œ๋‘๋ฆฌ๊ฐ€ ํ”ผ๊ทธ๋งˆ์™€ ๋‹ฌ๋ผ๋ณด์ด๋Š” ๋ฌธ์ œ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
bbearcookie committed Jan 24, 2024
1 parent def48f6 commit a4eaf94
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Tabs/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Primary: Story = {
<div
css={css`
padding: 1.25rem;
background-color: #94d1f5;
background-color: #8acef5;
`}
>
<Tabs {...args} />
Expand Down Expand Up @@ -70,7 +70,7 @@ export const ๋ณด๊ด€ํ•จ: Story = {
<div
css={css`
padding: 1.25rem;
background-color: #94d1f5;
background-color: #8acef5;
`}
>
<Tabs {...args} />
Expand Down
9 changes: 8 additions & 1 deletion src/components/Tabs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,22 @@ const variantStyles = {
rgb(255 255 255 / 0.7) 0%,
rgb(255 255 255 / 0.1) 100%
);
background-clip: padding-box;
`,
trigger: css`
margin: -1px;
padding: 0.75rem 1rem;
border: none;
border: 1px solid transparent;
border-radius: 0.75rem;
background: none;
color: #828282;
&:focus {
outline: none;
}
&[data-state='active'] {
border: 1px solid rgb(255 255 255 / 0.3);
background: linear-gradient(
100deg,
rgb(255 255 255 / 0.5) 6.09%,
Expand Down

0 comments on commit a4eaf94

Please sign in to comment.