at-ui-style
at-ui-style copied to clipboard
请问如何根据 “default.scss” 文件来使用自定义主题呢? 尝试了自定义一个 custom.scss 文件重新定义了 default.scss 中的某些变量,然后在 main.js 中引入该文件,但是组件样式并没有被覆盖掉。 想请教官网中 ”自定义主题“ 的具体步骤,谢谢。
**No commits in almost a year, 4 hanging PRs.** If there's simply not time for someone maintain this, I'll gladly offer to help.
ERROR in ./docs/main.js Module not found: Error: Can't resolve 'at-ui-style' in 'D:\NodeCode\Reidou\docs' @ ./docs/main.js 47:0-22
伟大的改变
讲真,vue生态里的组件框架几近相同,虽然在代码上确实有各自的努力。 但有一个问题却一直存在——样式和框架紧紧结合在一起了,毫无疑问,这不是很完美。 对于样式和框架我思考实践了一段时间,没有一点成果,但我想分享下: 1.任何组件框架都不可能完全覆盖div等标签的使用场景,我们总会需要使用一些原生的方式 2.可是组件是为项目服务的,一个项目不能有多种风格,这就要求组件的样式是可通用的 3.组件的样式变量应该充分提取,这样我们不仅可以通过调整组件的prop还可以深入修改更细微的改变 4.虽然我们更关心组件,但我同样希望大家也关心样式,让它服务更多的场景,所以必要的文档应该也是必须的 以上只是我个人的思索,不知是否合适?求指教 最主要的:我看到了改变,不像element、iview等,为你们点赞!我相信你们能做的更好!加油
I use the standard template from nuxt-starter and try to import scss to override variables. But it does not work: ``` @import '../node_modules/at-ui-style/src/variables/default.scss'; @import '../node_modules/at-ui-style/src/variables/timing-function.scss'; $link-color: #c03; $btn-primary-bg: #c03; @import...
added display flex and justify-content space-between so the title and the extra slots fits as it's shown at the documentation. Each one to a side and not in the center...