Skip to content

fix(docs): drop the redundant token @import that 404s on every page - #86

Merged
chrisjleal merged 1 commit into
mainfrom
fix/docs-redundant-token-import
Nov 23, 2026
Merged

chrisjleal merged 1 commit into
mainfrom
fix/docs-redundant-token-import

Conversation

@chrisjleal

Copy link
Copy Markdown
Contributor

Every docs page logs a console error: styles.css imports ./proofable-tokens.css, which resolves against the page path (for example /learn/legal/proofable-tokens.css) and comes back as a 404 with text/plain. The root path 404s too.

The import isn't needed. Mintlify already includes proofable-tokens.css on every page: all 72 --proofable-* tokens are live on docs.proofable.me, and styles.css defines none of them. This removes the line and updates the comment to explain it.

/privacy and /terms on proofable.me redirect to these legal pages, so this was the one console error on the launch path.

Check after deploy: open any docs page; the console shows no proofable-tokens.css error and the colours stay the same.

🤖 Generated with Claude Code

Mintlify already includes proofable-tokens.css on every page (all 72 tokens are
live on docs.proofable.me). The relative @import in styles.css resolved against
each page's path, 404'd as text/plain, and logged a console error on every page,
including the legal pages that /privacy and /terms redirect to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chrisjleal
chrisjleal merged commit 4ef0151 into main Nov 23, 2026
1 check passed
@chrisjleal
chrisjleal deleted the fix/docs-redundant-token-import branch November 23, 2026 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant