svelte-os-themes 0.0.13 → 0.0.14

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 +12 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -75,43 +75,43 @@ npm install svelte-os-themes
75
75
 
76
76
  The default theme to use when no theme is set in storage.
77
77
 
78
- _accepted values:_ `'light'`, `'dark'`, `'system'`<br/>
79
- _default value:_ `'system'`
78
+ accepted values: `'light'`, `'dark'`, `'system'`<br/>
79
+ default value: `'system'`
80
80
 
81
81
  - `attribute`
82
82
 
83
83
  The attribute to set on the `html` element.
84
84
 
85
- _accepted values:_ `'class'`, `'data-<string>'`<br/>
86
- _default value:_ `'class'`
85
+ accepted values: `'class'`, `'data-<string>'`<br/>
86
+ default value: `'class'`
87
87
 
88
88
  - `storageKey`
89
89
 
90
90
  The key to use when storing the theme in `localStorage`.
91
91
 
92
- _accepted values:_ `<string>`<br/>
93
- _default value:_ `'theme'`
92
+ accepted values: `<string>`<br/>
93
+ default value: `'theme'`
94
94
 
95
95
  - `system`
96
96
 
97
97
  Whether to change theme when os theme changes.
98
98
 
99
- _accepted values:_ `true`, `false`<br/>
100
- _default value:_ `true`
99
+ accepted values: `true`, `false`<br/>
100
+ default value: `true`
101
101
 
102
102
  - `colorScheme`
103
103
 
104
104
  Whether to add/update the `html`'s `color-scheme`.
105
105
 
106
- _accepted values:_ `true`, `false`<br/>
107
- _default value:_ `true`
106
+ accepted values: `true`, `false`<br/>
107
+ default value: `true`
108
108
 
109
109
  - `nonce`
110
110
 
111
111
  The nonce to use for script.
112
112
 
113
- _accepted values:_ `<string>`<br/>
114
- _default value:_
113
+ accepted values: `<string>`<br/>
114
+ default value:
115
115
 
116
116
  ### useTheme
117
117
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "svelte-os-themes",
3
3
  "type": "module",
4
4
  "license": "MIT",
5
- "version": "0.0.13",
5
+ "version": "0.0.14",
6
6
  "svelte": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {