Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
need help (why font family is not changed) - 🧩 Plasmo Developers
�PD
🧩 Plasmo Developers
•
10mo ago
•
1 reply
Jack Li
need help (why font family is not changed)
import type
{ PlasmoCSConfig
} from
"plasmo
"
export const config
: PlasmoCSConfig
=
{
matches
:
[
"
https://www.plasmo.com/*
"
]
,
css
:
[
"font
.css
"
]
}
<h2
style
=
{
{
fontSize
: 147
.67
,
margin
: 0
,
lineHeight
:
"90
%
"
,
fontFamily
:
"PirateFont
"
}
}
>
100
<
/h2
>
in font
.css
@font
-face
{
font
-family
:
"PirateFont
"
;
src
: url
(data
-
b
a
s
e
6
4
:
~assets
/PiratesTypeFace
-Bold
.ttf
) format
(
"truetype
"
)
;
}
but font is not changed
🧩 Plasmo Developers
Join
2,796
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to import Google Font?
�PD
🧩 Plasmo Developers / 👾extension
4y ago
Custom font loading in Content Script
�PD
🧩 Plasmo Developers / 👾extension
3y ago
Custom Font Isn't Working on Twitter
�PD
🧩 Plasmo Developers / 👾extension
3y ago
Embedded component won’t load custom font
�PD
🧩 Plasmo Developers / 👾extension
3y ago