[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-08-01 Thread Sid Thakur
Ton, Thank you once more. Sid --- On Friday, August 1, 2014 2:06:21 PM UTC-4, Ton Gerner wrote: > > Hi Sid, > > Create a tiddler, tagged with $:/tags/Macro, containing: > > \define c(text) > @@color: #f00; > @@padding: .5em; > $text$ > @@ > \end > > Note: There must be a newline after \end > > Sa

[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-08-01 Thread Ton Gerner
Hi Sid, Create a tiddler, tagged with $:/tags/Macro, containing: \define c(text) @@color: #f00; @@padding: .5em; $text$ @@ \end Note: There must be a newline after \end Save and reload. You can now use the macro as: <> Hope that helps. Cheers, Ton On Friday, August 1, 2014 7:02:42 PM UTC

[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-08-01 Thread Sid Thakur
Hi, Thanks for the clarification. One more thing, I would like to create custom macros to apply custom style. For example, following response from this question explains an alternative to creating custom style macros HOWEVER

[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-08-01 Thread Ton Gerner
Hi Sid, Styling in TW5 is different from TWC. Use @@.foo Hello World @@ For more info see [1] Cheers, Ton [1] http://tiddlywiki.com/#Styles%20and%20Classes%20in%20WikiText:[[Styles%20and%20Classes%20in%20WikiText]] On Friday, August 1, 2014 5:30:11 PM UTC+2, Sid Thakur wrote: > > Hi, > I'm

[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-08-01 Thread Sid Thakur
Hi, I'm having trouble with applying class in custom css in TiddlyWiki5. - I created a Tiddler with tag "$:/tags/stylesheet" and added following to it .foo { color: #f92; background-color: #ffc; } - I create a new tiddler and want to use the class 'foo'. I add to the new tiddler following: {{foo

[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-01-19 Thread JeffOnWire
That worked. Thank you. On Sunday, January 19, 2014 1:27:07 AM UTC-8, Ton Gerner wrote: > > Hi Jeff, > > Basic changes can be made in Theme Tweaks: > > 1) Click the Options button (gear wheel symbol in the Sidebar). The > Control panel opens. > 2) Click the tab Theme Tweaks > > If you want to cha

[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-01-19 Thread Eric Shulman
On Saturday, January 18, 2014 10:27:47 PM UTC-8, JeffOnWire wrote: > > I'm trying to apply custom styles to my TiddlyWiki 5.0.3-beta. I think > there is a "ShadowTiddler" called "StyleSheet" that I can override by > creating a tiddler (that's just a blog entry right? Created by clicking the > "+

[tw] Re: Help with Styles...and Shadow Tiddlers?

2014-01-19 Thread Ton Gerner
Hi Jeff, Basic changes can be made in Theme Tweaks: 1) Click the Options button (gear wheel symbol in the Sidebar). The Control panel opens. 2) Click the tab Theme Tweaks If you want to change more: 1) Create a tiddler tagged with $:/tags/stylesheet 2) Add your CSS Cheers, Ton On Sunday, J