You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default theme uses background-clip: padding-box in a lot of places, which is subsequently reverted to border-box, due to telerik/kendo-theme-default#196. This makes it difficult to reuse the theme styles in derived themes, since these styles are not always necessary, but cannot be suppressed. Furthermore, these styles are sometimes the only difference between the default and a derived theme.
Expected behavior
Improved reuse of the theme CSS. The issue is marked as "Epic" not only because the code change involves the whole Default theme, but also because this can be leveraged to reuse the _theme.scss files in Bootstrap/Material as well.
Possible resoltion
Instead of outputting the property values directly, add a mixin that outputs them based on a variable. This will allow the background-clip styles to be suppressed in derived themes. For a rough example:
The text was updated successfully, but these errors were encountered:
gyoshev
added
Enhancement
New feature of an existing functionality or an improvement of an existing functionality.
Epic
A non-trivial issue that resolves large-scale problems
labels
Dec 21, 2018
I'm submitting a...
Current behavior
The default theme uses
background-clip: padding-box
in a lot of places, which is subsequently reverted toborder-box
, due to telerik/kendo-theme-default#196. This makes it difficult to reuse the theme styles in derived themes, since these styles are not always necessary, but cannot be suppressed. Furthermore, these styles are sometimes the only difference between the default and a derived theme.Expected behavior
Improved reuse of the theme CSS. The issue is marked as "Epic" not only because the code change involves the whole Default theme, but also because this can be leveraged to reuse the _theme.scss files in Bootstrap/Material as well.
Possible resoltion
Instead of outputting the property values directly, add a mixin that outputs them based on a variable. This will allow the
background-clip
styles to be suppressed in derived themes. For a rough example:The text was updated successfully, but these errors were encountered: