Skip to content

Commit

Permalink
content: usage: advanced: diagram theme styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ES-Alexander committed Dec 17, 2024
1 parent d7ec9bc commit d864641
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions content/usage/advanced/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -782,15 +782,15 @@ together with the theme file that created it:

{% end %}

{{ easy_image(src="theme-style", width=600, class="pirate") }}
{{ easy_image(src="theme-style-main", width=600, class="pirate") }}

{% pirate() %}
```css
:root {
--v-primary-base: #CAB1E5 !important; /* sidebar highlights, submit buttons */
--v-info-base: #BA55E5 !important; /* info boxes (often same as primary base) */
--v-warning-base: #EDD1E5 !important; /* warnings and skip buttons */
--v-error-base: #AC1D1C !important; /* notifications, pirate icons, cancel/delete buttons */
--v-error-base: #AC1D1C !important; /* notifications, pirate icons, negative buttons */
--v-anchor-base: #5A11ED !important; /* hyperlinks */
}

Expand Down Expand Up @@ -822,6 +822,24 @@ header.dark-background-glass {
-webkit-backdrop-filter: blur(10px) !important;
}
```

The explanatory diagram colours are also configurable `(New in 1.4)`:
{% end %}

{{ easy_image(src="theme-style-diagrams", width=600, class="pirate") }}

{% pirate() %}
```css
:root {
--v-water-base: #AC2317 !important;
--v-negative-base: #891A10 !important;
--v-attention-base: #ECC19B !important;
--v-positive-base: #514A3B !important;
--v-neutral-base: #A15447 !important;
--v-detail-base: #370502 !important;
--v-outline-base: #FDF4C9 !important;
}
```
{% end %}

<script type="text/javascript">
Expand Down
Binary file added content/usage/advanced/theme-style-diagrams.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes

0 comments on commit d864641

Please sign in to comment.