Skip to content

Commit

Permalink
fix: Revert post font change in blog view (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon authored Feb 22, 2025
1 parent 193968a commit 9999fc7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"main.js"
],
"css": [
"peepr_shadow.css"
"static.css"
]
}
],
Expand Down
3 changes: 0 additions & 3 deletions src/peepr_shadow.css

This file was deleted.

9 changes: 9 additions & 0 deletions src/static.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[role="dialog"][aria-modal="true"] [style^="background-color: rgba("][style$="0.85);"][tabindex="-1"] {
background-color: rgba(var(--navy), 0.85) !important;
}

/* disable post font override from the blog view's use of true blue variables */
:root[style*="--font-family"] div[style*="--font-family"][style*="--blog-title-color"] {
--font-family: unset !important;
--font-family-modern: unset !important;
}

0 comments on commit 9999fc7

Please sign in to comment.