silverbullet icon indicating copy to clipboard operation
silverbullet copied to clipboard

Can't change font

Open skorphil opened this issue 1 year ago • 6 comments

Hi, I've created STYLES.md page in the root of my SB space:

```css
#sb-root {
   --editor-font: "Roboto" !important;
}
```

However, it changes nothing. Still some monospace font used

skorphil avatar Jan 22 '24 13:01 skorphil

Needed to add customStyles: "[[STYLES]]" in settings.md

However like seems Roboto is not supported )))

skorphil avatar Jan 22 '24 13:01 skorphil

Changing size not working also:

```css
#sb-main {
   font-size: 16px !important;
}
```

still 18px

skorphil avatar Jan 22 '24 13:01 skorphil

Any solution so far?

skorphil avatar Jan 29 '24 18:01 skorphil

Same on my side, I have the settings entry in. Roboto works for me when I overwrite the CSS in debug, but it appears that the variable from STYLES is ignored.

image

image

filcuk avatar Feb 16 '24 15:02 filcuk

Do you have

customStyles: "[[STYLES]]"

In your SETTINGS, like here? https://silverbullet.md/SETTINGS

zefhemel avatar Feb 18 '24 14:02 zefhemel

roboto font simply not supported. When i set Arial - it is working. But font size not working at all

skorphil avatar Feb 18 '24 14:02 skorphil