Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Commit

Permalink
Add extension URLs for the WOFF font files
Browse files Browse the repository at this point in the history
Added woff font file URLs for Bold, Italic and Medium font files that
are used in the extension dialog.
  • Loading branch information
owenvoke committed Jan 23, 2018
1 parent 49f3a80 commit 77ab5d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"contextMenus",
"tabs"
],
"web_accessible_resources": [
"fonts/*"
],
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
Expand Down
8 changes: 4 additions & 4 deletions styles/main.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@font-face
{
font-family: 'Office Code Pro';
src: url('') format('woff');
src: url('chrome-extension://__MSG_@@extension_id__/fonts/OfficeCodePro-Medium.woff') format('woff');
}

@font-face
{
font-family: 'Office Code Pro';
src: url('') format('woff');
src: url('chrome-extension://__MSG_@@extension_id__/fonts/OfficeCodePro-Bold.woff') format('woff');
font-weight: 900;
}

@font-face
{
font-family: 'Office Code Pro';
src: url('') format('woff');
src: url('chrome-extension://__MSG_@@extension_id__/fonts/OfficeCodePro-MediumItalic.woff') format('woff');
font-style: italic
}

Expand Down Expand Up @@ -92,4 +92,4 @@
border-right: 10px solid transparent;
border-top: 10px solid #4A4A4A;
position: absolute;
}
}

0 comments on commit 77ab5d6

Please sign in to comment.