Skip to content

Commit b32f5e5

Browse files
committed
added styling for tags
1 parent acc3672 commit b32f5e5

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sparc-design-system-components-2",
3-
"version": "0.0.15",
3+
"version": "0.0.16",
44
"private": false,
55
"scripts": {
66
"dev": "vite",

src/assets/components/_el-tag.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.el-tag {
2+
background: #fff !important;
3+
border-color: #dcdfe6 !important;
4+
border-radius: 3px !important;
5+
color: #303133 !important;
6+
font-size: 0.75em;
7+
cursor: default !important;
8+
}
9+
.el-tag .el-tag__close {
10+
color: #828282 !important;
11+
}
12+
.el-tag .el-tag__close:hover {
13+
background-color: #dcdfe6 !important;
14+
}

src/assets/styles.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ $--font-path: '~element-plus/lib/theme-chalk/fonts';
2121
@import './components/_el-select';
2222
@import './components/_el-popover';
2323

24+
@import './components/el-tag';
25+
2426
//@import '_icons';
2527

0 commit comments

Comments
 (0)