@gemeentenijmegen/font 0.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,5 @@
1
+ # License
2
+
3
+ Code: EUPL v1.2
4
+ Source Sans Pro font: [SIL Open Font License, Version 1.1](https://openfontlicense.org/open-font-license-official-text/)
5
+ Oranda BT font: Copyright Bitstream, @todo add license
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Nijmegen fonts
2
+
3
+ Fonts used by the Design System of the municipality Nijmegen.
package/dist/index.css ADDED
@@ -0,0 +1,17 @@
1
+ @import "@fontsource/source-sans-pro/400.css";
2
+ @import "@fontsource/source-sans-pro/600.css";
3
+ @import "@fontsource/source-sans-pro/700.css";
4
+ @font-face {
5
+ font-display: swap;
6
+ font-family: "Oranda BT";
7
+ font-style: normal;
8
+ font-weight: 700;
9
+ src: local(oranda bt bold), url("../ordana/oranda_bold_bt.woff2") format("woff2"), url("../ordana/oranda_bold_bt.woff") format("woff");
10
+ }
11
+ @font-face {
12
+ font-display: swap;
13
+ font-family: "Oranda BT";
14
+ font-style: normal;
15
+ font-weight: 400;
16
+ src: local(oranda bt roman), url("../ordana/oranda_bt.woff2") format("woff2"), url("../ordana/oranda_bt.woff") format("woff");
17
+ }
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "version": "0.0.2-alpha.0",
3
+ "author": "gemeente Nijmegen",
4
+ "description": "Font package for the Municipality of Nijmegen",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "name": "@gemeentenijmegen/font",
7
+ "main": "dist/index.css",
8
+ "keywords": [
9
+ "nl-design-system"
10
+ ],
11
+ "scripts": {
12
+ "build": "rollup -c ./rollup.config.mjs",
13
+ "clean": "rimraf dist"
14
+ },
15
+ "private": false,
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "files": [
20
+ "src"
21
+ ],
22
+ "repository": {
23
+ "type": "git+ssh",
24
+ "url": "git@github.com:GemeenteNijmegen/design-system.git"
25
+ },
26
+ "dependencies": {
27
+ "@fontsource/source-sans-pro": "5.0.8"
28
+ },
29
+ "devDependencies": {
30
+ "postcss-discard-duplicates": "7.0.1",
31
+ "rollup": "4.12.1",
32
+ "rollup-plugin-postcss": "4.0.2"
33
+ },
34
+ "gitHead": "889e8baf6377928d46462bf70b64aa04ee0951ac"
35
+ }
package/src/index.scss ADDED
@@ -0,0 +1,25 @@
1
+ @import "@fontsource/source-sans-pro/400.css";
2
+ @import "@fontsource/source-sans-pro/600.css";
3
+ @import "@fontsource/source-sans-pro/700.css";
4
+
5
+ @font-face {
6
+ font-display: swap;
7
+ font-family: "Oranda BT";
8
+ font-style: normal;
9
+ font-weight: 700;
10
+ src:
11
+ local(oranda bt bold),
12
+ url("../ordana/oranda_bold_bt.woff2") format("woff2"),
13
+ url("../ordana/oranda_bold_bt.woff") format("woff");
14
+ }
15
+
16
+ @font-face {
17
+ font-display: swap;
18
+ font-family: "Oranda BT";
19
+ font-style: normal;
20
+ font-weight: 400;
21
+ src:
22
+ local(oranda bt roman),
23
+ url("../ordana/oranda_bt.woff2") format("woff2"),
24
+ url("../ordana/oranda_bt.woff") format("woff");
25
+ }