Docs · API reference · Verso.Abstractions

ThemeTypography Class#

Defines the typography settings for a Verso notebook theme, mapping each text role to a FontDescriptor.

public sealed record ThemeTypography : System.IEquatable<Verso.Abstractions.ThemeTypography>

Inheritance System.Object → ThemeTypography

Implements System.IEquatable<ThemeTypography>

Properties#

CodeOutputFont Property#

Font used for code execution output and console text.

public Verso.Abstractions.FontDescriptor CodeOutputFont { get; init; }

Property Value#

FontDescriptor

EditorFont Property#

Font used for code editor cells.

public Verso.Abstractions.FontDescriptor EditorFont { get; init; }

Property Value#

FontDescriptor

FontFamilyMono Property#

Monospace font stack exposed to layout extensions as --verso-font-family-mono.

public string FontFamilyMono { get; init; }

Property Value#

System.String

FontFamilySans Property#

Sans-serif font stack exposed to layout extensions as --verso-font-family-sans.

public string FontFamilySans { get; init; }

Property Value#

System.String

FontSizeBase Property#

Base font size in pixels exposed to layout extensions as --verso-font-size-base.

public double FontSizeBase { get; init; }

Property Value#

System.Double

H1Font Property#

Font for heading level 1 elements.

public Verso.Abstractions.FontDescriptor H1Font { get; init; }

Property Value#

FontDescriptor

H2Font Property#

Font for heading level 2 elements.

public Verso.Abstractions.FontDescriptor H2Font { get; init; }

Property Value#

FontDescriptor

H3Font Property#

Font for heading level 3 elements.

public Verso.Abstractions.FontDescriptor H3Font { get; init; }

Property Value#

FontDescriptor

H4Font Property#

Font for heading level 4 elements.

public Verso.Abstractions.FontDescriptor H4Font { get; init; }

Property Value#

FontDescriptor

H5Font Property#

Font for heading level 5 elements.

public Verso.Abstractions.FontDescriptor H5Font { get; init; }

Property Value#

FontDescriptor

H6Font Property#

Font for heading level 6 elements.

public Verso.Abstractions.FontDescriptor H6Font { get; init; }

Property Value#

FontDescriptor

ProseFont Property#

Font used for Markdown prose and rich-text content.

public Verso.Abstractions.FontDescriptor ProseFont { get; init; }

Property Value#

FontDescriptor

UIFont Property#

Font used for general user-interface labels and controls.

public Verso.Abstractions.FontDescriptor UIFont { get; init; }

Property Value#

FontDescriptor