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

refactor(preset-typography): deprecate className in favor of selectorName #992

Merged
merged 1 commit into from May 23, 2022

Conversation

ydcjeff
Copy link
Member

@ydcjeff ydcjeff commented May 20, 2022

Since the preset supports both class and attributify mode, it is better to change to selectorName instead of className to avoid name confusion.

About removal, is 1.0 a good timeline?

@ydcjeff ydcjeff requested a review from antfu as a code owner May 20, 2022 12:08
@netlify
Copy link

netlify bot commented May 20, 2022

Deploy Preview for unocss canceled.

Name Link
🔨 Latest commit 6f25b16
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/628784aebd79090008d1b7e2

@antfu
Copy link
Member

antfu commented May 20, 2022

Could we do soft deprecation for now and remove it in the next breaking?

Oh I saw it, nvm

@ydcjeff ydcjeff changed the title refactor: deprecate className in favor of selectorName refactor(preset-typography): deprecate className in favor of selectorName May 21, 2022
@ydcjeff ydcjeff merged commit 69dcee2 into main May 23, 2022
@ydcjeff ydcjeff deleted the ydcjeff/typography-use-selector-name branch May 23, 2022 10:00
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