Skip to content

Commit

Permalink
Import font family from defaultStyleSet
Browse files Browse the repository at this point in the history
  • Loading branch information
Corina committed Feb 4, 2019
1 parent 893fcb0 commit ca979fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/component/src/Styles/StyleSet/ErrorNotification.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
import { primarySmallFont } from '../Fonts';

export default function ({
connectivityIconPadding,
connectivityMarginLeftRight,
connectivityMarginTopBottom,
connectivityTextSize,
failedConnectivity,
primaryFont

}) {
return {
...primarySmallFont,
alignItems: 'center',
color: failedConnectivity,
display: 'flex',
fontFamily: primaryFont,
fontSize: connectivityTextSize,
fontWeight: 'bold',
marginBottom: connectivityMarginTopBottom,
Expand Down
5 changes: 2 additions & 3 deletions packages/component/src/Styles/StyleSet/WarningNotification.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import { primarySmallFont } from '../Fonts';

export default function ({
connectivityIconPadding,
connectivityMarginLeftRight,
connectivityMarginTopBottom,
connectivityTextSize,
primaryFont,
slowConnectivity,
slowConnectivityText,

}) {
return {
...primarySmallFont,
alignItems: 'center',
color: slowConnectivityText,
display: 'flex',
fontFamily: primaryFont,
fontSize: connectivityTextSize,
marginBottom: connectivityMarginTopBottom,
marginLeft: connectivityMarginLeftRight,
Expand Down

0 comments on commit ca979fd

Please sign in to comment.