This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

StyleKeys Pennington.UI.Styling

Catalog of style-slot keys accepted by StyleRegistry. One slot per rendered element — Tailwind-aware merging lets an override change a single utility without restating the rest, so layout and color share a slot. Pass them as dictionary keys in DocSiteOptions.Styles / BlogSiteOptions.Styles. Keys are case-insensitive.

Fields

OutlineContainer string
Default: "outline.container"
The outline's outer data-role="page-outline" container; relative stays hardcoded for marker positioning.
OutlineLink string
Default: "outline.link"
Each outline <a> the client script generates, including its data-[selected=true] state styling.
OutlineList string
Default: "outline.list"
The outline <ul>.
OutlineMarker string
Default: "outline.marker"
The moving highlight bar that tracks the active heading; absolute and opacity-0 stay hardcoded — the client script positions it and toggles its opacity.
OutlineNestedLink string
Default: "outline.nested-link"
Extra classes the client script appends to nested (H3-level) outline links.
OutlineTitle string
Default: "outline.title"
The eyebrow above the OutlineNavigation list.
TocLink string
Default: "toc.link"
Each child-level TOC <a>, including its data-[current=true] state styling.
TocList string
Default: "toc.list"
The outer <ul> of TableOfContentsNavigation — list layout and the gap between top-level entries.
TocSection string
Default: "toc.section"
Each top-level <li> of TableOfContentsNavigation. Empty by default — a hook for per-section margins.
TocSectionList string
Default: "toc.section-list"
The nested <ul> that holds a TOC section's child entries.
TocSectionTitle string
Default: "toc.section-title"
A TOC section's label — the plain <div> for empty-route entries, or the <a> when a top-level entry has children.
TocTopLink string
Default: "toc.top-link"
A top-level leaf TOC <a> (an entry with no children), including its data-[current=true] state styling.

Pennington.UI.Styling.StyleKeys

namespace Pennington.UI.Styling;

/// Catalog of style-slot keys accepted by StyleRegistry. One slot per rendered element — Tailwind-aware merging lets an override change a single utility without restating the rest, so layout and color share a slot. Pass them as dictionary keys in DocSiteOptions.Styles / BlogSiteOptions.Styles. Keys are case-insensitive.
public class StyleKeys
{
    /// The outline's outer data-role="page-outline" container; relative stays hardcoded for marker positioning.
    
public static const string OutlineContainer
; /// Each outline <a> the client script generates, including its data-[selected=true] state styling.
public static const string OutlineLink
; /// The outline <ul>.
public static const string OutlineList
; /// The moving highlight bar that tracks the active heading; absolute and opacity-0 stay hardcoded — the client script positions it and toggles its opacity.
public static const string OutlineMarker
; /// Extra classes the client script appends to nested (H3-level) outline links.
public static const string OutlineNestedLink
; /// The eyebrow above the OutlineNavigation list.
public static const string OutlineTitle
; /// Each child-level TOC <a>, including its data-[current=true] state styling.
public static const string TocLink
; /// The outer <ul> of TableOfContentsNavigation — list layout and the gap between top-level entries.
public static const string TocList
; /// Each top-level <li> of TableOfContentsNavigation. Empty by default — a hook for per-section margins.
public static const string TocSection
; /// The nested <ul> that holds a TOC section's child entries.
public static const string TocSectionList
; /// A TOC section's label — the plain <div> for empty-route entries, or the <a> when a top-level entry has children.
public static const string TocSectionTitle
; /// A top-level leaf TOC <a> (an entry with no children), including its data-[current=true] state styling.
public static const string TocTopLink
; }