-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #282 from WestpacGEL/feature/brand-font-plugin-opt…
…ions feature(fonts): add brand font options to tailwind plugin
- Loading branch information
Showing
17 changed files
with
577 additions
and
365 deletions.
There are no files selected for viewing
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,5 @@ | ||
--- | ||
'@westpac/ui': minor | ||
--- | ||
|
||
Add brand font options to withGEL tailwind plugin |
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
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
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,99 @@ | ||
/* BOM fonts */ | ||
@font-face { | ||
src: url('/fonts/lineto-brown-pro-light.woff2') format('woff2'), | ||
url('/fonts/lineto-brown-pro-light.woff') format('woff'); | ||
font-family: 'Brown Pro'; | ||
font-weight: 100 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
src: url('/fonts/lineto-brown-pro-regular.woff2') format('woff2'), | ||
url('/fonts/lineto-brown-pro-regular.woff') format('woff'); | ||
font-family: 'Brown Pro'; | ||
font-weight: 400 600; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
src: url('/fonts/lineto-brown-pro-bold.woff2') format('woff2'), | ||
url('/fonts/lineto-brown-pro-bold.woff') format('woff'); | ||
font-family: 'Brown Pro'; | ||
font-weight: 700 900; | ||
font-style: normal; | ||
} | ||
|
||
/* BSA fonts */ | ||
@font-face { | ||
src: url('/fonts/Aller_Lt.woff2') format('woff2'), url('/fonts/Aller_Lt.woff') format('woff'); | ||
font-family: 'Aller'; | ||
font-weight: 100 600; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
src: url('/fonts/Aller_Bd.woff2') format('woff2'), url('/fonts/Aller_Bd.woff') format('woff'); | ||
font-family: 'Aller'; | ||
font-weight: 700 900; | ||
font-style: normal; | ||
} | ||
|
||
/* RAMS fonts */ | ||
@font-face { | ||
src: url('/fonts/source-sans-pro-v14-latin-regular.woff2') format('woff2'), | ||
url('/fonts/source-sans-pro-v14-latin-regular.woff') format('woff'); | ||
font-family: 'Source Sans Pro'; | ||
font-weight: 100 500; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
src: url('/fonts/source-sans-pro-v14-latin-600.woff2') format('woff2'), | ||
url('/fonts/source-sans-pro-v14-latin-600.woff') format('woff'); | ||
font-family: 'Source Sans Pro'; | ||
font-weight: 600; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
src: url('/fonts/source-sans-pro-v14-latin-700.woff2') format('woff2'), | ||
url('/fonts/source-sans-pro-v14-latin-700.woff') format('woff'); | ||
font-family: 'Source Sans Pro'; | ||
font-weight: 700 900; | ||
font-style: normal; | ||
} | ||
|
||
/* STG fonts */ | ||
@font-face { | ||
src: url('/fonts/dragonbold-bold-webfont.woff2') format('woff2'), | ||
url('/fonts/dragonbold-bold-webfont.woff') format('woff'); | ||
font-family: 'Dragon Bold'; | ||
font-weight: 100 900; | ||
font-style: normal; | ||
} | ||
|
||
/* WBC fonts */ | ||
@font-face { | ||
src: url('/fonts/Westpac-Bold-v2.007.woff2') format('woff2'), url('/fonts/Westpac-Bold-v2.007.woff') format('woff'); | ||
font-family: 'Westpac'; | ||
font-weight: 100 900; | ||
font-style: normal; | ||
} | ||
|
||
/* WBG fonts */ | ||
@font-face { | ||
src: url('/fonts/montserrat-v14-latin-300.woff2') format('woff2'), | ||
url('/fonts/montserrat-v14-latin-300.woff') format('woff'); | ||
font-family: 'Montserrat'; | ||
font-weight: 100 300; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
src: url('/fonts/montserrat-v14-latin-regular.woff2') format('woff2'), | ||
url('/fonts/montserrat-v14-latin-regular.woff') format('woff'); | ||
font-family: 'Montserrat'; | ||
font-weight: 400 600; | ||
font-style: normal; | ||
} | ||
@font-face { | ||
src: url('/fonts/montserrat-v14-latin-700.woff2') format('woff2'), | ||
url('/fonts/montserrat-v14-latin-700.woff') format('woff'); | ||
font-family: 'Montserrat'; | ||
font-weight: 700 900; | ||
font-style: normal; | ||
} |
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
Oops, something went wrong.
96694d2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
gel-next-site – ./apps/site
gel-next-site-git-main-westpacgel.vercel.app
gel-next-site.vercel.app
gel-next-site-westpacgel.vercel.app