mirror of
https://github.com/zadam/trilium.git
synced 2026-02-09 16:06:56 +01:00
Adjust theme development docu
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Creating an icon pack
|
||||
> [!NOTE]
|
||||
> e This page describes how to create custom icon packs. For a general description of how to use already existing icon packs, see <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Themes/Icon%20Packs.md">Icon Packs</a>.
|
||||
> This page describes how to create custom icon packs. For a general description of how to use already existing icon packs, see <a class="reference-link" href="../Basic%20Concepts%20and%20Features/Themes/Icon%20Packs.md">Icon Packs</a>.
|
||||
|
||||
## Supported formats
|
||||
|
||||
@@ -49,7 +49,7 @@ The icon pack manifest is a JSON file with the following structure:
|
||||
"bx-ball": {
|
||||
"glyph": "\ue9c2",
|
||||
"terms": [ "ball" ]
|
||||
},
|
||||
},
|
||||
"bxs-party": {
|
||||
"glyph": "\uec92"
|
||||
"terms": [ "party" ]
|
||||
|
||||
@@ -12,10 +12,10 @@ The `appThemeBase` label can be set to one of the following values:
|
||||
|
||||
## Overrides
|
||||
|
||||
Do note that the TriliumNext theme has a few more overrides than the legacy theme, so you might need to suffix `!important` if the style changes are not applied.
|
||||
Do note that the TriliumNext theme has a few more overrides than the legacy theme. Due to that, it is recommended to use `#trilium-app` with a next theme instead of the `:root` of a legacy theme.
|
||||
|
||||
```css
|
||||
:root {
|
||||
--launcher-pane-background-color: #0d6efd !important;
|
||||
#trilium-app {
|
||||
--launcher-pane-background-color: #0d6efd;
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user