Styling links of different types

102 views
Skip to first unread message

ludwa6

unread,
Jan 10, 2021, 6:50:46 AM1/10/21
to TiddlyWiki
Though links of different types -i.e. external vs internal- are in fact styled differently, i find the difference to be so subtle as to be indiscernible under certain conditions (e.g. device/ platform, ambient light, etc.), and i would like to create a more obvious distinction -like red for external links vs blue for internal, perhaps.  

Is there any easy way to do this, i wonder?

/walt

maki aea

unread,
Jan 10, 2021, 7:27:16 AM1/10/21
to TiddlyWiki
hi walt, you can use !important in a css override, here are some examples http://makiaea.org/00045/20201205makiaea-anwiki#quiz.css

PMario

unread,
Jan 10, 2021, 7:32:28 AM1/10/21
to TiddlyWiki
Hi,
Open the ControlPanel : Appearence : palette tab.  Scroll down to the "Show Editor button" click it.
There will be a "Clone" button, which allows you to create a copy of the palette.
Use the browser search function: Search for "link". You can change the colors to you liking
-m

PMario

unread,
Jan 10, 2021, 7:36:09 AM1/10/21
to TiddlyWiki
On Sunday, January 10, 2021 at 1:27:16 PM UTC+1 ma...@makiaea.org wrote:
hi walt, you can use !important in a css override, here are some examples http://makiaea.org/00045/20201205makiaea-anwiki#quiz.css

You should  _not_ use !important ... It's toxic and will cause a lot of problems in the long run. With TW you can change almost everything in a relatively easy way. !important is "brute force"
-m

ludwa6

unread,
Jan 10, 2021, 7:38:36 AM1/10/21
to TiddlyWiki
Wowww.... All that customisation power, so deeply buried in the UI!  
Thanks @PMario for pointing this treasure-trove out.

ludwa6

unread,
Jan 10, 2021, 7:45:03 AM1/10/21
to TiddlyWiki
Yeah, being ever-afraid of any tweaks that might break something, that is why i opted for the built-in customisation option over that CSS-override solution... But thanks anyway, @makiaea for pointing it out. 

AND, speaking of my fear of breakage, a related question for me is, regarding any styling changes that i apply thru control panel affordances, i wonder: can i rest assured that they will persist through any version upgrades or plugin installs that i might later perform?

/walt

Odin

unread,
Jan 10, 2021, 8:00:41 AM1/10/21
to TiddlyWiki
Palettes will persist through version upgrades. In general, backwards compatibility is required with new versions. So if you are changing settings through the control panel it won't lock you out of new updates.
A palette is just another Tiddler, so it will always be easy to adjust or remove it.



Op zondag 10 januari 2021 om 13:45:03 UTC+1 schreef ludwa6:

ludwa6

unread,
Jan 10, 2021, 8:42:16 AM1/10/21
to TiddlyWiki
This is good to hear, @Odin -thanks.
Still i wonder what sorts of changes i might make that become important to my UX, my workflow, that might later get undone through installation of some plugin or TW upgrade... Leaving me to try and figure out how i made that change who-knows-how long ago.  
Unreasonable as it is to want guarantees about such things, i can't help wishing for some rule(s) of thumb -or guardrails, as it were- to tell what sorts of changes are safe to make, and which others could either break something important or else get broken in a future upgrade. 

PMario

unread,
Jan 10, 2021, 9:20:37 AM1/10/21
to TiddlyWiki
Hi,
TW has 2 types of tiddlers. There are "standard" content tiddlers, which are created by users. User created content always wins!

Then there are so called "shadow" tiddlers. Plugins and the "core" tiddlers are shadow tiddlers. That means, if you change them "after a warning" they become content tiddlers. So your changes always win..

BUT  if you messed something up, you can delete the content tiddler and the "shadow" tiddler will take over again. So you are pretty safe.

If you added a plugin, that doesn't work there is a "safe mode" see: https://tiddlywiki.com/#SafeMode

The ControlPanel : Info tab, has a info named "Overwritten Shadow tiddlers". ... If you click the "search" icon, you'll get a list of all shadows, you have changed. So it's easy to find out, what you changed.

-mario

Odin

unread,
Jan 10, 2021, 9:35:13 AM1/10/21
to TiddlyWiki
Also, I keep a list of customizations I made to my personal wiki. A changelog as you can call it. This helps me remember what I did in case I need to revert it into the future. For example, I added some CSS that works with a particular theme. If I change themes in the future I can find that CSS easier to revert it.

Op zondag 10 januari 2021 om 15:20:37 UTC+1 schreef PMario:

ludwa6

unread,
Jan 10, 2021, 9:38:00 AM1/10/21
to TiddlyWiki
What you've written here @mario strikes me as such a good & concise summary of what i think it important to know about tiddlers, i am committing it immediately to its own tiddler.  Thanks, man! /walt

PMario

unread,
Jan 10, 2021, 11:24:23 AM1/10/21
to TiddlyWiki
Hi,
There is 1 more truth about "content tiddlers". Some of them should be editable, but hidden from most users. We call them "system tiddlers".
They can be found in the Right Sidebar : More : System tab

have fun!
mario
Reply all
Reply to author
Forward
0 new messages