chore: Update callouts style for better readability

This commit is contained in:
mauro 🤙 2024-08-19 09:38:01 +00:00
parent 10cfd4284f
commit 904fd52db9

View file

@ -39,4 +39,30 @@ In the theme's CSS file, you can use the preference to change the background col
This settings will appear on the preferences page of the theme in the Zen Browser settings. Users can enable or disable the preference to change the background color of the browser.
> [!info]
> Note: Other values such as strings or numbers may be supported in the future. For now, only booleans are supported.
> Note: Other values such as strings or numbers may be supported in the future. For now, only booleans are supported.
# Operating system specific settings
Some preferences may require to be available only for some operating systems. For example, imagine you want an extension that hides the window's apllication buttons (minimize, maximize, close) on Windows and linux but not on macOS, because macos doesn't provide a way to clear them individually. You can use a prefix to specify the operating system the preference is available for.
The prefix is the operating system name in lowercase, followed by a `:`.
> [!info]
> If you want to use a negative condition, you can use the `!` character before the operating system name.
Here's an example of a preference that is only available on Windows and Linux:
```json
{
"!macos:uc.theme.hide-window-close.enabled": "Hide window close button",
...
}
```
or for another example:
```json
{
"windows:uc.theme.change-this-only-for-windows.enabled": "Change this only for Windows",
}
```