Make location link color customizable

This commit is contained in:
2026-01-22 20:54:50 +01:00
parent 912f9dcac6
commit 4eaec5c7b1
3 changed files with 17 additions and 2 deletions

View File

@@ -141,6 +141,22 @@ Key settings:
URL of a local client service used by `{{open>...}}` and directory links. URL of a local client service used by `{{open>...}}` and directory links.
See luxtools-client. See luxtools-client.
### Template style settings
The `{{open>...}}` links and directory “open” links use a dedicated color
placeholder so they can be customized in **Template Style Settings**.
- **Location Links** (`__luxtools_locationlink__`)
Default: `#b57d35`
To be able to customize the color via the UI add the following to your local template
style file at `conf/tpl/<your-template>/style.ini` under the
`[replacements]` section:
```
__luxtools_locationlink__ = "#b57d35" ; @ini_luxtools_locationlink
```
## Features and usage ## Features and usage

View File

@@ -1 +0,0 @@
/* Deprecated: JavaScript modules moved into the js/ folder. */

View File

@@ -34,7 +34,7 @@ div.luxtools-plugin a.luxtools-open,
div.luxtools-plugin a.luxtools-open:visited, div.luxtools-plugin a.luxtools-open:visited,
a.luxtools-open, a.luxtools-open,
a.luxtools-open:visited { a.luxtools-open:visited {
color: #b57d35 !important; color: @ini_luxtools_locationlink !important;
} }
/* Standalone {{open>...}} links are not wrapped in div.luxtools-plugin. */ /* Standalone {{open>...}} links are not wrapped in div.luxtools-plugin. */