How does cardo override theme settings?

61 views
Skip to first unread message

Adam Shepherd

unread,
Jan 27, 2019, 12:58:27 AM1/27/19
to tiddl...@googlegroups.com
Hello Everyone!
I'm experimenting with cardo (https://cardo.wiki/) and it somehow overrides how the tiddler edit buttons and related buttons look. (tiddler-controls-foreground, sidebar-controls-foreground) No matter what color I set in the theme, it turns them black, or to the general primary color if cardo's theme is selected.  If I disable the plugin the buttons go back to normal on all themes except when using cardo theme.
Can anyone help me out iwith this? (I would like to use the spartan or vanilla theme with cardo, but without the weird blackening of the buttons.)

Otherwise cardo seems to be working fine and its awesome. :)

TonyM

unread,
Jan 27, 2019, 2:33:31 AM1/27/19
to TiddlyWiki
See Control Panel > Info > Advanced > StyleSheets

Notice how $:/themes/Cardo/base is the last (and has ones that are first) ?
Perhaps make your own stylesheet that provides the CSS to override what ever cardio is making black, or edit cardios CSS
You can move the order of stylesheets using the 

$:/tags/Stylesheet 

tagpill (drag and Drop)

To find the correct CCS name you can use the browsers developer tool > inspect to find them.

Regards
Tony

Adam Shepherd

unread,
Jan 27, 2019, 2:13:54 PM1/27/19
to TiddlyWiki
Thank you! I looked at the stylesheets before asking the question but I couldn't figure out why this happened. I didn't know I can rearrange stylesheets as you instructed, that is great. Sadly it didn't solve my problem - but I've found the problematic css areas in cardo's $:/plugins/Cardo/controls.css. For now I replaced "black" with <<sidebar-controls-foreground>> and everything seems to be working. Knowing that all currently active stylesheets are shown in the settings is great!
Reply all
Reply to author
Forward
0 new messages