case accent Stylesheetcase base Stylesheetcase colourScheme Stylesheetcase custom Stylesheetcase sidebarDocument Stylesheetcase theme Stylesheetcase themeSettings StylesheetA layer of the generated stylesheet.
enum StylesheetLayerThe generated css/main is the concatenation of these layers, in the order of all, so that each layer can override the ones before it:
Stylesheet: the base stylesheet shared by all themes (structure and layout, with every visual value routed through a custom property);
Stylesheet: the rules for the embedded navigation sidebar;
Stylesheet: the rules that apply the colour scheme chosen by the reader;
Stylesheet: the accent colour, when the theme settings do not set link;
Stylesheet: the custom properties defined by the theme settings;
Stylesheet: the theme’s own stylesheets;
Stylesheet: custom CSS supplied by the user.
Every layer starts with a marker comment (see marker(part:)) naming the layer and, for layers made of several files, the part.
case accent Stylesheetcase base Stylesheetcase colourScheme Stylesheetcase custom Stylesheetcase sidebarDocument Stylesheetcase theme Stylesheetcase themeSettings Stylesheetfunc marker(part: String?) -> String marker(part:)static let markerPrefix : String markerSwift.CaseIterable Swift.Equatable Swift.Hashable Swift.RawRepresentable Swift.Sendable Swift.SendableMetatype