@progress/kendo-theme-fluent 5.8.2-dev.2 → 5.8.2-dev.4

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 CHANGED
@@ -30,7 +30,7 @@ and then import it in your project styles:
30
30
 
31
31
  ```scss
32
32
  // Import the entire theme
33
- @import "~@progress/kendo-theme-fluent/dist/all.scss";
33
+ @use "~@progress/kendo-theme-fluent/scss/all.scss";
34
34
  ```
35
35
 
36
36
  ## Customizing
@@ -39,12 +39,19 @@ You can customize Kendo UI Fluent Theme both in terms of what gets compiled and
39
39
 
40
40
  ### Importing
41
41
 
42
- 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:
42
+ In your custom scss file, you can import the entirety of the theme, by importing `scss/all.scss` or pick just the styles for the components you need. The files for individual components:
43
43
 
44
44
  ```scss
45
- // Import only PanelBar and Grid styles
46
- @import "~@progress/kendo-theme-fluent/scss/panelbar/_index.scss";
47
- @import "~@progress/kendo-theme-fluent/scss/grid/_index.scss";
45
+ // Import only Button and Grid styles
46
+ @use "~@progress/kendo-theme-fluent/scss/index.scss" as kendo-theme;
47
+
48
+ @include kendo-theme.config(
49
+ $components: (
50
+ "button",
51
+ "grid"
52
+ )
53
+ );
54
+ @include kendo-theme.styles();
48
55
  ```
49
56
 
50
57
  ## Bug reports and feature requests