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

feat: enhance our theme building process by implementing support for various base font sizes #386

Conversation

acd02
Copy link
Contributor

@acd02 acd02 commented Mar 9, 2023

feat: implement support for various base font sizes

TASK: #385

Types of changes

  • 🛠️ Tool
  • 🪲 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🧾 Documentation
  • 📷 Demo
  • 🧪 Test
  • 🧠 Refactor
  • 💄 Styles

acd02 added 2 commits March 9, 2023 18:23
…me building process

Implement support for various base font sizes in theme building process

#385
…uilding process

add support for various base font sizes in theme building process

#385
@acd02 acd02 merged commit 3f319bc into main Mar 9, 2023
@acd02 acd02 deleted the 385-enhance-our-theme-building-process-by-implementing-support-for-various-base-font-sizes branch March 9, 2023 17:34
@@ -219,6 +219,7 @@ export interface Theme {

export interface ThemeConfig {
tailwindThemeConfigPath: string
htmlFontSize?: number
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a JSDoc comment for each keys in that interface :D

That way it will shows in IDE's for developers.

The base value for `1rem` is `16px`.
Use this option if your codebase uses a different value (ex: `htmlFontSize: 10`)

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.

Enhance our theme-building process by implementing support for various base font sizes
2 participants