diff --git a/README.md b/README.md index ad234a9..c141436 100644 --- a/README.md +++ b/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//style.ini` under the +`[replacements]` section: + +``` +__luxtools_locationlink__ = "#b57d35" ; @ini_luxtools_locationlink +``` + ## Features and usage diff --git a/script.js b/script.js deleted file mode 100644 index d5021b4..0000000 --- a/script.js +++ /dev/null @@ -1 +0,0 @@ -/* Deprecated: JavaScript modules moved into the js/ folder. */ diff --git a/style.css b/style.css index d4eccd1..c3f6dcb 100644 --- a/style.css +++ b/style.css @@ -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. */