Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DesignKit: Update fonts to match Figma. #187

Merged
merged 2 commits into from
Sep 15, 2022
Merged

DesignKit: Update fonts to match Figma. #187

merged 2 commits into from
Sep 15, 2022

Conversation

pixlwave
Copy link
Member

@pixlwave pixlwave commented Sep 14, 2022

Following on from #186, this PR updates the fonts in DesignKit to match the Figma (all semi-bold's are now bolds).

It seemed to make more sense to me to simplify the base fonts and apply the weight modifiers during the SwiftUI/UIKit font structs creation, but happy to revert if that doesn't seem sensible. Also, yes I chickened out of removing the bold variants - mainly because having these made the refactor really easy which I think is reason enough to keep them :)

@github-actions
Copy link

github-actions bot commented Sep 14, 2022

Warnings
⚠️ Some of the commits are missing ticket numbers. Please consinder using them for better tracking.
⚠️ You seem to have made changes to views. Please consider adding screenshots.

Generated by 🚫 Danger Swift against 284ceb6

@github-actions
Copy link

github-actions bot commented Sep 14, 2022

📱 Scan the QR code below to install the build for this PR.
🔒 This build is for internal testing purpose. Only devices listed in the ad-hoc provisioning profile can install Element Alpha.

QR code

If you can't scan the QR code you can install the build via this link: https://i.diawi.com/gu5B5h

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Base: 12.54% // Head: 12.57% // Increases project coverage by +0.03% 🎉

Coverage data is based on head (284ceb6) compared to base (bc45795).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #187      +/-   ##
===========================================
+ Coverage    12.54%   12.57%   +0.03%     
===========================================
  Files          197      197              
  Lines        12749    12717      -32     
  Branches      6176     6167       -9     
===========================================
  Hits          1599     1599              
+ Misses       11110    11078      -32     
  Partials        40       40              
Impacted Files Coverage Δ
DesignKit/Sources/Fonts/ElementBaseFonts.swift 0.00% <0.00%> (ø)
DesignKit/Sources/Fonts/ElementFonts.swift 0.00% <0.00%> (ø)
DesignKit/Sources/Fonts/ElementUIFonts.swift 0.00% <0.00%> (ø)
...Screens/AnalyticsPrompt/View/AnalyticsPrompt.swift 0.00% <0.00%> (ø)
.../Authentication/LoginScreen/View/LoginScreen.swift 0.00% <0.00%> (ø)
...n/ServerSelection/View/ServerSelectionScreen.swift 0.00% <0.00%> (ø)
...reens/SplashScreen/View/SplashScreenPageView.swift 0.00% <0.00%> (ø)
...leScreenExample/ElementX/View/TemplateScreen.swift 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pixlwave
Copy link
Member Author

Whoops, I was wrong about #186 not failing snapshots... I tested them with the wrong device. All updated in this PR.

@pixlwave pixlwave requested review from a team and ismailgulek and removed request for a team September 14, 2022 19:03
Copy link
Contributor

@ismailgulek ismailgulek left a comment

Choose a reason for hiding this comment

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

LGTM!

@pixlwave pixlwave merged commit 8967891 into develop Sep 15, 2022
@pixlwave pixlwave deleted the doug/fonts branch September 15, 2022 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants