Skip to content

Commit

Permalink
export font family in variable (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
loivsen authored Oct 26, 2023
1 parent 4931aed commit 875e752
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/uui-css/lib/custom-properties.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ UUI - Mapping-level or specific component name - State - Name - Part - Overwrite
@import './custom-properties/shadow.css';
@import './custom-properties/palette.css';
@import './custom-properties/colors.css';
@import './custom-properties/fonts.css';
5 changes: 5 additions & 0 deletions packages/uui-css/lib/custom-properties/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import '../typography/lato.css';

:root {
--uui-font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

0 comments on commit 875e752

Please sign in to comment.