[tw5] Re: referencing colors used in palette instead of using hex code?

2021-01-21 Thread Justin Hurd
This is exactly what I was looking to do, thank you! I will admit I did 
have to google a word or two, but I think I understand how this functions, 
I'll have to read through your reference work as well, so I can get a 
better understanding of how this works.
On Friday, January 22, 2021 at 1:41:31 AM UTC-5 TW Tones wrote:

> Justin,
>
> This is because you can not concatinate text and the results of your 
> macro  *<>*  in the way you have. 
>
> The resource I am developing is a reference work 
> for all such 
> tiddly wiki methods that will help a learner, but in this case you may 
> specifically be interested the following;
>
>
>- ❷ Widget and HTML attributes or parameters 
>
> 
>  
>
>
> Eg 
> 
> <$wikify name=styles text="text-align: center; width: 100%; border-radius: 
> 12px; background-color:<>;">
> > >
>
> Content
> 
> 
> 
>
> The above is one solution but you can use others to evaluate the variable 
> and concatenate the variable.
>
> The same rules apply to  Widgets as well. 
>
> Another example is;
> \define styles() text-align: center; width: 100%; border-radius: 12px; 
> background-color:<>;
> 
> <$wikify name=styles text="<>">
> > >
>
> Content
> 
> 
> 
>
> Regards
> Tones
> On Friday, 22 January 2021 at 15:08:02 UTC+11 justin.hu...@gmail.com 
> wrote:
>
>> Hello all,
>> I was wondering how I could go about referencing the colors used in the 
>> palette instead of using the colors hexcode, so I can have it change color 
>> shemes to match other palettes, like this:
>>
>> **
>> **
>> ...
>>
>> but when I try this, it doesn't seem to work, so i was wondering if 
>> someone could help/explain why, or where I'm going wrong.
>>
>> If possible, explaining like I'm 5 would help, because I'm not very 
>> familiar with the terms used for TW5 (I *just*  learned what 
>> transclusion meant haha)
>>
>> any help is really appreciated!
>>
>>

-- 
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/996668ec-c87c-43fc-b599-7e0490e84b30n%40googlegroups.com.


[tw5] referencing colors used in palette instead of using hex code?

2021-01-21 Thread Justin Hurd
Hello all,
I was wondering how I could go about referencing the colors used in the 
palette instead of using the colors hexcode, so I can have it change color 
shemes to match other palettes, like this:

**
**
...

but when I try this, it doesn't seem to work, so i was wondering if someone 
could help/explain why, or where I'm going wrong.

If possible, explaining like I'm 5 would help, because I'm not very 
familiar with the terms used for TW5 (I *just*  learned what transclusion 
meant haha)

any help is really appreciated!

-- 
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/d7f4f268-b7d1-48cb-bb46-33fa439aa4a6n%40googlegroups.com.


[tw5] Re: force set width on multi-line edit-text widget

2020-02-27 Thread Justin Hurd
Nevermind, I tinkered with some css, and found a solution that works for me!

!!!Notes:

<$edit-text tiddler="Notepad" placeholder="Type Notes Here."  rows="10"  
minHeight="10em" class="my-extended-memory-field"/>


.my-extended-memory-field 
{width: 95%;
overflow-y: scroll;
max-height: 200px;
min-height: 250px;
position: static;
top: 100px;
}




On Thursday, February 27, 2020 at 11:49:08 PM UTC-5, Justin Hurd wrote:
>
> Hi Thomas, I know this is a fairly old post, but is there a way to have 
> this with a scrollbar instead of it constantly expanding downward?
>
> On Wednesday, March 22, 2017 at 4:32:00 PM UTC-4, Thomas Elmiger wrote:
>>
>> Hi Egbert
>>
>> Here comes my suggestion for your task: A conditional view template as I 
>> have learned 
>> <http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section> it 
>> from Tobias Beer. This way we make something that shows up on any tiddler 
>> meeting predefined conditions. The condition I use is that a tiddler must 
>> be tagged with a tag ExampleTag so that the notes are shown. Of course 
>> you can change this to something more meanigful in your case like 
>> "joboffer". 
>>
>> Ingredients for this receipe: a tag, some wikitext code, a list-after 
>> field.
>>
>> a) Your template tiddler must be tagged with $:/tags/ViewTemplate 
>>
>> b) In the text field we put this:
>>
>> <$list filter="[all[current]tag[ExampleTag]]">
>> <$set name="tid" value="Notes-for-$(currentTiddler)$">
>> <$edit-text tiddler=<> placeholder="Your text goes here" 
>> default="The tiddler for storage will be created automagically." rows="10" 
>> minHeight="10em" class="my-extended-memory-field"/>
>> Notes go here: <$link to=<>><>
>> 
>>
>> 
>> .my-extended-memory-field {
>>width: 100%;
>> }
>> 
>> 
>>
>> c) create a field for your tiddler, call it list-after and enter this as 
>> value: $:/core/ui/ViewTemplate/tags
>>
>> After you have created this tiddler you can tag any tiddler you like with 
>> "ExampleTag" and it will show a field for notes after saving. 
>>
>> New elements in this solution: 
>> * the <$list filter part shows it’s content only if the condition with 
>> the tag is met.
>> * the <$set statement creates a variable tid that contains the title for 
>> the storage tiddler. You can change the prefix *Notes-for-* if you like.
>> * UPDATE: the list-after field defines, where our notes appear in the 
>> view template: right after the tags.
>>
>> Good luck!
>> Thomas
>>
>> ((Updtate 2: Removed attachment, that was an old version))
>>
>

