configuration/constants/chapter.constants.ts
configuration/constants/chapter.constants.ts is a file in Bane's Lab Site. 31 lines of code and 18 definitions.
import type { Block } from "#types/block.types";
export const PAIRED_SECTION_CLASS = "chapter-section-paired";
export const PANEL_COLUMN_LIMIT = 3;
export const PANEL_COLUMN_CLASS = "chapter-panels";
export const PANEL_FOOTER_CLASS = "chapter-panel-footer";
export const WIDE_PANEL_CLASS = "chapter-panel-wide";
export const PANEL_FOOTER_COLUMNS_PROPERTY = "--panel-footer-columns";
export const CITE_OPEN = "[";
export const CITE_CLOSE = "]";
export const CITE_CLASS = "chapter-cite";
export const CITE_ATTRIBUTE = "data-cite";
export const CITED_PANEL_CLASS = "chapter-panel-cited";
export const MARK_CLASS = "chapter-mark";
export const TAG_CLASS = "chapter-tag";
export const MARK_SEPARATOR = "·";
export const PANEL_ID_INFIX = "-panel-";
export const LETTERS = "abcdefghijklmnopqrstuvwxyz";
export const PANEL_TITLE_SELECTORS = [".code-title", ".diagram-caption", ".figure-caption"];
export const PANEL_KINDS: ReadonlySet<Block["kind"]> = new Set<Block["kind"]>([
"code",
"compare",
"definition",
"diagram",
"figure",
"keyword",
"mermaid",
"metric",
"surface",
"type",
"walk",
]);