[tw5] Re: Does anyone import Tailwind CSS into tiddlywiki?
And the .classname works elsewhere eg the class "g" in the stylesheet .g { css } ;.g text :.g text *.g text #.g text Tones On Monday, 9 August 2021 at 03:32:59 UTC+10 Soren Bjornstad wrote: > Somewhat off-topic, but: > > >> BTW, the "period" in front of class names always confuses me, sometimes I >> need it, and other times no - ? >> > > Class names don't include a period, but you need a period when you're > using it in a CSS selector (the start of a CSS rule in a stylesheet that > comes before the {) to indicate that it's a class name rather than an HTML > tag name. So it's 'class="whatever"' but '.whatever { color: blue; }'. If > you said 'whatever { color: blue; }', then you would be trying to style all > the 'whatever' tags in the document instead of all tags of any kind that > have the 'whatever' class assigned. > > You also need the . for the @@ syntax in TiddlyWiki (e.g., '@@.whatever > (text) @@') for similar reasons (otherwise you couldn't tell the difference > between a style attribute like "color" and a class called "color"). > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9cc23f2a-e39d-4934-869b-334e5c0d1017n%40googlegroups.com.
[tw5] Re: Does anyone import Tailwind CSS into tiddlywiki?
Somewhat off-topic, but: > BTW, the "period" in front of class names always confuses me, sometimes I > need it, and other times no - ? > Class names don't include a period, but you need a period when you're using it in a CSS selector (the start of a CSS rule in a stylesheet that comes before the {) to indicate that it's a class name rather than an HTML tag name. So it's 'class="whatever"' but '.whatever { color: blue; }'. If you said 'whatever { color: blue; }', then you would be trying to style all the 'whatever' tags in the document instead of all tags of any kind that have the 'whatever' class assigned. You also need the . for the @@ syntax in TiddlyWiki (e.g., '@@.whatever (text) @@') for similar reasons (otherwise you couldn't tell the difference between a style attribute like "color" and a class called "color"). -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7e0decf1-e9ae-4d70-8324-8cbc2029cb9fn%40googlegroups.com.
[tw5] Re: Does anyone import Tailwind CSS into tiddlywiki?
What I know so far: In the tiddler $:/plugins/kookma/shiraz/styles/semantic/bglowtone-colors Mohammad added the ability to change the background color of tiddlers - The tiddler above is tagged with $:/tags/Stylesheet - so it loads onto the entire TW5.html file - To use, create any tiddler and enter a field called class with the value bg-lemonchiffon I think this is a limited example of Tailwind because it uses the bg convention - Similarly, I can use " blah blah" as background color for a piece of text (color applied in my tiddler, not in copy to Google Groups) - The @@background-color:lemonchiffon; blah blah@@ is visible code when in edit mode BTW, the "period" in front of class names always confuses me, sometimes I need it, and other times no - ? But Tailwind does much more, and I therefore assume I can grab alot of the functional code of Tailwind and stuff it into a tiddler with the $:/tags/Stylesheet tag - So I am looking for the raw tailwind code to insert into a tiddler (I saw it once a while ago) - On Tailwind.com, the thorough instructions do not discuss the application inside Tiddlywiki, but that is essentially what I am trying to decipher here On Monday, August 3, 2020 at 10:29:35 AM UTC-4 dieg...@gmail.com wrote: > Just checking to see if you managed to do this? > > On Saturday, June 27, 2020 at 9:26:12 PM UTC-5, JWHoneycutt wrote: >> >> If so, how do you do it? >> >> JWHoneycutt >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8cd7735c-ebc4-455f-8cae-92c9c0595194n%40googlegroups.com.
[tw5] Re: Does anyone import Tailwind CSS into tiddlywiki?
Just checking to see if you managed to do this? On Saturday, June 27, 2020 at 9:26:12 PM UTC-5, JWHoneycutt wrote: > > If so, how do you do it? > > JWHoneycutt > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e57303e2-2572-4c15-9468-47053357205bo%40googlegroups.com.
[tw5] Re: Does anyone import Tailwind CSS into tiddlywiki?
Thomas created Bricks (do a search) which is not based on Tailwind but Tachyons which apparently is very similar. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/21f42f1e-f5cd-4095-bf89-23a20bfb4615o%40googlegroups.com.