Obsidian-Code-Styler icon indicating copy to clipboard operation
Obsidian-Code-Styler copied to clipboard

Bug: The "Language Icons Coloured" slider option does not change anything (icon always appears with color)

Open selvmaya opened this issue 1 year ago • 1 comments

Describe the bug

It does not render the icon in black/white like the description claims it should. I could not find any other issue mentioning this problem, though I merely searched for the option name and similar.

Steps to reproduce

Enable icons and headers to see the icon on your code block. Turn off Language Icons Coloured in settings under Codeblock Styling->Codeblock Header->Header Language Icon Appearance View

```rust title:main.rs
fn main() {
    println!();
}
```

Also tested with the default python example code (issue persists there too).

Expected behaviour

The icon renders in black/white like the description claims. I assume this is supposed to mean that the icon sources a different language icon file, or just black/white filters it?

Current behaviour

It renders with colors like it should only when the problematic option is turned on.

Environment

  • Plugin Version: latest/1.1.7
  • Obsidian Version: latest/v1.5.12
  • Platform: Desktop
  • OS: Windows 10
  • Theme: Obsidian's default and "Default" selected in plugin's Theme Settings
  • CSS Snippets: None
  • Other notes: I have a decent amount of plugins, though not many that overhaul the visuals too much.

Screenshots

image

Additional context

No errors or weird behaviour, other than it's sometimes unclear when changing settings actually affects the shown example within the settings area. The problem persists outside this area though.

selvmaya avatar May 06 '24 04:05 selvmaya

Urgh, will test this! Cheers

mayurankv avatar Jan 27 '25 12:01 mayurankv