Skip to content

Commit

Permalink
feat: 增加css变量
Browse files Browse the repository at this point in the history
  • Loading branch information
monsterxwx committed Jun 7, 2023
1 parent a59376e commit fc6bc16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/component/popup.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,6 @@ onMounted(()=>{
--uv-popup-content-title-font-size: 16px;
--uv-popup-content-title-font-weight: 700;
--uv-popup-content-title-color: #323233;
--uv-popup-content-title-padding: 0;
```

2 changes: 2 additions & 0 deletions packages/components/popup/popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ export default {
--uv-popup-content-title-font-size: 16px;
--uv-popup-content-title-font-weight: 700;
--uv-popup-content-title-color: #323233;
--uv-popup-content-title-padding: 0;
}
.uv-popup {
.uv-popup-bottom {
Expand Down Expand Up @@ -221,6 +222,7 @@ export default {
align-items: center;
height: var(--uv-popup-content-top-height);
.uv-popup-content-title {
padding: var(--uv-popup-content-title-padding);
font-size: var(--uv-popup-content-title-font-size);
font-weight: var(--uv-popup-content-title-font-weight);
color: var(--uv-popup-content-title-color);
Expand Down

0 comments on commit fc6bc16

Please sign in to comment.