Make location link color customizable
This commit is contained in:
16
README.md
16
README.md
@@ -141,6 +141,22 @@ Key settings:
|
||||
URL of a local client service used by `{{open>...}}` and directory links.
|
||||
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
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ div.luxtools-plugin a.luxtools-open,
|
||||
div.luxtools-plugin a.luxtools-open:visited,
|
||||
a.luxtools-open,
|
||||
a.luxtools-open:visited {
|
||||
color: #b57d35 !important;
|
||||
color: @ini_luxtools_locationlink !important;
|
||||
}
|
||||
|
||||
/* Standalone {{open>...}} links are not wrapped in div.luxtools-plugin. */
|
||||
|
||||
Reference in New Issue
Block a user