Skip to content

Commit

Permalink
update vanilla base
Browse files Browse the repository at this point in the history
  • Loading branch information
BurningTreeC committed Oct 10, 2024
1 parent d399543 commit 054d630
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion themes/tiddlywiki/tight/metrics.multids
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
title: $:/themes/tiddlywiki/tight/metrics/

storypaddingleft: 0px
storypaddingright: 0px
storypaddingright: 0px
tiddlerwidth: 770px
4 changes: 3 additions & 1 deletion themes/tiddlywiki/vanilla/base.tid
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ tags: [[$:/tags/Stylesheet]]
list-before:
code-body: yes

\function get.theme.metric(metric) [{$:/theme}addsuffix[/]addsuffix<metric>get[text]] ~[[$:/themes/tiddlywiki/vanilla/]addsuffix<metric>get[text]]

\define custom-background-datauri()
<$set name="background" value={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}>
<$list filter="[<background>is[image]]">
Expand Down Expand Up @@ -1157,7 +1159,7 @@ button.tc-btn-invisible.tc-remove-tag-button {
@media (min-width: <<sidebarbreakpoint>>) {
.tc-tiddler-frame {
padding: 28px 42px 42px 42px;
width: clamp(0px,{{$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth}},100%);
width: clamp(0px,<<get.theme.metric metrics/tiddlerwidth>>,100%);
border-radius: 2px;
}

Expand Down

0 comments on commit 054d630

Please sign in to comment.