Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

fix: update font sizes #625

Merged
merged 4 commits into from
Jun 19, 2019
Merged

fix: update font sizes #625

merged 4 commits into from
Jun 19, 2019

Conversation

mjmonline
Copy link
Contributor

@mjmonline mjmonline commented May 3, 2019

Updated font sizes according to design

@vercel
Copy link

vercel bot commented May 3, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://nordnet-ui-kit-git-fix-typography-font-size-update.nordnet1.now.sh

JacobBlomgren
JacobBlomgren previously approved these changes May 3, 2019
@mjmonline
Copy link
Contributor Author

Please don't merge this branch yet

@@ -17,16 +17,16 @@ export default function createTypography() {
},
});
const primary = ({ weight = 'regular' } = {}) => ({
...ifSmallDevice(14, 16),
...ifSmallDevice(16, 16),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to have a function then? I mean it includes media query, so that will be included in all primary texts

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and perhaps will slow down the paint/draw/layout events

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good remarks, fixed

@codecov
Copy link

codecov bot commented Jun 18, 2019

Codecov Report

Merging #625 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #625      +/-   ##
==========================================
+ Coverage   84.01%   84.03%   +0.02%     
==========================================
  Files         213      213              
  Lines        1558     1560       +2     
  Branches      296      296              
==========================================
+ Hits         1309     1311       +2     
  Misses        214      214              
  Partials       35       35

fontSize: smallFontSize,
letterSpacing: 'normal',
[`@media only screen and (min-width: ${SMALL_DEVICE}px)`]: {
Copy link
Contributor

@shmidt-i shmidt-i Jun 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SMALL_DEVICE is still 360 here, need to change to 480

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shmidt-i fixed here #632

@mjmonline mjmonline merged commit ff562b6 into master Jun 19, 2019
@mjmonline mjmonline deleted the fix/typography-font-size-update branch June 19, 2019 13:46
@nordnet-release
Copy link
Member

🎉 This PR is included in version 5.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants