Skip to content

Commit

Permalink
fix: don't ship theming demo fonts in the package
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuth committed Jan 4, 2023
1 parent 9c08032 commit a0d6143
Show file tree
Hide file tree
Showing 16 changed files with 47 additions and 48 deletions.
33 changes: 33 additions & 0 deletions .storybook/pages/AlongDemo/GlobalStyles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,39 @@
# GLOBAL STYLES FOR ALONG DEMO
\*------------------------------------*/

@font-face {
font-family: 'Moranga';
src: url(./fonts/moranga-medium.woff) format('woff'),
url(./fonts/moranga-medium.woff2) format('woff2');
font-weight: 500 900;
}

@font-face {
font-family: 'Moranga';
src: url(./fonts/moranga-light.woff) format('woff'),
url(./fonts/moranga-light.woff2) format('woff2');
}

@font-face {
font-family: 'NB International Pro Mono';
src: url(./fonts/nb-international-pro-mono.woff) format('woff'),
url(./fonts/nb-international-pro-mono.woff2) format('woff2'),
url(./fonts/nb-international-pro-mono.ttf) format('ttf');
}

@font-face {
font-family: 'Untitled Sans';
src: url(./fonts/untitled-sans-medium.woff) format('woff'),
url(./fonts/untitled-sans-medium.woff2) format('woff2');
font-weight: 500 900;
}

@font-face {
font-family: 'Untitled Sans';
src: url(./fonts/untitled-sans-regular.woff) format('woff'),
url(./fonts/untitled-sans-regular.woff2) format('woff2');
}

/**
* Global styles for AlongDemo
*
Expand Down
14 changes: 14 additions & 0 deletions .storybook/pages/WireframeDemo/GlobalStyles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
# GLOBAL STYLES FOR WIREFRAME DEMO
\*------------------------------------*/

@font-face {
font-family: 'Balsamiq Sans';
font-weight: 400;
font-style: normal;
src: url('./fonts/BalsamiqSans-Regular.woff2') format('woff2');
}

@font-face {
font-family: 'Redacted Script';
font-weight: 400;
font-style: normal;
src: url('./fonts/RedactedScript-Regular.woff2') format('woff2');
}

/**
* Global styles for WireframeDemo
*
Expand Down
48 changes: 0 additions & 48 deletions src/design-tokens/tier-1-definitions/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,51 +46,3 @@
font-style: normal;
src: url('./fonts/MintGroteskV1.1-Medium.woff2') format('woff2');
}

/* TODO: move these into .storybook/ */
@font-face {
font-family: 'Balsamiq Sans';
font-weight: 400;
font-style: normal;
src: url('./fonts/BalsamiqSans-Regular.woff2') format('woff2');
}

@font-face {
font-family: 'Redacted Script';
font-weight: 400;
font-style: normal;
src: url('./fonts/RedactedScript-Regular.woff2') format('woff2');
}

@font-face {
font-family: 'Moranga';
src: url(./fonts/moranga-medium.woff) format('woff'),
url(./fonts/moranga-medium.woff2) format('woff2');
font-weight: 500 900;
}

@font-face {
font-family: 'Moranga';
src: url(./fonts/moranga-light.woff) format('woff'),
url(./fonts/moranga-light.woff2) format('woff2');
}

@font-face {
font-family: 'NB International Pro Mono';
src: url(./fonts/nb-international-pro-mono.woff) format('woff'),
url(./fonts/nb-international-pro-mono.woff2) format('woff2'),
url(./fonts/nb-international-pro-mono.ttf) format('ttf');
}

@font-face {
font-family: 'Untitled Sans';
src: url(./fonts/untitled-sans-medium.woff) format('woff'),
url(./fonts/untitled-sans-medium.woff2) format('woff2');
font-weight: 500 900;
}

@font-face {
font-family: 'Untitled Sans';
src: url(./fonts/untitled-sans-regular.woff) format('woff'),
url(./fonts/untitled-sans-regular.woff2) format('woff2');
}

0 comments on commit a0d6143

Please sign in to comment.