Emphasized theme and Tinka plugin style

151 views
Skip to first unread message

Wu Wei

unread,
Nov 22, 2020, 2:17:08 PM11/22/20
to TiddlyWiki
the button style of Tinka 5.0 and Ton Gerners Emphasized theme v0.0.17 won't fit together on my TW 5.1.21.Tinka and Emphasis Style.jpg
A white font colour together with a white background colour is a bit confusing.
As a workaround, changing Tinkas font colour( button.tinka-blue) does work:Tinka and Emphasis Style- black font.jpg

It seems to be an issue of the Emphasized theme.
When I switch to Vanilla theme the result is
#Tinka and vanilla style.jpg

Any ideas, how to fix this?
Message has been deleted

Ton Gerner

unread,
Nov 23, 2020, 10:57:58 AM11/23/20
to TiddlyWiki
Hi Wu Wei,

Tinka uses special (colored) buttons.
For the time being you have to use the workaround since I do not have time to investigate my Emphasized theme which overrides button styles (only background as far as I remember, see buttons under Tools tab).

Cheers,

Ton

Ton Gerner

unread,
Nov 25, 2020, 9:39:07 AM11/25/20
to TiddlyWiki
Hi Wu Wei,

The Emphasized theme overrides default button styles.
After playing with palettes I can conclude the problem you mentioned with the Emphasized theme in combination with the Tinka plugin occurs with certain palettes.
When you use the Emphasized theme with 'working' palettes like Contrast Dark, Contrast Light, Nord, ... the Tinka buttons display as expected.
When using 'non working' palettes like Blanca, Blue, Vanilla, ... the Tinka buttons turn white.
So what is the difference between these set of palettes?
The 'working' palettes all define button background and button foreground.
The 'non working' palettes do NOT define the button background and button foreground.

Adding:

button-background: <<colour background>>
button-foreground: <<colour foreground>>


or

button-background: transparent
button-foreground: inherit


to the 'non working' palettes makes them 'working'.

Hope this helps,

Ton

Wu Wei

unread,
Nov 30, 2020, 7:19:02 AM11/30/20
to TiddlyWiki
Dear Ton,


The 'non working' palettes do NOT define the button background and button foreground

That's the point. I'm using the blue palette.


button-background: <<colour background>>
button-foreground: <<colour foreground>>


Adding this is working now and my preferred solution.

Thank you for your analysis of this issue.

Wu Wei
Reply all
Reply to author
Forward
0 new messages