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(preset-mini)!: improve the type of theme, requires TS 4.9 #2170

Merged
merged 2 commits into from Feb 22, 2023

Conversation

Dunqing
Copy link
Member

@Dunqing Dunqing commented Feb 8, 2023

image

When I want to use preset-mini's colors, then it appears that the colors is possibly undefined, but the theme colors are definitely present.

@Dunqing Dunqing requested a review from antfu as a code owner February 8, 2023 02:58
@netlify
Copy link

netlify bot commented Feb 8, 2023

Deploy Preview for unocss ready!

Name Link
🔨 Latest commit 280e473
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/63f5e5840b529200080a0377
😎 Deploy Preview https://deploy-preview-2170--unocss.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 settings.

@Dunqing
Copy link
Member Author

Dunqing commented Feb 8, 2023

It look like unbuild does not support satisfies yet

package.json Outdated Show resolved Hide resolved
@Dunqing
Copy link
Member Author

Dunqing commented Feb 12, 2023

I have now changed to update unbuild instead of adding esbuild, PR: #2188

Because

The satefiles operator is supported in esbuild@0.15.13, but the unbuild use esbuild@0.15.11.

@antfu antfu changed the title feat(preset-mini): improve the type of theme feat(preset-mini)!: improve the type of theme, requires TS 4.9 Feb 22, 2023
@antfu antfu added this to the Next milestone Feb 22, 2023
@antfu
Copy link
Member

antfu commented Feb 22, 2023

It seems to work right now, or?

@Dunqing
Copy link
Member Author

Dunqing commented Feb 22, 2023

Yes, ready to merge

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.

None yet

2 participants