@clr/angular 16.0.0-beta.1 → 16.0.0-beta.2

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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -41,3 +41,14 @@
41
41
  ```scss
42
42
  @use '@clr/ui/clr-ui.min.css';
43
43
  ```
44
+
45
+ **Note**: The above instructions represent the best practice for Clarity Design System. For information about accommodating legacy themes, see the Legacy Styles section in the @clr/ui package.
46
+
47
+ 4. Set the Theme
48
+ Add the `cds-theme=”light”` attribute to the body element in your main HTML file:
49
+
50
+ ```
51
+ <body cds-theme="light" />
52
+ ```
53
+
54
+ You can toggle to dark theme by setting cds-theme="dark".
package/package.json CHANGED
@@ -21,8 +21,8 @@
21
21
  "@angular/cdk": "15 || 16",
22
22
  "@angular/common": "15 || 16",
23
23
  "@angular/core": "15 || 16",
24
- "@cds/core": ">= 6.6.0",
25
- "@clr/ui": "16.0.0-beta.1"
24
+ "@cds/core": ">= 6.6.2",
25
+ "@clr/ui": "16.0.0-beta.2"
26
26
  },
27
27
  "module": "fesm2015/clr-angular.mjs",
28
28
  "es2020": "fesm2020/clr-angular.mjs",
@@ -47,5 +47,5 @@
47
47
  "dependencies": {
48
48
  "tslib": "^2.3.0"
49
49
  },
50
- "version": "16.0.0-beta.1"
50
+ "version": "16.0.0-beta.2"
51
51
  }