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#
EditorFont Property#
Font used for code editor cells.
public Verso.Abstractions.FontDescriptor EditorFont { get; init; }
Property Value#
FontFamilyMono Property#
Monospace font stack exposed to layout extensions as --verso-font-family-mono.
public string FontFamilyMono { get; init; }
Property Value#
FontFamilySans Property#
Sans-serif font stack exposed to layout extensions as --verso-font-family-sans.
public string FontFamilySans { get; init; }
Property Value#
FontSizeBase Property#
Base font size in pixels exposed to layout extensions as --verso-font-size-base.
public double FontSizeBase { get; init; }
Property Value#
H1Font Property#
Font for heading level 1 elements.
public Verso.Abstractions.FontDescriptor H1Font { get; init; }
Property Value#
H2Font Property#
Font for heading level 2 elements.
public Verso.Abstractions.FontDescriptor H2Font { get; init; }
Property Value#
H3Font Property#
Font for heading level 3 elements.
public Verso.Abstractions.FontDescriptor H3Font { get; init; }
Property Value#
H4Font Property#
Font for heading level 4 elements.
public Verso.Abstractions.FontDescriptor H4Font { get; init; }
Property Value#
H5Font Property#
Font for heading level 5 elements.
public Verso.Abstractions.FontDescriptor H5Font { get; init; }
Property Value#
H6Font Property#
Font for heading level 6 elements.
public Verso.Abstractions.FontDescriptor H6Font { get; init; }
Property Value#
ProseFont Property#
Font used for Markdown prose and rich-text content.
public Verso.Abstractions.FontDescriptor ProseFont { get; init; }
Property Value#
UIFont Property#
Font used for general user-interface labels and controls.
public Verso.Abstractions.FontDescriptor UIFont { get; init; }