๐ Initiative tracker color scheme doesn't adhere to theme color scheme
scooper4711 opened this issue ยท 0 comments
scooper4711 commented
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;
}