generated from Seekra/repository-template
feat(color-scheme): set color scheme on body
The color scheme is now set on the document body. The reactivity is ensured by a watcher on the color scheme ref. The color CSS variables are now set on the body.
This commit is contained in:
@@ -15,6 +15,8 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
body {
|
||||
background-color: var(--light-bg);
|
||||
color: var(--dark);
|
||||
margin: 0;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user