Skip to content

Commit

Permalink
docs(): readme
Browse files Browse the repository at this point in the history
  • Loading branch information
GitOfZGT committed Oct 28, 2021
1 parent fdedd3b commit 4f092e1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,14 +424,6 @@ const multipleScopeVars = [
includeStyles,
},
];
const allStyleVarFiles = getAllStyleVarFiles(
{
emitError: (msg) => {
throw new Error(msg);
},
},
{ multipleScopeVars }
);
```

得到
Expand All @@ -446,7 +438,7 @@ const allStyleVarFiles = getAllStyleVarFiles(
}
.theme-blue .el-button--primary:focus,
.theme-blue .el-button--primary:hover {
/*这里的color值不是由 变量 编译得来的,这时就会被上面那个 color 覆盖了, 实际上这里的color才是需要的效果*/
/*这里的color值不是由 变量 编译得来的,通过includeStyles也提高了权重得到实际的效果*/
color: #ffffff;
}
```
Expand Down

0 comments on commit 4f092e1

Please sign in to comment.