Skip to content
This repository was archived by the owner on Feb 3, 2024. It is now read-only.

Commit b99c7cd

Browse files
committed
improve docs
1 parent ee4073d commit b99c7cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Perfect color mode implementation.
1717

1818
Include `dist/index.js` in the `<head>` tag of your website.
1919

20-
A class indicating the color mode will be added to `<html>`/the root (e.g. `dark` or `light`).
20+
A class indicating the color mode will be added to `<html>` (e.g. `dark` or `light`).
21+
This is done before the rest of your page is rendered (that's why it needs to be in head).
2122

2223
To style your color modes you can use CSS variables, e.g.
2324

0 commit comments

Comments
 (0)