1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-10 09:20:26 +00:00
TiddlyWiki5/themes/tiddlywiki/vanilla/sidebar-resizer-ui.tid
2024-10-26 11:23:14 +02:00

21 lines
671 B
Plaintext

title: $:/themes/tiddlywiki/vanilla/ui/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]]
\whitespace trim
<%if [<get.theme.option sidebarresizer>match[show]] %>
<$let
tv-set-storywidth-storyright=<<set.storywidth.storyright>>
tv-set-sidebarwidth=<<set.sidebarwidth>>
tv-set-centralised=<<set.centralised>>
>
<$transclude $variable="sidebar-resizer"/>
</$let>
<% endif %>