Skip to content

Commit 2ade81f

Browse files
authored
Merge pull request #34 from basicmachines-co/codex/update-docs-theme
Update docs theme to match marketing palette
2 parents 0a0e0ff + 0c2adce commit 2ade81f

8 files changed

Lines changed: 463 additions & 56 deletions

File tree

app/app.config.ts

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,24 @@ export default defineAppConfig({
44
},
55
ui: {
66
colors: {
7-
primary: 'orange',
8-
neutral: 'stone',
7+
primary: 'cobalt',
8+
secondary: 'annotation',
9+
neutral: 'ink',
10+
},
11+
pageHeader: {
12+
slots: {
13+
root: 'relative border-b border-default py-10',
14+
headline: 'mb-3 flex items-center gap-1.5 font-mono text-[13px] font-normal text-secondary',
15+
title: 'font-[var(--docs-font-serif)] text-[2.15rem] md:text-[3.25rem] leading-[1.06] font-medium text-pretty text-highlighted',
16+
description: 'font-[var(--docs-font-serif)] text-[1.15rem] md:text-[1.6875rem] leading-[1.4] italic text-pretty text-toned',
17+
},
18+
},
19+
header: {
20+
slots: {
21+
root: 'border-b border-default bg-default/90 backdrop-blur',
22+
title: 'shrink-0 font-mono text-[15px] font-semibold text-highlighted flex items-end gap-1.5',
23+
link: 'font-mono',
24+
},
925
},
1026
commandPalette: {
1127
slots: {
@@ -18,9 +34,21 @@ export default defineAppConfig({
1834
slots: {
1935
linkLeadingIcon: 'size-4 mr-1',
2036
linkTrailing: 'hidden',
37+
trigger: 'font-mono font-semibold',
38+
link: 'font-mono text-[13px]',
2139
},
2240
defaultVariants: {
2341
variant: 'link',
42+
highlightColor: 'secondary',
43+
},
44+
},
45+
contentToc: {
46+
slots: {
47+
trigger: 'group flex flex-1 items-center gap-1.5 py-1.5 -mt-1.5 font-mono text-[13px] font-semibold focus-visible:outline-primary',
48+
link: 'group relative flex items-center py-1 font-mono text-[12.5px] focus-visible:outline-primary',
49+
},
50+
defaultVariants: {
51+
highlightColor: 'secondary',
2452
},
2553
},
2654
pageLinks: {

0 commit comments

Comments
 (0)