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
OutlineContainerstring- Default:
"outline.container"The outline's outerdata-role="page-outline"container;relativestays hardcoded for marker positioning. OutlineLinkstring- Default:
"outline.link"Each outline<a>the client script generates, including itsdata-[selected=true]state styling. OutlineListstring- Default:
"outline.list"The outline<ul>. OutlineMarkerstring- Default:
"outline.marker"The moving highlight bar that tracks the active heading;absoluteandopacity-0stay hardcoded — the client script positions it and toggles its opacity. OutlineNestedLinkstring- Default:
"outline.nested-link"Extra classes the client script appends to nested (H3-level) outline links. OutlineTitlestring- Default:
"outline.title"The eyebrow above theOutlineNavigationlist. TocLinkstring- Default:
"toc.link"Each child-level TOC<a>, including itsdata-[current=true]state styling. TocListstring- Default:
"toc.list"The outer<ul>ofTableOfContentsNavigation— list layout and the gap between top-level entries. TocSectionstring- Default:
"toc.section"Each top-level<li>ofTableOfContentsNavigation. Empty by default — a hook for per-section margins. TocSectionListstring- Default:
"toc.section-list"The nested<ul>that holds a TOC section's child entries. TocSectionTitlestring- 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. TocTopLinkstring- Default:
"toc.top-link"A top-level leaf TOC<a>(an entry with no children), including itsdata-[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
;
}