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-base64:~assets/PiratesTypeFace-Bold.ttf) format("truetype"); } but font is not changed
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?