docs!: restructure documentation (#1445)
This commit is contained in:
1 parent
edafec20ed
commit
b2788a328b
22 files changed
+361
-372
No files matched your search
@@ -0,0 +1,33 @@
|
||||
# Usage
|
||||
|
||||
For both of the below installation methods, you will need the Stylus browser extension installed. Install [Stylus](https://github.com/openstyles/stylus) for [Chrome](https://chromewebstore.google.com/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne) or [Firefox](https://addons.mozilla.org/en-GB/firefox/addon/styl-us/). If you use Chrome, make sure to enable "Allow access to file URLs" in the Chrome extension settings for Stylus (visit `chrome://extensions/?id=clngdbkpkpeebahjckkjfobafhncgmne`).
|
||||
|
||||
> [!TIP]
|
||||
> If you use [Dark Reader](https://darkreader.org/), make sure to disable the extension on websites with Catppuccin userstyles installed to avoid conflicts.
|
||||
|
||||
## All Userstyles
|
||||
|
||||
1. Download the compiled Stylus export file, containing our recommended Stylus settings and all userstyles preloaded: [`import.json` (download)](https://github.com/catppuccin/userstyles/releases/download/all-userstyles-export/import.json).
|
||||
- Alternatively, if you want more control over what is included in the `import.json` file, e.g. all userstyles with the accent color `peach`, you can download the Stylus export file from "[All Userstyles Import Generator](https://ctp-aui.uncenter.dev/)" by [@uncenter](https://github.com/uncenter) instead.
|
||||
2. Open the Stylus "manage" page.
|
||||
3. On the sidebar panel, click the **Import** button in the **Backup** section, and select the downloaded file from step 2.
|
||||
4. Enjoy!
|
||||
|
||||
## Individual Userstyles
|
||||
|
||||
1. Enable CSP Patching from Stylus's **Settings** > **Advanced**.
|
||||
2. Install userstyles from the list below by clicking the **Stylus Install** badge in each README.
|
||||
3. Enjoy!
|
||||
|
||||
# Configuration
|
||||
|
||||
All usertyles come with three default configuration options; the light flavor, the dark flavor, and the accent color. Some userstyles may offer additional site-specific options as well.
|
||||
|
||||
## Decentralized/self-hosted applications
|
||||
|
||||
For decentralized or self-hosted applications, you can apply a theme to one or multiple instances across updates by following the instructions below.
|
||||
|
||||
1. Open the Stylus "Manage" page.
|
||||
2. Click on the userstyle's name in the list.
|
||||
3. Click on **Style settings** in the left panel.
|
||||
4. Enter the URL patterns for your instance(s) in the text box labeled **Custom included sites**. For example, to apply a userstyle to `example.org`, you would add a line with `https://example.org/*` to the textbox. The trailing asterisk applies it to all pages on the domain - without it, only the root page is themed.
|
||||
Reference in new issue
Block a user