@progress/kendo-theme-bootstrap 5.0.0-beta.2 → 5.0.0-beta.3
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 +2908 -2817
- package/dist/all.scss +1762 -1529
- package/package.json +3 -3
- package/scss/chat/_variables.scss +0 -2
- package/scss/checkbox/_index.scss +1 -1
- package/scss/checkbox/_variables.scss +2 -8
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/combobox/_variables.scss +1 -31
- package/scss/fab/_theme.scss +51 -56
- package/scss/fab/_variables.scss +128 -72
- package/scss/fab/index.md +0 -0
- package/scss/grid/_variables.scss +7 -7
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +1 -0
- package/scss/input/_variables.scss +3 -3
- package/scss/list/_index.scss +1 -0
- package/scss/list/_theme.scss +0 -20
- package/scss/listbox/_variables.scss +1 -1
- package/scss/menu/_theme.scss +0 -10
- package/scss/menu/_variables.scss +13 -1
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/radio/_index.scss +1 -1
- package/scss/radio/_variables.scss +2 -8
- package/scss/table/_variables.scss +5 -5
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/treeview/_layout.scss +6 -14
- package/scss/treeview/_variables.scss +32 -49
- 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/README.md
CHANGED
|
@@ -46,7 +46,7 @@ You can customize Kendo UI Bootstrap Theme both in terms of what gets compiled a
|
|
|
46
46
|
|
|
47
47
|
### Importing
|
|
48
48
|
|
|
49
|
-
In your custom
|
|
49
|
+
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:
|
|
50
50
|
|
|
51
51
|
```scss
|
|
52
52
|
// Import only PanelBar and Grid styles
|
|
@@ -56,9 +56,9 @@ In your custom csss file, you can import the entirety of the theme, by importing
|
|
|
56
56
|
|
|
57
57
|
### SCSS Variables
|
|
58
58
|
|
|
59
|
-
Kendo UI Bootstrap 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`, `$
|
|
59
|
+
Kendo UI Bootstrap 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.
|
|
60
60
|
|
|
61
|
-
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
|
|
61
|
+
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.
|
|
62
62
|
|
|
63
63
|
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.
|
|
64
64
|
|
|
@@ -68,9 +68,6 @@ Here is a quick example on how to customize:
|
|
|
68
68
|
// Make all inputs components with a different background color
|
|
69
69
|
$input-bg: #f0f0f0;
|
|
70
70
|
|
|
71
|
-
// Change just the autocomplete to have white background
|
|
72
|
-
$autocomplete-bg: #ffffff;
|
|
73
|
-
|
|
74
71
|
// Make the border of the grid black and slightly ticker
|
|
75
72
|
$grid-border-width: 2px;
|
|
76
73
|
$grid-border: #000000;
|
|
@@ -91,7 +88,7 @@ CSS can be complicated due to cascades (that's what C stands for). If there are
|
|
|
91
88
|
|
|
92
89
|
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.
|
|
93
90
|
|
|
94
|
-
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
|
|
91
|
+
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:
|
|
95
92
|
|
|
96
93
|
```css
|
|
97
94
|
*, ::after, ::before {
|
|
@@ -115,7 +112,7 @@ Have a bug or a feature request? Please first search for existing and closed iss
|
|
|
115
112
|
|
|
116
113
|
## Versioning
|
|
117
114
|
|
|
118
|
-
To ensure version predictability, we use [Semantic Versioning](https://semver.org/): we try to add only
|
|
115
|
+
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.
|
|
119
116
|
|
|
120
117
|
## License
|
|
121
118
|
|