@progress/kendo-theme-classic 5.0.0-beta.1 → 5.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -8
- package/dist/all.css +2426 -2156
- package/dist/all.scss +3267 -2890
- package/package.json +3 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/button/_variables.scss +60 -32
- package/scss/card/_variables.scss +4 -4
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +2 -1
- package/scss/checkbox/_variables.scss +65 -74
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_variables.scss +12 -12
- package/scss/color-preview/_variables.scss +1 -0
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/colorpicker/_index.scss +1 -2
- package/scss/colorpicker/_variables.scss +1 -20
- package/scss/combobox/_variables.scss +1 -31
- package/scss/dateinput/_index.scss +0 -4
- package/scss/dateinput/_variables.scss +1 -1
- package/scss/datepicker/_index.scss +1 -3
- package/scss/datetimepicker/_index.scss +5 -3
- package/scss/datetimepicker/_variables.scss +2 -1
- package/scss/fab/_variables.scss +129 -72
- package/scss/fab/index.md +0 -0
- package/scss/filter/_index.scss +1 -1
- package/scss/gantt/_index.scss +1 -1
- package/scss/grid/_index.scss +1 -1
- package/scss/grid/_variables.scss +7 -7
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +2 -1
- package/scss/input/_variables.scss +16 -26
- package/scss/list/_index.scss +1 -0
- package/scss/list/_variables.scss +19 -19
- package/scss/listbox/_variables.scss +1 -1
- package/scss/menu/_variables.scss +56 -46
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pager/_variables.scss +1 -1
- package/scss/panelbar/_variables.scss +5 -0
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_variables.scss +0 -3
- package/scss/radio/_index.scss +1 -1
- package/scss/radio/_variables.scss +71 -90
- package/scss/scheduler/_index.scss +1 -1
- package/scss/spreadsheet/_index.scss +1 -1
- package/scss/table/_variables.scss +15 -15
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/timepicker/_index.scss +3 -3
- package/scss/timepicker/_variables.scss +1 -1
- package/scss/{datetime → timeselector}/_index.scss +2 -5
- package/scss/timeselector/_layout.scss +1 -0
- package/scss/timeselector/_theme.scss +1 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/treeview/_variables.scss +125 -46
- package/scss/typography/_variables.scss +3 -3
- package/scss/utils/_border.scss +1 -2
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +1 -0
- package/scss/virtual-scroller/_theme.scss +1 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/datetime/_layout.scss +0 -1
- package/scss/datetime/_theme.scss +0 -1
- package/scss/datetime/_variables.scss +0 -53
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ You can customize Kendo UI Classic Theme both in terms of what gets compiled and
|
|
|
44
44
|
|
|
45
45
|
### Importing
|
|
46
46
|
|
|
47
|
-
In your custom
|
|
47
|
+
In your custom scss file, you can import the entirety of the theme, by importing `dist/all.scss` or pick just the styles for the components you need. The files for individual components are in `scss/` folder:
|
|
48
48
|
|
|
49
49
|
```scss
|
|
50
50
|
// Import only PanelBar and Grid styles
|
|
@@ -54,9 +54,9 @@ In your custom csss file, you can import the entirety of the theme, by importing
|
|
|
54
54
|
|
|
55
55
|
### SCSS Variables
|
|
56
56
|
|
|
57
|
-
Kendo UI Classic Theme provides many variables for customization. There are variables that control globally used theme colors like `$primary`, `$secondary`, `$success`, `$error` etc.; variables for all components such as `$component-text`, `$component-bg`; as well as variables for individual components such as `$grid-bg`, `$
|
|
57
|
+
Kendo UI Classic Theme provides many variables for customization. There are variables that control globally used theme colors like `$primary`, `$secondary`, `$success`, `$error` etc.; variables for all components such as `$component-text`, `$component-bg`; as well as variables for individual components such as `$grid-bg`, `$tabstrip-font-size` and so on.
|
|
58
58
|
|
|
59
|
-
Most component variables link to higher abstracted generic variables. For instance, the background of the grid component can be customized both from `$component-bg` and `$grid-bg`, with the latter
|
|
59
|
+
Most component variables link to higher abstracted generic variables. For instance, the background of the grid component can be customized both from `$component-bg` and `$grid-bg`, with the latter referencing the former.
|
|
60
60
|
|
|
61
61
|
We have more than 2000 variables, so it's hard to list them all. We've tried to make variable names as coherent as possible. For instance, all variables ending in `-bg` control background color; all variables ending in `-text` control text color.
|
|
62
62
|
|
|
@@ -66,9 +66,6 @@ Here is a quick example on how to customize:
|
|
|
66
66
|
// Make all inputs components with a different background color
|
|
67
67
|
$input-bg: #f0f0f0;
|
|
68
68
|
|
|
69
|
-
// Change just the autocomplete to have white background
|
|
70
|
-
$autocomplete-bg: #ffffff;
|
|
71
|
-
|
|
72
69
|
// Make the border of the grid black and slightly ticker
|
|
73
70
|
$grid-border-width: 2px;
|
|
74
71
|
$grid-border: #000000;
|
|
@@ -89,7 +86,7 @@ CSS can be complicated due to cascades (that's what C stands for). If there are
|
|
|
89
86
|
|
|
90
87
|
To avoid that, we've prefixed all our class names with `k-` e.g. `k-grid`, `k-hidden` etc., with the exception of handling for `hidden` attribute, which will hide the element that has it.
|
|
91
88
|
|
|
92
|
-
Some frameworks, like Bootstrap and Tailwind, touch global styles to establish a sort of baseline -- we call that normalizing. One such styles is the following bit, which makes
|
|
89
|
+
Some frameworks, like Bootstrap and Tailwind, touch global styles to establish a sort of baseline -- we call that normalizing. One such styles is the following bit, which makes dimensions (width and height) behave in a specific way:
|
|
93
90
|
|
|
94
91
|
```css
|
|
95
92
|
*, ::after, ::before {
|
|
@@ -112,7 +109,7 @@ Have a bug or a feature request? Please first search for existing and closed iss
|
|
|
112
109
|
|
|
113
110
|
## Versioning
|
|
114
111
|
|
|
115
|
-
To ensure version predictability, we use [Semantic Versioning](https://semver.org/): we try to add only
|
|
112
|
+
To ensure version predictability, we use [Semantic Versioning](https://semver.org/): we try to add only features for minor versions and bugfixes (or smaller features) for patch version.
|
|
116
113
|
## License
|
|
117
114
|
|
|
118
115
|
This package is part of the following suites:
|