Skip to content

Commit

Permalink
Merge pull request #317 from WestpacGEL/fixes/datepicker-font-weight-…
Browse files Browse the repository at this point in the history
…strokethrough

fixes/datepicker font weight disabled styling
  • Loading branch information
kenjishiromajp authored Nov 21, 2023
2 parents 138879d + 685db4d commit 3c7a066
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const generateDatePicker = () => {
},
},
'.duet-date__table-header': {
'@apply font-bold': {},
'@apply font-semibold': {},
},
'.duet-date__prev, .duet-date__next': {
'@apply bg-background focus:focus-outline !outline-offset-0 text-primary': {},
Expand All @@ -93,7 +93,8 @@ export const generateDatePicker = () => {
'@apply !shadow-primary !text-text !bg-primary/5 !border !border-solid !border-primary': {},
},
'&.is-disabled': {
'@apply line-through': {},
'@apply hover:!bg-[transparent] after:absolute after:z-[1] after:top-1/2 after:left-1/2 after:border after:border-t-0 after:border-x-0 after:border-muted after:w-3 after:h-0 after:-translate-x-1/2':
{},
},

"&[aria-pressed='true']": {
Expand Down

0 comments on commit 3c7a066

Please sign in to comment.