1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-04 05:09:10 +00:00
TiddlyWiki5/themes/tiddlywiki/centralised/functions.tid

9 lines
533 B
Plaintext
Raw Normal View History

2024-10-25 17:57:04 +00:00
title: $:/themes/tiddlywiki/centralised/functions
\function set.centralised() yes
\function set.storywidth.storyright() no
2024-10-26 04:52:23 +00:00
\function set.sidebarwidth() no
\function sidebar.resizer.maxwidth() 21px
2024-11-01 15:10:56 +00:00
\function sidebar.resizer.width() [<get.theme.option sidebarposition>!match[left]then[min(calc(]addsuffix<get.theme.metric storypaddingright>addsuffix[ / 2),]addsuffix<sidebar.resizer.maxwidth>addsuffix[)]] :else[[min(calc(]addsuffix<get.theme.metric storypaddingleft>addsuffix[ / 2),]addsuffix<sidebar.resizer.maxwidth>addsuffix[)]]