diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-02-20 14:42:18 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2023-02-20 14:42:18 +0100 |
commit | 9a2c5c8724bcc99296c95a20ea2d84208cc5e038 (patch) | |
tree | 3ea8a7cf6ace0203b7ba5d91f710f0bc59c675b7 | |
parent | cc3370f00108525d61c969e314174129143e7e6f (diff) |
chore: Update with-style example to LASS
-rw-r--r-- | README | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -96,13 +96,13 @@ Now, if you want to tweak Nyxt's appearance further than its color palette by ch (define-configuration status-buffer ((style (tailor:with-style 'status-buffer - ("#container" - :background theme:primary - :color (if (theme:dark-p theme:theme) - theme:on-background - theme:on-accent)) - ("#controls" - :background "inherit"))))) + `("#container" + :background ,theme:primary + :color ,(if (theme:dark-p theme:theme) + theme:on-background + theme:on-accent)) + `("#controls" + :background "inherit"))))) #+end_src By doing this, we'll allow =nx-tailor= to handle the styling of the interface element (=nyxt:status-buffer= in the above case). |