@aiursoft/autodark.js 1.0.3 → 1.0.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 +13 -0
- package/dist/css/autodark.min.css +1 -1
- package/dist/css/autodark.min.css.map +1 -1
- package/package.json +1 -1
- package/src/autodark.scss +2 -2
package/README.md
CHANGED
|
@@ -37,6 +37,19 @@ const { autoTheme } = require('@aiursoft/autodark.js')
|
|
|
37
37
|
autoTheme()
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
### Reference CSS
|
|
41
|
+
|
|
42
|
+
You also need to reference the CSS file in your HTML:
|
|
43
|
+
|
|
44
|
+
```html
|
|
45
|
+
<link
|
|
46
|
+
rel="stylesheet"
|
|
47
|
+
href="./node_modules/@aiursoft/autodark.js/dist/css/autodark.min.css"
|
|
48
|
+
/>
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
You don't need to reference bootstrap's CSS file. The auto dark library is based on bootstrap's CSS file.
|
|
52
|
+
|
|
40
53
|
## How to build locally
|
|
41
54
|
|
|
42
55
|
```bash
|