Skip to content

Commit

Permalink
feat(font): update default font value
Browse files Browse the repository at this point in the history
  • Loading branch information
nnixaa committed Sep 27, 2017
1 parent dddca64 commit 5b93759
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions e2e/layout.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ describe('nb-layout', () => {
});
});

fit('should have correct font-family', () => {
element(by.css('#layout-fluid > .scrollable-container > .layout')).getCssValue('font-family').then(value => {
expect(value).toMatch('"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif');
});
});

const columns = 3;
it(`should have ${columns} nb-layout-columns`, () => {
expect(
Expand Down
2 changes: 1 addition & 1 deletion src/framework/theme/styles/themes/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@import '../core/mixins';

$theme: (
font-main: Helvetica,
font-main: unquote('"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif'),
font-secondary: font-main,

font-weight-thin: 200,
Expand Down

0 comments on commit 5b93759

Please sign in to comment.