How to import Google Font?

@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;0,700;1,400&display=swap');
doesn't work in my content scss file
8 Replies
lab
lab•3y ago
Plasmo Docs
Styling Plasmo CSUI – Plasmo
Plasmo CSUI's built-in Root Container allows extension developers to safely style their components.
jenya
jenyaOP•3y ago
Doesn't work
jenya
jenyaOP•3y ago
jenya
jenyaOP•3y ago
jenya
jenyaOP•3y ago
font displays serif still :/
lab
lab•3y ago
did you include that css in your contenscript?
jenya
jenyaOP•3y ago
@louis in the config?
lab
lab•3y ago
either in config or imported outside :-? also is the tiff files found by the framework? when inspecting the final bundle

Did you find this page helpful?