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

【开源自荐】面向 Vue3 的 CSS in JS 工具库 #178

Open
akinoccc opened this issue May 7, 2024 · 0 comments
Open

【开源自荐】面向 Vue3 的 CSS in JS 工具库 #178

akinoccc opened this issue May 7, 2024 · 0 comments

Comments

@akinoccc
Copy link

akinoccc commented May 7, 2024

项目地址:https://github.com/v-vibe/vue-styled-components
文档地址:vue-styled-components.com

❤项目初衷

想在 Vue3 像 React 一样使用 styled components,但是 Vue 版本的 styled components 只支持 Vue2,且项目作者不再更新,因此决定重新开发一个能在 Vue3 使用的 styled components 工具库。

目前基本还原 styled components 大部分核心 API。

✨特性

✅ 样式化 Vue 组件或原生组件

✅ 添加默认属性

✅ 传递属性

✅ 支持主题化

✅ 生成关键帧

✅ 生成 CSS 混合

✅ 创建全局样式

✅ 覆盖属性

✅ 支持 CSS 嵌套。(仅支持 web: https://drafts.csswg.org/css-nesting/#nesting)

image

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

No branches or pull requests

1 participant