Skip to content

Commit

Permalink
fix: color of the days outside the current month
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeliatf committed Aug 8, 2024
1 parent 7b75654 commit 9159094
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/DateTimePicker/DateTimePicker.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const Template: StoryFn<typeof DateTimePickerForStory> = (args) => {
<DateTimePickerForStory
{...args}
id="expiration-datetime"
calendarStartDay={1}
dateFormat="MMMM d, yyyy h:mm aa"
onChange={(date) => setDate(date)}
selected={date}
Expand Down
4 changes: 4 additions & 0 deletions components/DateTimePicker/DateTimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ const StyledWrapper = styled('div', {
boxSizing: 'border-box',
color: '$textDefault',

'&--outside-month': {
color: '$textSubtle',
},

'&--today': {
border: '1px solid $buttonSecondaryBorder',
borderRadius: '$3',
Expand Down

0 comments on commit 9159094

Please sign in to comment.