Skip to content

Commit

Permalink
fix(tab-slider): item font size and family
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Aug 28, 2023
1 parent 1b15e80 commit c7a3a4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/components/tab-slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ const defaultTabSliderConfig = {
item: {
notActiveText: 'muted-400',
activeText: 'white',
fontSize: 'sm',
fontFamily: 'sans',
},
naver: {
bg: 'primary-500',
Expand Down Expand Up @@ -62,6 +64,8 @@ export default plugin.withOptions(
[`.${prefix}tab-slider-item`]: {
[`@apply relative z-20 flex h-full flex-1 items-center justify-center`]:
{},
[`@apply text-${config.item.fontSize} font-${config.item.fontFamily}`]:
{},

[`&:not(.${prefix}active)`]: {
[`@apply text-${config.item.notActiveText}`]: {},
Expand Down

0 comments on commit c7a3a4f

Please sign in to comment.