You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,17 @@ Configures what state of the toggle button should be shown to the user.
78
78
-`currentState` - Shows the state that is currently applied to the website.
79
79
-`newState` - Shows the state that will be applied when the user clicks the button.
80
80
81
+
## Customize Dark Mode
82
+
83
+
You can exclude elements from being inverted in dark mode using the `.nightowl-daylight` CSS class. Just add it to an element and it will show the element in the same way as the light mode.
84
+
85
+
```html
86
+
<div>
87
+
<p>I'm inverted in Dark Mode</p>
88
+
<pclass="nightowl-daylight">I'm not inverted in Dark Mode</p>
89
+
</div>
90
+
```
91
+
81
92
## Contribution Guidelines
82
93
83
94
Please open an issue and wait for one of the Maintainers to approve it until you open a merge request.
0 commit comments