Skip to content

✨ feat: support disabling of the font-subset in header#458

Merged
welpo merged 5 commits into
welpo:mainfrom
Nizzlay:feat/disable-font-subset
Jan 12, 2025
Merged

✨ feat: support disabling of the font-subset in header#458
welpo merged 5 commits into
welpo:mainfrom
Nizzlay:feat/disable-font-subset

Conversation

@Nizzlay

@Nizzlay Nizzlay commented Jan 8, 2025

Copy link
Copy Markdown
Contributor

Summary

I've created my own custom skin, that doens't use custom font, so I added a way to disable the font-subset.

Related issue

Changes

  • Added setting for enable_subset, which is set to true by defaults
  • Amended logic in header.html to check if the subset is enabled
  • Updated mastering-tabi-settings blogpost (English version)

Type of change

  • Bug fix (fixes an issue without altering functionality)
  • New feature (adds non-breaking functionality)
  • Breaking change (alters existing functionality)
  • UI/UX improvement (enhances user interface without altering functionality)
  • Refactor (improves code quality without altering functionality)
  • Documentation update
  • Other (please describe below)

Checklist

  • I have verified the accessibility of my changes
  • I have tested all possible scenarios for this change
  • I have updated theme.toml with a sane default for the feature
  • I have updated config.toml in tabi-start
  • I have made corresponding changes to the documentation:
    • Updated config.toml comments
    • Updated theme.toml comments
    • Updated "Mastering tabi" post in English
    • (Optional) Updated "Mastering tabi" post in Spanish
    • (Optional) Updated "Mastering tabi" post in Catalan

@Nizzlay Nizzlay requested a review from welpo as a code owner January 8, 2025 20:43
@netlify

netlify Bot commented Jan 8, 2025

Copy link
Copy Markdown

Deploy Preview for tabi-demo ready!

Name Link
🔨 Latest commit 5c5b053
🔍 Latest deploy log https://app.netlify.com/sites/tabi-demo/deploys/6783fd03de43a60008a6d3d1
😎 Deploy Preview https://deploy-preview-458--tabi-demo.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.

@welpo

welpo commented Jan 8, 2025

Copy link
Copy Markdown
Owner

I like the idea. I'll try to improve the docs (translations + Custom Subset docs) before next Monday and merge.

Thank you!

@welpo welpo force-pushed the feat/disable-font-subset branch from 90c0df0 to 5c5b053 Compare January 12, 2025 17:33
@welpo

welpo commented Jan 12, 2025

Copy link
Copy Markdown
Owner

I've:

  • renamed the flag to enable_subset, for consistency (also updated your PR text, for future reference)
  • updated/added documentation

Merging now.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants