Skip to content

Commit

Permalink
Dev (#4)
Browse files Browse the repository at this point in the history
* docs: Renamed

* feat: Added repository prop to package.json

* Updates to font-face names and CDN URL (#3)

* Dev (#2)

* docs: Renamed

* feat: Added repository prop to package.json

* chore(release): 1.3.4

* feat(tokens): updates font-family strings to match font-face naming on BLP CDN and removes direct URLs to font files on CDN and replaces with yml file for single URL to CDN CSS file with dynamic font-face declarations
BREAKING CHANGE: Individual URLs to CDN font files are no longer available
  • Loading branch information
bakpa79 authored Sep 20, 2018
1 parent f6f6548 commit 8fcffee
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 67 deletions.
2 changes: 1 addition & 1 deletion index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ imports:
- type/_line-height.yml
- type/_font-weights.yml
- type/_letter-spacing.yml
- type/_font-urls.yml
- type/_cdn-url.yml
13 changes: 1 addition & 12 deletions token_names.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
[
"avenir-bold",
"avenir-bold-italic",
"avenir-demibold",
"avenir-demibold-italic",
"avenir-italic",
"avenir-regular",
"cdn-url",
"font-accent",
"font-primary",
"fontsize-base-lg",
Expand Down Expand Up @@ -32,11 +27,5 @@
"lineheight-heading-md",
"lineheight-heading-sm",
"lineheight-small",
"opensans-bold",
"opensans-bold-italic",
"opensans-italic",
"opensans-regular",
"opensans-semibold",
"opensans-semibold-italic",
"root-fontsize"
]
8 changes: 8 additions & 0 deletions type/_cdn-url.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
global:
type: string
category: CDN URL

props:
cdn-url:
type: "url"
value: '"http://assets.bwbx.io/font-service/css/AvenirNextMForBBG:400,400i,600,600i,700,700i%7COpenSans:400,400i,600,600i,700,700i/styled-font-face.css"'
52 changes: 0 additions & 52 deletions type/_font-urls.yml

This file was deleted.

4 changes: 2 additions & 2 deletions type/_typeface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ global:
props:
font-primary:
type: "fontFamily"
value: ['"Open Sans"', arial, sans-serif]
value: ['"OpenSans"', arial, sans-serif]

font-accent:
type: "fontFamily"
value: ['"Avenir Next"', '"Avenir"', '"Helvetica Neue"', helvetica, arial, sans-serif]
value: ['"AvenirNextMForBBG"', '"Avenir"', '"Helvetica Neue"', helvetica, arial, sans-serif]

0 comments on commit 8fcffee

Please sign in to comment.