Files
dark-lord/lib/nodeSkinChrome.ts
drjones 78a071ba02 Harden onion boot flow and deepen site surfaces
Add persistent onion key backup and restore, improve startup resilience, and flesh out the major site verticals with richer navigation, search coverage, and operator documentation.

Made-with: Cursor
2026-04-07 21:35:52 -07:00

17 lines
1.3 KiB
TypeScript

/** Outer chrome for `/w/[slug]` relay pages — eight visual buckets. */
export const NODE_SKIN_CHROME: string[] = [
"min-h-screen bg-[#1a0505] text-[#ff7b54] selection:bg-[#ff7b54] selection:text-black font-mono border-x-[14px] border-[#3d0c02]",
"min-h-screen bg-[#0b132b] text-[#bee9e8] font-serif tracking-wide bg-[radial-gradient(ellipse_at_top,_#1c2541_0%,_#0b132b_65%)]",
"min-h-screen bg-[#f4f1de] text-[#1d3557] font-mono border-[12px] border-dashed border-[#1d3557]",
"min-h-screen bg-[#10002b] text-[#e0aaff] bg-[linear-gradient(165deg,_120deg,_#240046_0%,_#10002b_40%,_#3c096c_100%)] font-sans",
"min-h-screen bg-[#2b2d42] text-[#edf2f4] font-sans uppercase tracking-widest text-sm border-y-[16px] border-[#ef233c]",
"min-h-screen bg-[#0d2818] text-[#95d5b2] font-serif border-double border-4 border-[#40916c] m-0 p-0 outline outline-4 outline-[#2d6a4f]",
"min-h-screen bg-black text-[#fcee0a] font-mono skew-y-0 [text-shadow:2px_2px_0_#ff00ff]",
"min-h-screen bg-[#fffcf2] text-[#220c10] font-serif [background-image:repeating-linear-gradient(0deg,transparent,transparent_23px,#e8d5b5_24px)]",
];
export function nodeSkinClass(skinIndex: number): string {
return NODE_SKIN_CHROME[((skinIndex % NODE_SKIN_CHROME.length) + NODE_SKIN_CHROME.length) % NODE_SKIN_CHROME.length];
}