-- 
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/149be75b-a1ac-4dfc-8fb3-4682356a5fda%40googlegroups.com.


[tw5] Re: force set width on multi-line edit-text widget

2020-02-27 Thread Justin Hurd
Hi Thomas, I know this is a fairly old post, but is there a way to have 
this with a scrollbar instead of it constantly expanding downward?

On Wednesday, March 22, 2017 at 4:32:00 PM UTC-4, Thomas Elmiger wrote:
>
> Hi Egbert
>
> Here comes my suggestion for your task: A conditional view template as I 
> have learned 
>  it 
> from Tobias Beer. This way we make something that shows up on any tiddler 
> meeting predefined conditions. The condition I use is that a tiddler must 
> be tagged with a tag ExampleTag so that the notes are shown. Of course 
> you can change this to something more meanigful in your case like 
> "joboffer". 
>
> Ingredients for this receipe: a tag, some wikitext code, a list-after 
> field.
>
> a) Your template tiddler must be tagged with $:/tags/ViewTemplate 
>
> b) In the text field we put this:
>
> <$list filter="[all[current]tag[ExampleTag]]">
> <$set name="tid" value="Notes-for-$(currentTiddler)$">
> <$edit-text tiddler=<> placeholder="Your text goes here" 
> default="The tiddler for storage will be created automagically." rows="10" 
> minHeight="10em" class="my-extended-memory-field"/>
> Notes go here: <$link to=<>><>
> 
>
> 
> .my-extended-memory-field {
>width: 100%;
> }
> 
> 
>
> c) create a field for your tiddler, call it list-after and enter this as 
> value: $:/core/ui/ViewTemplate/tags
>
> After you have created this tiddler you can tag any tiddler you like with 
> "ExampleTag" and it will show a field for notes after saving. 
>
> New elements in this solution: 
> * the <$list filter part shows it’s content only if the condition with 
> the tag is met.
> * the <$set statement creates a variable tid that contains the title for 
> the storage tiddler. You can change the prefix *Notes-for-* if you like.
> * UPDATE: the list-after field defines, where our notes appear in the 
> view template: right after the tags.
>
> Good luck!
> Thomas
>
> ((Updtate 2: Removed attachment, that was an old version))
>

-- 
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/daa34826-7957-4762-9d67-06d66b420e55%40googlegroups.com.


Re: [tw5] Re: (re-)Presenting: LeftBar - a menu type sidebar, on the left

2020-02-26 Thread Justin Hurd
Awesome, i cant wait to mess around with this :D

On Wed, Feb 26, 2020, 12:10 PM Mat  wrote:

> Justin
>
> text is entered into the left tab, that it does not stretch all the way
>> down to the bottom of the window
>>
> ...
>> move the scroll bar to the left of the new sidebar as well, mirroring the
>> right sidebar.
>
>
> Yeah... why the heck did I limit the height like that? And scrollbar on
> the left side is a cool idea!
> Anyway: In the tiddler $:/plugins/TWaddle/LeftBar/Stylesheet try the
> following changes (i.e only the text in yellow)
>
> .leftbar-content {
>  position:{{!!position}};
>  max-width:calc(42px + {{!!width}});
>  left:0px;
>  top:3em;
>  padding:0em 10px 5px 10px;
>  background:none;
>  min-height:50vh;
>  max-height:calc(100vh - 3em);
>  overflow-y:auto;
> }
> .leftbar-content * {
> direction:ltr;
> }
> .leftbar-content {
> direction: rtl;
> }
>
> <:-)
>
> --
> 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/c5c49124-4793-4b3c-82b8-d63a85923486%40googlegroups.com
> 
> .
>

-- 
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/CAE6NqXwh0a0GTxTEqiLc2h2jz9Knmb4OcAh%3DT42rUVsnHL2fJQ%40mail.gmail.com.


[tw5] Re: (re-)Presenting: LeftBar - a menu type sidebar, on the left

2020-02-26 Thread Justin Hurd
Hello Mat, Mohammed, and Evan, 
I'm fairly new to tiddly wiki but while using this plugin, among others, I 
noticed that when a decent amount of text is entered into the left tab, 
that it does not stretch all the way down to the bottom of the window, and 
felt it was worth pointing that out and asking if any solutions could be 
offered, as well as a way to possibly move the scroll bar to the left of 
the new sidebar as well, mirroring the right sidebar.

-- 
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/f9e4b215-efde-4cd0-a550-aac6acd809fa%40googlegroups.com.


[tw5] Would it be possible to make a "Type:" that functions the same as a microsoft word document would?

2020-01-29 Thread Justin Hurd
I got the idea while using my notebook to jot down ideas for a book I'm 
working for, and used text/plain for simple notes, and was wondering if 
that same sort of thing could be used to have something close to how MS 
word works, maybe something like "text/formatted" or something like that to 
save time with formatting and whatnot.
I'm sure it could be achieved with a style sheet, but idk how this would be 
done to be completely honest.
(since I'm kind of a novice at TW5 still haha)

-- 
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/f5762b27-2ad8-47d3-8da7-51d37d895bcb%40googlegroups.com.