Preset combinations
These examples combine configuration options to produce different layouts, including some inspired by familiar Microsoft products. They are starting points, not built-in named presets: pass the options object to starlightFluent() and adjust any value to suit your site.
Each screenshot shows the Cards example at the Link card section, including the footer, so the layout and shadows can be compared.
Select Light or Dark in any preview to switch all previews on this page together.
OneNote
Section titled “OneNote”starlightFluent({ layout: { toc: { desktop: 'merged', mobile: 'merged', position: 'left' }, sidebar: 'subtle', corners: 'squared', shadows: 'content-only', panels: 'islands', }, features: { sidebarFilter: false, },})The screenshots use this accent palette in the site’s custom stylesheet:
/* Dark mode colors. */:root { --sl-color-accent-low: #2e193d; --sl-color-accent: #8d36c2; --sl-color-accent-high: #d6bdec;}
/* Light mode colors. */:root[data-theme='light'] { --sl-color-accent-low: #e1cef2; --sl-color-accent: #8f39c5; --sl-color-accent-high: #421f5a;}VS Code
Section titled “VS Code”starlightFluent({ layout: { toc: { desktop: 'splitted', mobile: 'splitted', position: 'right' }, sidebar: 'normal', corners: 'squared', shadows: 'content-only', panels: 'islands', }, features: { sidebarFilter: false, },})The screenshots use this palette in the site’s custom stylesheet:
/* Dark mode colors. */:root { --sl-color-accent-low: #10243e; --sl-color-accent: #0f67c8; --sl-color-accent-high: #b1cbed;}
/* Light mode colors. */:root[data-theme='light'] { --sl-color-accent-low: #c5d9f3; --sl-color-accent: #1269ca; --sl-color-accent-high: #10325c; --sl-color-bg: #e5e5e5; --sl-color-bg-sidebar: #f3f3f3;}Copilot
Section titled “Copilot”starlight({ tableOfContents: false, plugins: [ starlightFluent({ layout: { toc: { desktop: 'splitted', mobile: 'splitted', position: 'right' }, sidebar: 'normal', corners: 'rounded', shadows: 'none', panels: 'standard', }, features: { sidebarFilter: false, }, }), ],})The screenshots use this palette in the site’s custom stylesheet:
:root { --sl-color-bg: var(--sl-color-black);}
/* Dark mode colors. */:root { --sl-color-accent-low: #242424; --sl-color-accent: #6a6a6a; --sl-color-accent-high: #c8c8c8;}
/* Light mode colors. */:root[data-theme='light'] { --sl-color-accent-low: #d7d7d7; --sl-color-accent: #6b6b6b; --sl-color-accent-high: #323232;}Fluent 2
Section titled “Fluent 2”starlightFluent({ layout: { toc: { desktop: 'splitted', mobile: 'splitted', position: 'right' }, sidebar: 'normal', corners: 'squared', shadows: 'all', panels: 'islands', },})Microsoft Learn
Section titled “Microsoft Learn”starlightFluent({ layout: { toc: { desktop: 'merged', mobile: 'merged', position: 'right' }, sidebar: 'normal', corners: 'squared', shadows: 'none', panels: 'standard', },})Your Own
Section titled “Your Own”starlightFluent({ layout: { shadows: 'all', corners: 'rounded', toc: { desktop: 'merged' }, },})The screenshots use this palette in the site’s custom stylesheet:
/* Dark mode colors. */:root { --sl-color-accent-low: #00273d; --sl-color-accent: #0071a7; --sl-color-accent-high: #92d1fe; --sl-color-white: #ffffff; --sl-color-gray-1: #ddf1ff; --sl-color-gray-2: #a8c7dc; --sl-color-gray-3: #5493bc; --sl-color-gray-4: #1c5e85; --sl-color-gray-5: #003d5b; --sl-color-gray-6: #002a41; --sl-color-black: #011a2a;}
/* Light mode colors. */:root[data-theme='light'] { --sl-color-accent-low: #b0deff; --sl-color-accent: #0073aa; --sl-color-accent-high: #003653; --sl-color-white: #011a2a; --sl-color-gray-1: #002a41; --sl-color-gray-2: #003d5b; --sl-color-gray-3: #1c5e85; --sl-color-gray-4: #5493bc; --sl-color-gray-5: #a8c7dc; --sl-color-gray-6: #ddf1ff; --sl-color-gray-7: #eef8ff; --sl-color-black: #ffffff;}For details and individual comparisons, see Layout options. The option structure, defaults, and feature toggles are listed in Customization: Theme options.











