This is a migrated thread and some comments may be shown as answers.

Calendar/Date Pickers component is unaffected by the theme accent color.

1 Answer 40 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Petri
Top achievements
Rank 1
Petri asked on 01 Mar 2019, 08:08 AM

When changing the accent color of a theme the color of the date picker does not change.

https://demos.telerik.com/kendo-ui/themebuilder/

How does one change the color of the Date Picker?

 

I've tried setting the colors manually through css with the attached code but some lines stay red.

 

.k-calendar .k-header{
    background-color: #448dcb !important;
}
.k-state-focused {
    border-color: #448dcb !important;
}
  
.k-state-active {
    background-color: #448dcb !important;
    border-color: #448dcb !important;
}
  
.k-calendar .k-input .k-picker-wrap .k-state-focused {
    border-color: #448dcb !important;
}

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 06 Mar 2019, 09:00 AM
Hello Petri,

This is a bug with the Less ThemeBuilder, and I logged it here:
To set the colors manually, use CSS similar to:

<style>
  .k-calendar td.k-state-selected .k-link {
    background-color: #ee3a43;
    border-color: #E80033;
  }
</style>


Regards,
Preslav
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Date/Time Pickers
Asked by
Petri
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or