croz-ltd/tiller

Date inputs - `highlightToday` conflicting class names

Closed this issue · 0 comments

Basic information

  • Tiller version:
    1.13.0
  • Module: date

Bug description

When enabling highlightToday prop, the look of the highlighted day is strange, with conflicting class names applied at the same time: text-primary-contrast and text-primary-dark. This causes the date to have the dark class name applied sometimes (depending on which class name is compiled first), resulting in a visually unappealing result (attached picture).

image

Expected behavior

Visually pleasing look of today's date (text-primary-contrast class name applied only) when selected and with highlightToday prop enabled on any date input.