Skip to content

Commit

Permalink
coral-web: add icon font back into codebase (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
wujessica authored Jun 5, 2024
1 parent 17a67df commit 3af28b2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions src/interfaces/coral_web/src/styles/fonts.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@font-face {
font-family: 'CohereText';
src: url('https://fonts.cohere.com/CohereVariable.woff2') format('woff2'),
src: url('https://fonts.cohere.com/CohereText-Regular.woff2') format('woff2'),
url('https://fonts.cohere.com/CohereText-Regular.woff') format('woff');
font-weight: 400;
font-style: normal;
Expand Down Expand Up @@ -47,15 +47,15 @@

@font-face {
font-family: 'CohereIconDefault';
src: url('https://fonts.cohere.com/CohereIcon-Default.woff') format('woff');
src: url('../../public/fonts/CohereIcon-Default.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: block;
}

@font-face {
font-family: 'CohereIconOutline';
src: url('https://fonts.cohere.com/CohereIcon-Outline.woff') format('woff');
src: url('../../public/fonts/CohereIcon-Outline.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: block;
Expand Down
16 changes: 16 additions & 0 deletions src/interfaces/coral_web/src/styles/icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -302,4 +302,20 @@

.icon-calculator:before {
content: '\e944';
}

.icon-github:before {
content: '\e945';
}

.icon-at:before {
content: '\e946';
}

.icon-plugs-connected:before {
content: '\e947';
}

.icon-settings:before {
content: '\e948';
}

0 comments on commit 3af28b2

Please sign in to comment.