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

Update styles #72

Merged
merged 3 commits into from
Feb 9, 2025
Merged

Update styles #72

merged 3 commits into from
Feb 9, 2025

Conversation

lookupdaily
Copy link
Owner

  • Add new material icons import to replace use in style library
  • Update @lookupdaily/styles to v2.0.6
  • Replace logo text in header with SVG

Copy link

netlify bot commented Feb 9, 2025

Deploy Preview for silver-kataifi-036a35 ready!

Name Link
🔨 Latest commit 147778f
🔍 Latest deploy log https://app.netlify.com/sites/silver-kataifi-036a35/deploys/67a8ea80d57932000816f52e
😎 Deploy Preview https://deploy-preview-72--silver-kataifi-036a35.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Previously the entire material icons font face was being imported in the `@lookupdaily/styles` library, which was unnecessary as it was no longer being used in any of the styles.

Now directly importing via a stylesheet link, and only importing the icon(s) being used in the site. This improves the performance rating in Lighthouse - as it removes a blocking resource.
As I have updated the site with system fonts which will look slightly different on each browser/operating system, replacing the use of text in the 'logo' with the svg used in the avatar, so this is more consistent.
@lookupdaily lookupdaily merged commit 49e3cc8 into main Feb 9, 2025
9 checks passed
@lookupdaily lookupdaily deleted the update-styles branch February 9, 2025 17:50
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.

1 participant