Comments (12)
冲突的样式不是写在styls.css里的?要把差异样式写在styls.css里才行,因为只有styls.css里的样式,才是body.xxx下的。
如果不是这种情况,冲突的地方,你审查元素看下到底用的哪个文件里的样式,解决下样式优先级问题
from vuebase.
from vuebase.
看不到图片。最后一个import确实会覆盖之前的,比如第一个是dark,第二个是gary,但是不用gary这个class名,使用dark,不就还是以dark为准吗?
from vuebase.
from vuebase.
from vuebase.
大神你好,我使用的时候出现生产环境和开发环境样式不一致的现象.生产环境部署浅灰色主题不是有些地方还是显示深色主题的样式,是怎么回事.有遇到吗
from vuebase.
生产环境和开发环境样式不一致可能是git的版本不一样,也可能是生产的package.json里element-ui的版本跟本地的不一样
from vuebase.
from vuebase.
from vuebase.
在element-variables.scss里面定义的一些字体颜色 比如 $--color-text-regular: 切换之后不生效,好像是dark 和light 分别更具e-v.scss生成了Mixins.scss 然后这个生产的文件不是在body下的 全部的,就导致dark覆盖掉light了 比如 .el-dropdown-menu__item 的颜色
from vuebase.
按照这个方法只有其中一种主题会生效啊,后引入的生效,先引入就被覆盖掉
from vuebase.
其实,每个主题下的样式都是需要单独写一份的,比如发现了 dark覆盖掉light .el-dropdown-menu__item 的颜色,那说明 light 里没有指定 .el-dropdown-menu__item 的颜色
from vuebase.
Related Issues (3)
- 博主下载了官方的工具,修改样式后将css文件导入吗? HOT 5
- 請問樣式表看起來會有重複的? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuebase.