mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-06-01 10:12:18 +00:00
make use of get.current.theme
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
title: $:/language/ThemeTweaks/
|
||||
|
||||
ThemeTweaks: Theme Tweaks
|
||||
ThemeTweaks/Hint: You can tweak certain aspects of the ''<$text text={{{ [{$:/theme}get[name]] :else[[current]] }}}/>'' theme.
|
||||
ThemeTweaks/Hint: You can tweak certain aspects of the ''<$text text={{{ [<get.current.theme>get[name]] :else[[current]] }}}/>'' theme.
|
||||
Options: Options
|
||||
Options/SidebarLayout: Sidebar layout
|
||||
Options/SidebarLayout/Fixed-Fluid: Fixed story, fluid sidebar
|
||||
|
||||
@@ -2,7 +2,7 @@ title: $:/core/ui/PageTemplate/sidebar-resizer
|
||||
tags: $:/tags/PageTemplate
|
||||
list-after: $:/core/ui/PageTemplate/story
|
||||
|
||||
\import [function[get.base.functions.theme],{$:/theme}first[]!is[missing]] :else[function[get.base.functions.theme],{$:/theme}first[]is[shadow]] :else[[$:/themes/tiddlywiki/vanilla/functions]] [[$:/core/macros/sidebar-resizer]]
|
||||
\import [function[get.base.functions.theme],<get.current.theme>first[]!is[missing]] :else[function[get.base.functions.theme],<get.current.theme>first[]is[shadow]] :else[[$:/themes/tiddlywiki/vanilla/functions]] [[$:/core/macros/sidebar-resizer]]
|
||||
\whitespace trim
|
||||
|
||||
<%if [<get.theme.option sidebarresizer>match[show]] %>
|
||||
|
||||
Reference in New Issue
Block a user