Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
alex4401 committed Jul 26, 2023
1 parent 1412160 commit 5f3b25a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,9 @@ Manual installation:
* `$wgThemeToggleDefault`: theme that will be used by default for anonymous and new users.
* * **Changing this requires purging cache.**
* * Defaults to `auto`.
* `$wgThemeToggleSiteCssBundled`: list of themes whose CSS is bundled with the site CSS (Common.css or Vector.css).
* * **Changing this requires purging cache.**
* * Defaults to `[]`. This should be set to the default theme, or if `auto`, the preferred variant like `dark`.
* `$wgThemeTogglePreferenceGroup`: suffix to add to the preference name on this wiki. Set this on wiki-farms if user preferences are shared and you want a wiki to have a separate theme toggle.
* * Defaults to wiki ID.
* `$wgThemeToggleAsyncCoreJsDelivery`: delivers core JavaScript in a separate request, so the script can be updated separately and does not have to be downloaded on every HTML download.
* * Defaults to `true`.
* * This may cause a flash on initial load, but should be negligible later.
* `$wgThemeToggleDisableAutoDetection`: cuts away support for the `auto`matic theme detection (based on prefers-color-scheme). Only set this if you are sure you don't need automatic detection, or do not use a `light` and `dark` theme combination.
* * If `$wgThemeToggleAsyncCoreJsDelivery` is set to `false`, **changing this requires purging cache** (different JavaScript script variant).
* * Defaults to `false`.
* `$wgThemeToggleSwitcherStyle`: switcher style.
* * Defaults to `auto`.
Expand Down

0 comments on commit 5f3b25a

Please sign in to comment.