Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions packages/general-sans/200-italic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-extralight-italic */
@font-face {
font-family: 'General Sans';
font-style: italic;
font-display: swap;
font-weight: 200;
src: url(./files/GeneralSans-ExtralightItalic.woff2) format('woff2'), url(./files/GeneralSans-ExtralightItalic.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/200.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-extralight-normal */
@font-face {
font-family: 'General Sans';
font-style: normal;
font-display: swap;
font-weight: 200;
src: url(./files/GeneralSans-Extralight.woff2) format('woff2'), url(./files/GeneralSans-Extralight.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/300-italic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-light-italic */
@font-face {
font-family: 'General Sans';
font-style: italic;
font-display: swap;
font-weight: 300;
src: url(./files/GeneralSans-LightItalic.woff2) format('woff2'), url(./files/GeneralSans-LightItalic.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/300.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-light-normal */
@font-face {
font-family: 'General Sans';
font-style: normal;
font-display: swap;
font-weight: 300;
src: url(./files/GeneralSans-Light.woff2) format('woff2'), url(./files/GeneralSans-Light.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/400-italic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-regular-italic */
@font-face {
font-family: 'General Sans';
font-style: italic;
font-display: swap;
font-weight: 400;
src: url(./files/GeneralSans-Italic.woff2) format('woff2'), url(./files/GeneralSans-Italic.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/400.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-regular-normal */
@font-face {
font-family: 'General Sans';
font-style: normal;
font-display: swap;
font-weight: 400;
src: url(./files/GeneralSans-Regular.woff2) format('woff2'), url(./files/GeneralSans-Regular.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/500-italic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-medium-italic */
@font-face {
font-family: 'General Sans';
font-style: italic;
font-display: swap;
font-weight: 500;
src: url(./files/GeneralSans-MediumItalic.woff2) format('woff2'), url(./files/GeneralSans-MediumItalic.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/500.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-medium-normal */
@font-face {
font-family: 'General Sans';
font-style: normal;
font-display: swap;
font-weight: 500;
src: url(./files/GeneralSans-Medium.woff2) format('woff2'), url(./files/GeneralSans-Medium.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/600-italic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-semibold-italic */
@font-face {
font-family: 'General Sans';
font-style: italic;
font-display: swap;
font-weight: 600;
src: url(./files/GeneralSans-SemiboldItalic.woff2) format('woff2'), url(./files/GeneralSans-SemiboldItalic.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/600.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-semibold-normal */
@font-face {
font-family: 'General Sans';
font-style: normal;
font-display: swap;
font-weight: 600;
src: url(./files/GeneralSans-Semibold.woff2) format('woff2'), url(./files/GeneralSans-Semibold.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/700-italic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-bold-italic */
@font-face {
font-family: 'General Sans';
font-style: italic;
font-display: swap;
font-weight: 700;
src: url(./files/GeneralSans-BoldItalic.woff2) format('woff2'), url(./files/GeneralSans-BoldItalic.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
9 changes: 9 additions & 0 deletions packages/general-sans/700.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* general-sans-bold-normal */
@font-face {
font-family: 'General Sans';
font-style: normal;
font-display: swap;
font-weight: 700;
src: url(./files/GeneralSans-Bold.woff2) format('woff2'), url(./files/GeneralSans-Bold.woff) format('woff');
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
1 change: 0 additions & 1 deletion packages/general-sans/files/.gitkeep

This file was deleted.

Binary file added packages/general-sans/files/GeneralSans-Bold.eot
Binary file not shown.
Binary file added packages/general-sans/files/GeneralSans-Bold.ttf
Binary file not shown.
Binary file added packages/general-sans/files/GeneralSans-Bold.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added packages/general-sans/files/GeneralSans-Light.eot
Binary file not shown.
Binary file added packages/general-sans/files/GeneralSans-Light.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
153 changes: 153 additions & 0 deletions packages/general-sans/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
/* general-sans-extralight */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-Extralight.woff2') format('woff2'),
url('./files/GeneralSans-Extralight.woff') format('woff'),
url('./files/GeneralSans-Extralight.ttf') format('truetype');
font-weight: 200;
font-display: swap;
font-style: normal;
}

/* general-sans-extralight-italic */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-ExtralightItalic.woff2') format('woff2'),
url('./files/GeneralSans-ExtralightItalic.woff') format('woff'),
url('./files/GeneralSans-ExtralightItalic.ttf') format('truetype');
font-weight: 200;
font-display: swap;
font-style: italic;
}

/* general-sans-light */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-Light.woff2') format('woff2'),
url('./files/GeneralSans-Light.woff') format('woff'),
url('./files/GeneralSans-Light.ttf') format('truetype');
font-weight: 300;
font-display: swap;
font-style: normal;
}

/* general-sans-light-italic */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-LightItalic.woff2') format('woff2'),
url('./files/GeneralSans-LightItalic.woff') format('woff'),
url('./files/GeneralSans-LightItalic.ttf') format('truetype');
font-weight: 300;
font-display: swap;
font-style: italic;
}

/* general-sans-regular */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-Regular.woff2') format('woff2'),
url('./files/GeneralSans-Regular.woff') format('woff'),
url('./files/GeneralSans-Regular.ttf') format('truetype');
font-weight: 400;
font-display: swap;
font-style: normal;
}

/* general-sans-italic */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-Italic.woff2') format('woff2'),
url('./files/GeneralSans-Italic.woff') format('woff'),
url('./files/GeneralSans-Italic.ttf') format('truetype');
font-weight: 400;
font-display: swap;
font-style: italic;
}

/* general-sans-medium */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-Medium.woff2') format('woff2'),
url('./files/GeneralSans-Medium.woff') format('woff'),
url('./files/GeneralSans-Medium.ttf') format('truetype');
font-weight: 500;
font-display: swap;
font-style: normal;
}

/* general-sans-medium-italic */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-MediumItalic.woff2') format('woff2'),
url('./files/GeneralSans-MediumItalic.woff') format('woff'),
url('./files/GeneralSans-MediumItalic.ttf') format('truetype');
font-weight: 500;
font-display: swap;
font-style: italic;
}

/* general-sans-semibold */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-Semibold.woff2') format('woff2'),
url('./files/GeneralSans-Semibold.woff') format('woff'),
url('./files/GeneralSans-Semibold.ttf') format('truetype');
font-weight: 600;
font-display: swap;
font-style: normal;
}

/* general-sans-semibold-italic */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-SemiboldItalic.woff2') format('woff2'),
url('./files/GeneralSans-SemiboldItalic.woff') format('woff'),
url('./files/GeneralSans-SemiboldItalic.ttf') format('truetype');
font-weight: 600;
font-display: swap;
font-style: italic;
}

/* general-sans-bold */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-Bold.woff2') format('woff2'),
url('./files/GeneralSans-Bold.woff') format('woff'),
url('./files/GeneralSans-Bold.ttf') format('truetype');
font-weight: 700;
font-display: swap;
font-style: normal;
}

/* general-sans-bold-italic */
@font-face {
font-family: 'General Sans';
src: url('./files/GeneralSans-BoldItalic.woff2') format('woff2'),
url('./files/GeneralSans-BoldItalic.woff') format('woff'),
url('./files/GeneralSans-BoldItalic.ttf') format('truetype');
font-weight: 700;
font-display: swap;
font-style: italic;
}

/* general-sans-variable */
@font-face {
font-family: 'General Sans Variable';
src: url('./files/GeneralSans-Variable.woff2') format('woff2'),
url('./files/GeneralSans-Variable.woff') format('woff'),
url('./files/GeneralSans-Variable.ttf') format('truetype');
font-weight: 200 700;
font-display: swap;
font-style: normal;
}

/* general-sans-variable-italic */
@font-face {
font-family: 'General Sans Variable';
src: url('./files/GeneralSans-VariableItalic.woff2') format('woff2'),
url('./files/GeneralSans-VariableItalic.woff') format('woff'),
url('./files/GeneralSans-VariableItalic.ttf') format('truetype');
font-weight: 200 700;
font-display: swap;
font-style: italic;
}
20 changes: 20 additions & 0 deletions packages/general-sans/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"id": "general-sans",
"family": "General Sans",
"subsets": ["latin"],
"weights": [200, 300, 400, 500, 600, 700],
"styles": ["italic", "normal"],
"defSubset": "latin",
"variable": {
"wght": {"default": "400", "min": "200", "max": "700", "step": "1"}
},
"lastModified": "2025-02-05",
"version": "v1",
"category": "sans-serif",
"license": {
"type": "OFL-1.1",
"url": "https://www.fontshare.com/fonts/general-sans",
"attribution": "Frode Helland"
},
"source": "https://www.fontshare.com/fonts/general-sans"
}
58 changes: 58 additions & 0 deletions packages/general-sans/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"name": "@knide/general-sans",
"version": "1.0.0",
"description": "Self-host the General Sans font in a neatly bundled NPM package.",
"main": "index.css",
"publishConfig": {
"access": "public"
},
"keywords": [
"fontsource",
"font",
"font family",
"general sans",
"General Sans",
"css",
"web",
"typeface",
"variable"
],
"exports": {
".": {
"sass": "./index.css",
"default": "./index.css"
},
"./*": {
"sass": "./*.css",
"default": "./*.css"
},
"./*.css": {
"sass": "./*.css",
"default": "./*.css"
},
"./files/*": {
"sass": "./files/*",
"default": "./files/*"
},
"./files/*.woff": {
"sass": "./files/*.woff",
"default": "./files/*.woff"
},
"./files/*.woff2": {
"sass": "./files/*.woff2",
"default": "./files/*.woff2"
},
"./package.json": "./package.json",
"./metadata.json": "./metadata.json",
"./unicode.json": "./unicode.json",
"./scss": {
"sass": "./scss/metadata.scss"
}
},
"author": "Frode Helland",
"license": "OFL-1.1",
"repository": {
"type": "git",
"directory": "fonts/general-sans"
}
}
Loading