anpigon's picture
Add favicon and image assets for Obsidian help and developer documentation
c63ff03

A newer version of the Gradio SDK is available: 5.16.0

Upgrade
metadata
cssClass: reference

Font size

Obsidian uses both relative and fixed font sizes depending on the context.

  • Use --font-* (relative) variables in the editor.
  • Use --font-ui-* (fixed) variables for UI elements.
Variable Default value Description
--font-text-size 16px Editor font size. Defined by the user under Appearance settings.
--font-smallest 0.8em
--font-smaller 0.875em
--font-small 0.933em
--font-ui-smaller 12px
--font-ui-small 13px
--font-ui-medium 15px
--font-ui-larger 20px

Font weight

Variable Default value
--font-thin 100
--font-extralight 200
--font-light 300
--font-normal 400
--font-medium 500
--font-semibold 600
--font-bold 700
--font-extrabold 800
--font-black 900

Text formatting

Variable Description
--bold-weight Bold text font weight
--bold-color Bold text color
--italic-color Italic text color

Line heights

Variable Default value Description
--line-height-normal 1.5 Default line height
--line-height-tight 1.3 Used in search results, tree items, tooltips, and other smaller spaces