@new-ui/colors 1.2.1-beta.2 → 1.2.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 +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,10 +14,18 @@ To get started quickly, you can use the CDN files.
14
14
  ```html
15
15
  <!-- Place this at the html head -->
16
16
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@new-ui/colors@<version>/dist/index.css">
17
+ ```
18
+
19
+ ## Usage
17
20
 
21
+ ```scss
22
+ // Place this at the top of your SCSS/CSS file
23
+ @import "@new-ui/colors";
24
+ ```
25
+
26
+ ```html
18
27
  <!-- Add this attribute to html wrapper -->
19
28
  <html data-new-ui-theme="light">
20
- ...
21
29
  ```
22
30
 
23
31
  ### Available themes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@new-ui/colors",
3
- "version": "1.2.1-beta.2",
3
+ "version": "1.2.2",
4
4
  "description": "Colors are now one less thing to worry about.",
5
5
  "source": "src/index.scss",
6
6
  "main": "dist/index.css",