ElemeFE / ElemeFE/element

[Bug Report] 修改主题色后有sass语法报错

Open
#22,172 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.6

### OS/Browsers version
win10

### Vue version
2.7.10

### Reproduction Link
https://codepen.io/ziyoung/pen/LKNBqB

### Steps to reproduce
按照官网步骤改了主题色后编译会有sass报错:margin-bottom: #{$--tooltip-arrow-size / 2}; Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.这里sass已经不支持在calc外面做运算

### What is Expected?
希望能把这些样式修改为sass所支持的

### What is actually happening?
sass报警告

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.