Skip to content

Fix: move CSS @import to top of stylesheet#12

Merged
kollhof merged 1 commit intomainfrom
fix-css-import
Mar 22, 2026
Merged

Fix: move CSS @import to top of stylesheet#12
kollhof merged 1 commit intomainfrom
fix-css-import

Conversation

@kollhof
Copy link
Member

@kollhof kollhof commented Mar 22, 2026

Summary

  • Move @import url("syntax-colors.css") to the top of style.css — CSS spec requires @import before any other rules, otherwise browsers silently ignore it
  • This broke all syntax highlighting colours on the deployed site

Test plan

  • Verified locally — colours render correctly
  • CI build passes

CSS spec requires @import rules before any other rules — browsers
silently ignore them otherwise. This broke all syntax colours on the
deployed site.
@kollhof kollhof merged commit bd73bdb into main Mar 22, 2026
5 of 6 checks passed
@kollhof kollhof deleted the fix-css-import branch March 22, 2026 10:12
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