sdenec / tidy5e-sheet

An alternative Character Sheet for Foundry VTT dnd5e aimed at creating a cleaner UI.
86 stars 98 forks source link

Dark Mode Issues With Linked Actors/Items/Conditions/etc #771

Open ItsDrafty opened 1 year ago

ItsDrafty commented 1 year ago

Unsure if this has been brough up before, I couldn't find it. But my players and I love using dark mode, but find the way things are linked are way too bright/have no contrast to make them easy to read. Is there a simple way to edit this yourself or would it possible to get an update sometime in the future that remedies this? It's a little confusing as to why it's like this considering dice rolled elements are visible. I have attached a few photos for reference.

Thanks!

Linked condition Foundry_Virtual_Tabletop_ZPLGnvtF6u Dice roll on a weapon Foundry_Virtual_Tabletop_ATyHrdnjfb

szefo09 commented 1 year ago

@ItsDrafty That's some custom CSS doing this. If you drag&drop an item into the description it's looking ok. Make sure it's actually Tidy5e having an issue. image

Solidor777 commented 1 year ago

This is because some items imported from Plutonium have the jlnk__entity-link class for entity links.

The following CSS fixes the issue.

.tidy5eDark .jlnk__entity-link {
    color: var(--t5e-primary-font);
    background: var(--t5e-faint-color);
}
ItsDrafty commented 1 year ago

This is because some items imported from Plutonium have the jlnk__entity-link class for entity links.

The following CSS fixes the issue.

.tidy5eDark .jlnk__entity-link {
  color: var(--t5e-primary-font);
    background: var(--t5e-faint-color);
}

Ah! Perfect thank you so much. Not to pester you further but where in the code do I put this? I assume it's in the tidy5e-dark.css file.

Which line should I add this into?

Thanks!

Solidor777 commented 1 year ago

No worries! I actually just use the Custom CSS module to fix it on my end, but I imagine you could add it anywhere in the CSS sheet and it would fix the problem. image

Solidor777 commented 1 year ago

The below code is actually probably superior and still fixes the problem.

.tidy5e .jlnk__entity-link {
    color: var(--t5e-primary-font);
    background: var(--t5e-faint-color);
}
9ryex5 commented 9 months ago

What about the new D&D Enrichers? image