Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
[UI] adding Monospace font (#1133)
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Mathis <[email protected]>

[UI] fixing override issue caused by AOT

Signed-off-by: Scott Mathis <[email protected]>

[wip] update gemini tests

Signed-off-by: Scott Mathis <[email protected]>
  • Loading branch information
mathisscott authored Jul 5, 2017
1 parent 6b7342e commit aa9cf3d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 0 deletions.
Binary file modified gemini/screens/tree-view/Tree View - Basic/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gemini/screens/wizard/custom-danger-button/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gemini/screens/wizard/dynamic-wizard/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gemini/screens/wizard/form-alert/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified gemini/screens/wizard/form-validation/default/chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/clarity-angular/code/syntax-highlight/_code.clarity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@include exports('code.clarity') {
//Styles for Clarity Code Snippets

pre, pre[class*="language-"] {
margin: $clr_baselineRem_0_5 0;
}
Expand All @@ -21,6 +22,9 @@

//Overriding PrismJS code styles
:not(pre) > code[class*="language-"], pre[class*="language-"], pre, code[class*="language-"] {
// aot is allowing prism to push its styles below ours; using important here instead of
// an extra layer of specificity due to the nature of code/pre tags.
font-family: $clr-monoFont !important;
line-height: $clr_baselineRem_1;
padding: 0;
}
Expand Down
1 change: 1 addition & 0 deletions src/clarity-angular/utils/_variables.clarity.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ $clr-breakpoints: (
//1. Fonts Options
$clr-font: Metropolis, 'Avenir Next', 'Helvetica Neue', Arial, sans-serif !default; //Default font stack for Clarity
$clr-altFont: $clr-font !default; //TODO: TBD. Alternative font for Clarity
$clr-monoFont: Consolas, Monaco, Courier, monospace !default;
$clr-font-base-size: 14 !default;
$clr-font-size: unquote($clr-font-base-size+'px') !default;
$clr-rem-denominator: $clr-font-base-size !default;
Expand Down

0 comments on commit aa9cf3d

Please sign in to comment.