-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
2,670 additions
and
36 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
@font-face { | ||
font-family: 'BaloiseCreateHeadline'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline'), | ||
local('BaloiseCreateHeadline-bold'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateHeadline-bold.woff2') | ||
format('woff2'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateHeadline-bold.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateHeadline'; | ||
font-style: normal; | ||
font-weight: 300; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline'), | ||
local('BaloiseCreateHeadline-light'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateHeadline-light.woff2') | ||
format('woff2'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateHeadline-light.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateText'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText'), | ||
local('BaloiseCreateText-bold'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateText-bold.woff2') format('woff2'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateText-bold.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateText'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText'), | ||
local('BaloiseCreateText-regular'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateText-regular.woff2') format('woff2'), | ||
url('https://cdn.jsdelivr.net/npm/@baloise/design-system-fonts/lib/BaloiseCreateText-regular.woff') format('woff'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@font-face { | ||
font-family: 'BaloiseCreateHeadline'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline'), | ||
local('BaloiseCreateHeadline-bold'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-bold.woff2') format('woff2'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-bold.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateHeadline'; | ||
font-style: normal; | ||
font-weight: 300; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline'), | ||
local('BaloiseCreateHeadline-light'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-light.woff2') format('woff2'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateHeadline-light.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateText'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText'), | ||
local('BaloiseCreateText-bold'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-bold.woff2') format('woff2'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-bold.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateText'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText'), | ||
local('BaloiseCreateText-regular'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-regular.woff2') format('woff2'), | ||
url('https://www.baloise.ch/app-integration/assets/fonts/BaloiseCreateText-regular.woff') format('woff'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@font-face { | ||
font-family: 'BaloiseCreateHeadline'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline'), | ||
local('BaloiseCreateHeadline-bold'), | ||
url('/assets/fonts/BaloiseCreateHeadline-bold.woff2') format('woff2'), | ||
url('/assets/fonts/BaloiseCreateHeadline-bold.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateHeadline'; | ||
font-style: normal; | ||
font-weight: 300; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline'), | ||
local('BaloiseCreateHeadline-light'), | ||
url('/assets/fonts/BaloiseCreateHeadline-light.woff2') format('woff2'), | ||
url('/assets/fonts/BaloiseCreateHeadline-light.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateText'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText'), | ||
local('BaloiseCreateText-bold'), | ||
url('/assets/fonts/BaloiseCreateText-bold.woff2') format('woff2'), | ||
url('/assets/fonts/BaloiseCreateText-bold.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'BaloiseCreateText'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText'), | ||
local('BaloiseCreateText-regular'), | ||
url('/assets/fonts/BaloiseCreateText-regular.woff2') format('woff2'), | ||
url('/assets/fonts/BaloiseCreateText-regular.woff') format('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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "@baloise/ds-fonts", | ||
"version": "0.0.0", | ||
"description": "The Baloise Design-System is an open source project for styling awesome web applications that follow the Baloise corporate styling guidelines.", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/baloise/design-system.git" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"homepage": "https://design.baloise.dev", | ||
"license": "Apache-2.0", | ||
"main": "./css/fonts.css", | ||
"files": [ | ||
"css/", | ||
"scss/", | ||
"lib/" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "@baloise/ds-fonts", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
$font-path: 'https://www.baloise.ch/app-integration/assets/fonts' !default | ||
|
||
$font-heading-bold-woff: str-insert('/BaloiseCreateHeadline-bold.woff', $font-path, 0) | ||
$font-heading-bold-woff2: str-insert('/BaloiseCreateHeadline-bold.woff2', $font-path, 0) | ||
|
||
@font-face | ||
font-family: BaloiseCreateHeadline | ||
font-style: normal | ||
font-weight: 700 | ||
font-display: swap | ||
src: local('BaloiseCreateHeadline'), local('BaloiseCreateHeadline-bold'), url("#{$font-heading-bold-woff2}") format('woff2'), url("#{$font-heading-bold-woff}") format('woff') | ||
|
||
$font-heading-light-woff: str-insert('/BaloiseCreateHeadline-light.woff', $font-path, 0) | ||
$font-heading-light-woff2: str-insert('/BaloiseCreateHeadline-light.woff2', $font-path, 0) | ||
|
||
@font-face | ||
font-family: BaloiseCreateHeadline | ||
font-style: normal | ||
font-weight: 300 | ||
font-display: swap | ||
src: local('BaloiseCreateHeadline-light'), url("#{$font-heading-light-woff2}") format('woff2'), url("#{$font-heading-light-woff}") format('woff') | ||
|
||
$font-text-bold-woff: str-insert('/BaloiseCreateText-bold.woff', $font-path, 0) | ||
$font-text-bold-woff2: str-insert('/BaloiseCreateText-bold.woff2', $font-path, 0) | ||
|
||
@font-face | ||
font-family: BaloiseCreateText | ||
font-style: normal | ||
font-weight: 700 | ||
font-display: swap | ||
src: local('BaloiseCreateText-bold'), url("#{$font-text-bold-woff2}") format('woff2'), url("#{$font-text-bold-woff}") format('woff') | ||
|
||
$font-text-regular-woff: str-insert('/BaloiseCreateText-regular.woff', $font-path, 0) | ||
$font-text-regular-woff2: str-insert('/BaloiseCreateText-regular.woff2', $font-path, 0) | ||
|
||
@font-face | ||
font-family: BaloiseCreateText | ||
font-style: normal | ||
font-weight: 400 | ||
font-display: swap | ||
src: local('BaloiseCreateText'), local('BaloiseCreateText-regular'), url("#{$font-text-regular-woff2}") format('woff2'), url("#{$font-text-regular-woff}") format('woff') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
$font-path: 'https://www.baloise.ch/app-integration/assets/fonts' !default; | ||
|
||
$font-heading-bold-woff: str-insert('/BaloiseCreateHeadline-bold.woff', $font-path, 0); | ||
$font-heading-bold-woff2: str-insert('/BaloiseCreateHeadline-bold.woff2', $font-path, 0); | ||
|
||
@font-face { | ||
font-family: BaloiseCreateHeadline; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline'), | ||
local('BaloiseCreateHeadline-bold'), | ||
url('#{$font-heading-bold-woff2}') format('woff2'), | ||
url('#{$font-heading-bold-woff}') format('woff'); | ||
} | ||
|
||
$font-heading-light-woff: str-insert('/BaloiseCreateHeadline-light.woff', $font-path, 0); | ||
$font-heading-light-woff2: str-insert('/BaloiseCreateHeadline-light.woff2', $font-path, 0); | ||
|
||
@font-face { | ||
font-family: BaloiseCreateHeadline; | ||
font-style: normal; | ||
font-weight: 300; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateHeadline-light'), | ||
url('#{$font-heading-light-woff2}') format('woff2'), | ||
url('#{$font-heading-light-woff}') format('woff'); | ||
} | ||
|
||
$font-text-bold-woff: str-insert('/BaloiseCreateText-bold.woff', $font-path, 0); | ||
$font-text-bold-woff2: str-insert('/BaloiseCreateText-bold.woff2', $font-path, 0); | ||
|
||
@font-face { | ||
font-family: BaloiseCreateText; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText-bold'), | ||
url('#{$font-text-bold-woff2}') format('woff2'), | ||
url('#{$font-text-bold-woff}') format('woff'); | ||
} | ||
|
||
$font-text-regular-woff: str-insert('/BaloiseCreateText-regular.woff', $font-path, 0); | ||
$font-text-regular-woff2: str-insert('/BaloiseCreateText-regular.woff2', $font-path, 0); | ||
|
||
@font-face { | ||
font-family: BaloiseCreateText; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: | ||
local('BaloiseCreateText'), | ||
local('BaloiseCreateText-regular'), | ||
url('#{$font-text-regular-woff2}') format('woff2'), | ||
url('#{$font-text-regular-woff}') format('woff'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
> @baloise/design-system-tokens@15.2.2 build | ||
> node ./scripts/build.mjs | ||
|
||
⏳ token generating [90mstarted ...[0m | ||
✅ [32mtoken generating [90mfinished in 0.96sec[0m |
Oops, something went wrong.