vaadin / vaadin-date-picker

The Web Component providing a date selection field with scrollable month calendar. Part of the Vaadin components.
https://vaadin.com/components
Apache License 2.0
165 stars 78 forks source link

DatePicker-Overlay button (today, cancel) should have assigned theme tertiary #734

Closed eforest closed 4 years ago

eforest commented 4 years ago

Description

DatePicker-Overlay button (today, cancel) should have assigned theme tertiary. Instead there's a workaround in vaadin-date-picker-overlay-content-styles.js that tries to mimick that theme.
Unfortunately that (can) cause invisible buttons in case "background-color: transparent" is not "compatible" with default button theme. (look for comment: / TODO: Would be great if I could apply the "tertiary" theme from here instead of copying those styles /)

Expected outcome

today-button / cancel-button should have assigned theme tertiary and therefore get styled accordingly

Actual outcome

In my case today-button / cancel-button are completely transparent.

Browsers Affected