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: docs/themes.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,20 +14,25 @@ The Docsify "core" theme contains all of the styles and [theme properties](#them
14
14
15
15
Theme add-ons are used in combination with the [core theme](#core-theme). Add-ons contain CSS rules that modify [theme properties](#theme-properties) values and/or add custom style declarations. They can often (but not always) be used with other add-ons.
16
16
17
+
Theme add-ons can be applied conditionally using an `@media` attribute. This allows applying styles only at specific screen sizes, when light or dark mode is being used, when a device is touch enabled, etc.
18
+
17
19
!> Theme add-ons must be loaded after the [core theme](#core-theme).
Dark mode styles for the [core theme](#core-theme). Styles can applied only when an operating system's dark mode is active by specifying a `media` attribute.
35
+
Dark styles for the [core theme](#core-theme).
31
36
32
37
<label>
33
38
<input
@@ -53,13 +58,13 @@ Dark mode styles for the [core theme](#core-theme). Styles can applied only when
0 commit comments