mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
7 lines
198 B
Plaintext
7 lines
198 B
Plaintext
@import (reference) './var.less';
|
|
|
|
.theme(@property, @imp) {
|
|
@{property}: e(replace(@imp, '@([^() ]+)', '@{$1}', 'ig'));
|
|
@{property}: e(replace(@imp, '@([^() ]+)', 'var(--$1, @{$1})', 'ig'));
|
|
}
|