Skip to content

Commit df103c0

Browse files
chore: update fumadocs-ui and adjust tab styles with brand colors
1 parent a0d1b61 commit df103c0

File tree

3 files changed

+119
-12
lines changed

3 files changed

+119
-12
lines changed

app/global.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@
517517
--color-fd-card-foreground: var(--color-grey-900);
518518
--color-fd-border: var(--color-grey-300);
519519
--color-fd-primary-foreground: var(--color-base-black);
520-
--color-fd-secondary: var(--color-grey-200);
520+
--color-fd-secondary: var(--color-grey-100);
521521
--color-fd-secondary-foreground: var(--color-grey-900);
522522
--color-fd-accent-foreground: var(--color-base-black);
523523
--color-fd-ring: var(--color-brand-500);
@@ -585,6 +585,17 @@
585585

586586

587587
.nc-docs-layout {
588+
[role="tablist"] {
589+
button:is([role="tab"]):is([aria-selected="true"]) {
590+
color: var(--color-brand-500) !important;
591+
border-color: var(--color-brand-500) !important;
592+
}
593+
594+
button:is([role="tab"]):is([aria-selected="false"]) {
595+
font-weight: 400 !important;
596+
}
597+
}
598+
588599
.prose {
589600
h1 {
590601
@apply text-nc-content-grey-emphasis text-[40px] leading-16 font-semibold;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"clsx": "^2.1.1",
2828
"fumadocs-core": "15.6.2",
2929
"fumadocs-mdx": "11.6.10",
30-
"fumadocs-ui": "15.6.2",
30+
"fumadocs-ui": "15.6.8",
3131
"jsdom": "^26.1.0",
3232
"lucide-react": "^0.536.0",
3333
"nc-analytics": "^0.0.9",

pnpm-lock.yaml

Lines changed: 106 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)