-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PBNTR-187] [PBNTR-250] Power Centra in Playbook Part 2 (Change Varia…
…ble Settings) (#3134) **What does this PR do?** A clear and concise description with your runway ticket url. - Updates typography variables to align closer to Proxima - Fixes graphs using improper font weight - Fixes button sizes from rem to px's **Screenshots:** Screenshots to visualize your addition/change <img width="1437" alt="image" src="https://github.com/powerhome/playbook/assets/863031/249ee81c-54d9-4453-ade9-8361e53440ad"> **How to test?** Steps to confirm the desired behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See addition/change #### Checklist: - [ ] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new kit`, `deprecated`, or `breaking`. See [Changelog & Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels) for details. - [ ] **DEPLOY** I have added the `milano` label to show I'm ready for a review. - [ ] **TESTS** I have added test coverage to my code. --------- Co-authored-by: nickamantia <nick.amantia@powerhrg.com> Co-authored-by: Carlos Lima <carloslimasd@gmail.com> Co-authored-by: Jasper Furniss <jasper.furniss@powerhrg.com>
- Loading branch information
1 parent
b3557a0
commit 774b484
Showing
75 changed files
with
103 additions
and
294 deletions.
There are no files selected for viewing
Binary file added
BIN
+46.8 KB
examples/playbook-rails-webpack/app/assets/fonts/PowerCentra-Bold.woff2
Binary file not shown.
Binary file added
BIN
+47.6 KB
examples/playbook-rails-webpack/app/assets/fonts/PowerCentra-BoldItalic.woff2
Binary file not shown.
Binary file added
BIN
+44.7 KB
examples/playbook-rails-webpack/app/assets/fonts/PowerCentra-Book.woff2
Binary file not shown.
Binary file added
BIN
+46.2 KB
examples/playbook-rails-webpack/app/assets/fonts/PowerCentra-BookItalic.woff2
Binary file not shown.
Binary file added
BIN
+45.1 KB
examples/playbook-rails-webpack/app/assets/fonts/PowerCentra-Light.woff2
Binary file not shown.
Binary file removed
BIN
-29.1 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-Black.woff2
Binary file not shown.
Binary file removed
BIN
-30.2 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-BlackIt.woff2
Binary file not shown.
Binary file removed
BIN
-30.1 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-Bold.woff2
Binary file not shown.
Binary file removed
BIN
-31.2 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-BoldIt.woff2
Binary file not shown.
Binary file removed
BIN
-30 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-Extrabld.woff2
Binary file not shown.
Binary file removed
BIN
-31.4 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-ExtrabldIt.woff2
Binary file not shown.
Binary file removed
BIN
-30.2 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-Light.woff2
Binary file not shown.
Binary file removed
BIN
-31.5 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-LightIt.woff2
Binary file not shown.
Binary file removed
BIN
-30.4 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-Regular.woff2
Binary file not shown.
Binary file removed
BIN
-31.3 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-RegularIt.woff2
Binary file not shown.
Binary file removed
BIN
-29.9 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-Semibold.woff2
Binary file not shown.
Binary file removed
BIN
-31.2 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-SemiboldIt.woff2
Binary file not shown.
Binary file removed
BIN
-29.4 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-Thin.woff2
Binary file not shown.
Binary file removed
BIN
-30.4 KB
examples/playbook-rails-webpack/app/assets/fonts/ProximaNova-ThinIt.woff2
Binary file not shown.
129 changes: 33 additions & 96 deletions
129
examples/playbook-rails-webpack/app/assets/stylesheets/_fonts.scss
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 |
---|---|---|
@@ -1,97 +1,34 @@ | ||
@font-face { | ||
src: font-url('ProximaNova-Regular.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 500; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Light.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 400; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Thin.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 100; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Semibold.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 600; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Bold.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 700; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Extrabld.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 800; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Black.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 900; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-RegularIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 500; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-LightIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 400; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-ThinIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 100; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-SemiboldIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 600; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-BoldIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 700; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-ExtrabldIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 800; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-BlackIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 900; | ||
} | ||
src: font-url('PowerCentra-Light.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: normal; | ||
font-weight: 300; | ||
} | ||
|
||
@font-face { | ||
src: font-url('PowerCentra-Book.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: normal; | ||
font-weight: 400; | ||
} | ||
|
||
@font-face { | ||
src: font-url('PowerCentra-BookItalic.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: italic; | ||
font-weight: 400; | ||
} | ||
|
||
@font-face { | ||
src: font-url('PowerCentra-Bold.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: normal; | ||
font-weight: 700; | ||
} | ||
|
||
@font-face { | ||
src: font-url('PowerCentra-BoldItalic.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: italic; | ||
font-weight: 700; | ||
} |
Binary file not shown.
Binary file added
BIN
+47.6 KB
examples/playbook-rails/app/assets/fonts/PowerCentra-BoldItalic.woff2
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+46.2 KB
examples/playbook-rails/app/assets/fonts/PowerCentra-BookItalic.woff2
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 removed
BIN
-31.4 KB
examples/playbook-rails/app/assets/fonts/ProximaNova-ExtrabldIt.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-31.3 KB
examples/playbook-rails/app/assets/fonts/ProximaNova-RegularIt.woff2
Binary file not shown.
Binary file removed
BIN
-29.9 KB
examples/playbook-rails/app/assets/fonts/ProximaNova-Semibold.woff2
Binary file not shown.
Binary file removed
BIN
-31.2 KB
examples/playbook-rails/app/assets/fonts/ProximaNova-SemiboldIt.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
112 changes: 24 additions & 88 deletions
112
examples/playbook-rails/app/assets/stylesheets/_fonts.scss
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 |
---|---|---|
@@ -1,98 +1,34 @@ | ||
@font-face { | ||
src: font-url('ProximaNova-Regular.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 500; | ||
|
||
src: font-url('PowerCentra-Light.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: normal; | ||
font-weight: 300; | ||
} | ||
|
||
@font-face { | ||
src: font-url('ProximaNova-Light.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 400; | ||
|
||
src: font-url('PowerCentra-Book.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: normal; | ||
font-weight: 400; | ||
} | ||
|
||
@font-face { | ||
src: font-url('ProximaNova-Thin.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 100; | ||
|
||
src: font-url('PowerCentra-BookItalic.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: italic; | ||
font-weight: 400; | ||
} | ||
|
||
@font-face { | ||
src: font-url('ProximaNova-Semibold.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 600; | ||
|
||
src: font-url('PowerCentra-Bold.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: normal; | ||
font-weight: 700; | ||
} | ||
|
||
@font-face { | ||
src: font-url('ProximaNova-Bold.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 700; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Extrabld.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 800; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-Black.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: normal; | ||
font-weight: 900; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-RegularIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 500; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-LightIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 400; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-ThinIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 100; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-SemiboldIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 600; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-BoldIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 700; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-ExtrabldIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 800; | ||
|
||
} | ||
@font-face { | ||
src: font-url('ProximaNova-BlackIt.woff2') format('woff2'); | ||
font-family: 'Proxima Nova'; | ||
font-style: italic; | ||
font-weight: 900; | ||
|
||
src: font-url('PowerCentra-BoldItalic.woff2') format('woff2'); | ||
font-family: 'Power Centra'; | ||
font-style: italic; | ||
font-weight: 700; | ||
} |
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
Binary file added
BIN
+62.7 KB
playbook-website/app/javascript/site_styles/fonts/PowerCentra-Bold.woff
Binary file not shown.
Binary file added
BIN
+64.2 KB
playbook-website/app/javascript/site_styles/fonts/PowerCentra-BoldItalic.woff
Binary file not shown.
Binary file added
BIN
+59.6 KB
playbook-website/app/javascript/site_styles/fonts/PowerCentra-Book.woff
Binary file not shown.
Binary file added
BIN
+62.3 KB
playbook-website/app/javascript/site_styles/fonts/PowerCentra-BookItalic.woff
Binary file not shown.
Binary file added
BIN
+60.4 KB
playbook-website/app/javascript/site_styles/fonts/PowerCentra-Light.woff
Binary file not shown.
Binary file removed
BIN
-40.4 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Black-It.woff
Binary file not shown.
Binary file removed
BIN
-40.7 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Black.woff
Binary file not shown.
Binary file removed
BIN
-41.6 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Bold-It.woff
Binary file not shown.
Binary file removed
BIN
-41.6 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Bold.woff
Binary file not shown.
Binary file removed
BIN
-41.4 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Light-It.woff
Binary file not shown.
Binary file removed
BIN
-41 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Light.woff
Binary file not shown.
Binary file removed
BIN
-41.4 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Reg-It.woff
Binary file not shown.
Binary file removed
BIN
-41.1 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Reg.woff
Binary file not shown.
Binary file removed
BIN
-41.2 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Sbold-It.woff
Binary file not shown.
Binary file removed
BIN
-41.1 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Sbold.woff
Binary file not shown.
Binary file removed
BIN
-39.7 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Thin-It.woff
Binary file not shown.
Binary file removed
BIN
-39.4 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Thin.woff
Binary file not shown.
Binary file removed
BIN
-41.8 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Xbold-It.woff
Binary file not shown.
Binary file removed
BIN
-41.6 KB
playbook-website/app/javascript/site_styles/fonts/Proxima-Nova-Xbold.woff
Binary file not shown.
Oops, something went wrong.