Skip to content

Commit

Permalink
fix: add missing files to system install config
Browse files Browse the repository at this point in the history
  • Loading branch information
Callin Mullaney committed Oct 24, 2024
1 parent 55fd10d commit 9fed823
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 154 deletions.
163 changes: 9 additions & 154 deletions src/foundation/typography/_fonts.scss
Original file line number Diff line number Diff line change
@@ -1,154 +1,9 @@
$font-url: '../../assets/fonts';

/* Inter */

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Bold.ttf') format('truetype');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-ExtraBold.ttf') format('truetype');
font-weight: 800;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-ExtraLight.ttf') format('truetype');
font-weight: 200;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Regular.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-SemiBold.ttf') format('truetype');
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Inter;
src: url('#{$font-url}/inter/Inter-Thin.ttf') format('truetype');
font-weight: 100;
font-style: normal;
font-display: swap;
}

/* Sentinel */

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Black.ttf') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Black.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Black.woff2') format('woff2');
font-weight: 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Bold.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Bold.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Light.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Light.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Light.woff2') format('woff2');
font-weight: 300;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-LightItalic.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-LightItalic.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-LightItalic.woff2') format('woff2');
font-weight: 300;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Medium.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Medium.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-MediumItalic.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-MediumItalic.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-MediumItalic.woff2') format('woff2');
font-weight: 500;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: Sentinel;
src:
url('#{$font-url}/sentinel/Sentinel-Semibold.woff') format('truetype'),
url('#{$font-url}/sentinel/Sentinel-Semibold.woff') format('woff'),
url('#{$font-url}/sentinel/Sentinel-Semibold.woff2') format('woff2');
font-weight: 600;
font-style: italic;
font-display: swap;
}
// $font-url: '../../assets/fonts';

// @font-face {
// font-family: [font-family];
// src: url('#{$font-url}/[font-filename]') format('truetype');
// font-weight: 500;
// font-style: normal;
// font-display: swap;
// }
14 changes: 14 additions & 0 deletions system.emulsify.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@
"description": "Various helper scripts for constructing stories"
}
],
"files": [
{
"name": "configma",
"path": "./config/configma.json",
"destinationPath": "./config/configma.json",
"description": "Figma configuration file"
},
{
"name": "sd.config",
"path": "./config/sd.config.json",
"destinationPath": "./config/sd.config.json",
"description": "Style Dictionary configuration"
}
],
"components": [
{
"name": "accordion",
Expand Down

0 comments on commit 9fed823

Please sign in to comment.