You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@font-face {
font-family: 'defaultText';
src: url('chrome-extension://'+$extensionId+'/Inter-Regular.woff2')
format('woff2'),
url('chrome-extension://'+$extensionId+'/Inter-Regular.woff')
format('woff');
}
.some-class {
// I set the fallback font to serif so it's easy to catchfont-family: 'defaultText', serif;
}
Here's the style tag that gets put inside my shadow. I've tested those urls and the font is there.
If I change <root.div> to <div> the fonts load properly.