-
Notifications
You must be signed in to change notification settings - Fork 2
GH-98: Typography #312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
GH-98: Typography #312
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9765e5e
GH-98: Standardize Color & Font Size
wesleyboar 7867a1b
GH-98: Fix h4—h6 Heading Sizes
wesleyboar 1ea4ea6
GH-98: Add Typography Guide Snippet
wesleyboar bedc189
GH-98: Fix font sizes
wesleyboar c4a5257
Remove outdated comment in settings/color.css
wesleyboar e186a88
Remove outdated comment in settings/color.css
wesleyboar 3b1158a
Improve comments for link colors in settings/color.css
wesleyboar 21147f1
GH-98: Update the "NO-R/EM" comments
wesleyboar d11e577
Merge branch 'task/GH-98-typography' of https://github.com/TACC/Core-…
wesleyboar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,123 @@ | ||
| <h1>Typography</h1> | ||
|
|
||
| <hr /> | ||
|
|
||
| <section> | ||
|
|
||
| <h2>Typefaces</h2> | ||
| <style> | ||
| .c-family { letter-spacing: 0.5em; } | ||
|
|
||
| .c-family--mono { font-family: var(--global-font-family--mono); } | ||
| .c-family--serif { font-family: var(--global-font-family--serif); } | ||
| .c-family--sans { font-family: var(--global-font-family--sans); } | ||
| </style> | ||
|
|
||
| <section> | ||
| <h3>Sans</h3> | ||
| <p class="c-family--sans"> | ||
| The quick brown fox jumps over the lazy dog.</p> | ||
| <div class="c-family c-family--sans"> | ||
| <p>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p> | ||
| <p>abcdefghijklmnopqrstuvwxyz</p> | ||
| <p>0123456789</p> | ||
| </div> | ||
| </section> | ||
| <section> | ||
| <h3>Mono</h3> | ||
| <p class="c-family--mono"> | ||
| The quick brown fox jumps over the lazy dog.</p> | ||
| <div class="c-family c-family--mono"> | ||
| <p>ABCDEFGHIJKLMNOPQRSTUVWXYZ</p> | ||
| <p>abcdefghijklmnopqrstuvwxyz</p> | ||
| <p>0123456789</p> | ||
| </div> | ||
| </section> | ||
|
|
||
| </section> | ||
| <section> | ||
|
|
||
| <h2>Font Sizes</h2> | ||
|
|
||
| <section> | ||
| <h3>All Sizes</h3> | ||
| <div> | ||
| <p style="font-size: var(--global-font-size--xxx-large);"> | ||
| XXX Large</p> | ||
| <p style="font-size: var(--global-font-size--xx-large);"> | ||
| XX Large</p> | ||
| <p style="font-size: var(--global-font-size--x-large);"> | ||
| Extra Large</p> | ||
| <p style="font-size: var(--global-font-size--large);"> | ||
| Large</p> | ||
| <p style="font-size: var(--global-font-size--medium);"> | ||
| Medium</p> | ||
| <p style="font-size: var(--global-font-size--small);"> | ||
| Small</p> | ||
| <p style="font-size: var(--global-font-size--x-small);"> | ||
| Extra Small</p> | ||
| </div> | ||
| </section> | ||
| <section> | ||
| <h3>Headings</h3> | ||
| <div> | ||
| <h1>Heading One</h1> | ||
| <h2>Heading Two</h2> | ||
| <h3>Heading Three</h3> | ||
| <h4>Heading Four</h4> | ||
| <h5>Heading Five</h5> | ||
| <h6>Heading Six</h6> | ||
| </div> | ||
| </section> | ||
|
|
||
| </section> | ||
| <section> | ||
|
|
||
| <h2>Font Weights</h2> | ||
| <style> | ||
| .c-weight { | ||
| border: var(--global-border--normal); | ||
| padding: 1em; | ||
| text-align: center; | ||
| display: inline-block; | ||
| } | ||
| .c-weight + .c-weight { | ||
| margin-left: 1em; | ||
| } | ||
|
|
||
| .c-weight__sample { font-size: var(--global-font-size--xxx-large); } | ||
|
|
||
| .c-weight--regular .c-weight__sample { font-weight: var(--regular); } | ||
| .c-weight--medium .c-weight__sample { font-weight: var(--medium); } | ||
| .c-weight--bold .c-weight__sample { font-weight: var(--bold); } | ||
| </style> | ||
|
|
||
| <section class="c-weight-list"> | ||
| <h3>Sans</h3> | ||
| <figure class="c-weight c-weight--regular"> | ||
| <p class="c-weight__sample c-family--sans">Aa</p> | ||
| <figcaption>Sans Regular</figcaption> | ||
| </figure> | ||
| <figure class="c-weight c-weight--medium"> | ||
| <p class="c-weight__sample c-family--sans">Aa</p> | ||
| <figcaption>Sans Medium</figcaption> | ||
| </figure> | ||
| <figure class="c-weight c-weight--bold"> | ||
| <p class="c-weight__sample c-family--sans">Aa</p> | ||
| <figcaption>Sans Bold</figcaption> | ||
| </figure> | ||
| </section> | ||
|
|
||
| <section class="c-weight-list"> | ||
| <h3>Mono</h3> | ||
| <figure class="c-weight c-weight--regular"> | ||
| <p class="c-weight__sample c-family--mono">Aa</p> | ||
| <figcaption>Mono Regular</figcaption> | ||
| </figure> | ||
| <figure class="c-weight c-weight--bold"> | ||
| <p class="c-weight__sample c-family--mono">Aa</p> | ||
| <figcaption>Mono Bold</figcaption> | ||
| </figure> | ||
| </section> | ||
|
|
||
| </section> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.