Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐞 Initiative tracker color scheme doesn't adhere to theme color scheme #287

Open
3 of 7 tasks
scooper4711 opened this issue Jun 22, 2024 · 0 comments
Open
3 of 7 tasks

Comments

@scooper4711
Copy link

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

Colors for e.g. red, green, yellow, orange etc should adhere to the RGB values provided in the chosen theme

Current behaviour

Colors are chosen by the plugin author and don't shift with changing theme.

Reproduction

Most obvious if you don't use the ITS theme. My preferred theme is Obsidian Nord.

Without my changes, e.g. orange is rendered as #ffa500

With my changes, orange is rendered as #d08770 which is according to the Nord color palette.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.6.3 and 1.5.3

Plugin Version

13.0.12

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

I have applied a custom CSS which addresses this where it was super obvious (the encounter rating in the rendering of the encounter). There may be other locations that need this.

.trivial .difficulty-label {
    color: var(--text-faint) !important;
}
.easy .difficulty-label {
    color: var(--green) !important;
}
.medium .difficulty-label {
    color: var(--yellow) !important;
}
.hard .difficulty-label {
    color: var(--orange) !important;
}
.deadly .difficulty-label {
    color: var(--red) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant