Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,22 @@ Everything is a CSS variable. Override on `:root` (or a scope) to customize:

<!-- prettier-ignore -->
```html
<html data-theme="dark"> <!-- force dark -->
<html data-theme="light"> <!-- force light -->
<html> <!-- follows the OS setting -->
<html data-theme="dark">
<!-- force dark -->
<html data-theme="light">
<!-- force light -->
<html>
<!-- follows the OS setting -->
</html>
</html>
</html>
```

**RTL** — set the document direction; all components use logical properties:

<!-- prettier-ignore -->
```html
<html dir="rtl" lang="ar">
<html dir="rtl" lang="ar"></html>
```

**Make your own style** — add a token block, no component edits:
Expand Down
Loading