Skip to content

Commit

Permalink
Remove style.css from Tag component - unneeded
Browse files Browse the repository at this point in the history
  • Loading branch information
corbanbrook committed Dec 30, 2024
1 parent 8e1d0bb commit b8a193c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 21 deletions.
11 changes: 7 additions & 4 deletions src/components/Tag/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
import { Text } from '~/components/Text'
import { IconProps } from '~/icons/types'

import { tagStyle } from './styles.css'

type TagProps = {
label: string
icon?: ComponentType<IconProps>
Expand All @@ -25,14 +23,19 @@ export const Tag: PolymorphicComponent<TagProps, 'div'> = forwardRef(

return (
<Box
className={tagStyle}
ref={ref}
background="buttonGlass"
borderRadius="xs"
display="inline-flex"
gap="1"
paddingX="2"
paddingY="1"
whiteSpace="nowrap"
color="text80"
{...rest}
>
{Icon && <Icon size="xs" />}
<Text>{label}</Text>
<Text variant="xsmall">{label}</Text>
</Box>
)
}
Expand Down
17 changes: 0 additions & 17 deletions src/components/Tag/styles.css.ts

This file was deleted.

0 comments on commit b8a193c

Please sign in to comment.