Skip to content

Commit

Permalink
feat: wx check
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhomie committed Nov 18, 2024
1 parent 297c345 commit 16b5638
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
3 changes: 2 additions & 1 deletion compiled/alipay/src/PopoverList/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
position: absolute;
top: 0;
left: 16 * @rpx;
width: calc(200% - 192 * @rpx);
width: calc(200% - @popover-content-width);
height: 2 * @rpx;
transform: scale(0.5);
background: @popover-content-color;
Expand All @@ -68,6 +68,7 @@
font-size: 48 * @rpx;
width: 48 * @rpx;
height: 48 * @rpx;
color: @popover-content-color;
}
}
&-image {
Expand Down
2 changes: 2 additions & 0 deletions compiled/alipay/src/PopoverList/variable.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
// 圆角
@popover-radius: @corner-radius-md;

@popover-content-width: 192 * @rpx;

//content
@popover-content-bg: var(--popover-list-content-bg, rgba(0, 0, 0, 0.93));
@popover-content-color: var(--popover-list-content-color, @COLOR_TEXT_PRIMARY);
Expand Down
3 changes: 1 addition & 2 deletions compiled/alipay/src/style/themes/theme-mode.less
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;
--popover-list-badge-color: #ff411c;
--popover-list-content-color: #333333;

// rare-words
--rare-words-bg: rgba(0, 0, 0, 0.45);
Expand Down Expand Up @@ -785,7 +784,7 @@

// popoverList
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;

--popover-list-badge-color: #ff411c;
--popover-list-content-color: #c5cad1;

Expand Down
1 change: 0 additions & 1 deletion compiled/alipay/src/style/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ page {
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;
--popover-list-badge-color: #ff411c;
--popover-list-content-color: #333333;

// rare-words
--rare-words-bg: rgba(0, 0, 0, 0.45);
Expand Down
3 changes: 2 additions & 1 deletion compiled/wechat/src/PopoverList/index.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
position: absolute;
top: 0;
left: 16rpx;
width: calc(200% - 192 * 1rpx);
width: calc(200% - 192rpx);
height: 2rpx;
transform: scale(0.5);
background: var(--popover-list-content-color, #333333);
Expand All @@ -61,6 +61,7 @@
font-size: 48rpx;
width: 48rpx;
height: 48rpx;
color: var(--popover-list-content-color, #333333);
}
.ant-popover-list-item-image {
width: 48rpx;
Expand Down
2 changes: 0 additions & 2 deletions compiled/wechat/src/style/themes/theme-mode.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;
--popover-list-badge-color: #ff411c;
--popover-list-content-color: #333333;
--rare-words-bg: rgba(0, 0, 0, 0.45);
--rare-keyboard-bg: #d8d8d8;
--rare-words-keyboard-color: #333333;
Expand Down Expand Up @@ -585,7 +584,6 @@
--radio-fake-icon-background-color: #1a1a1a;
--radio-icon-color: #ffffff;
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;
--popover-list-badge-color: #ff411c;
--popover-list-content-color: #c5cad1;
--rare-words-bg: rgba(0, 0, 0, 0.45);
Expand Down
1 change: 0 additions & 1 deletion compiled/wechat/src/style/variables.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ page {
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;
--popover-list-badge-color: #ff411c;
--popover-list-content-color: #333333;
--rare-words-bg: rgba(0, 0, 0, 0.45);
--rare-keyboard-bg: #d8d8d8;
--rare-words-keyboard-color: #333333;
Expand Down
3 changes: 2 additions & 1 deletion src/PopoverList/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
position: absolute;
top: 0;
left: 16 * @rpx;
width: calc(200% - 192 * @rpx);
width: calc(200% - @popover-content-width);
height: 2 * @rpx;
transform: scale(0.5);
background: @popover-content-color;
Expand All @@ -68,6 +68,7 @@
font-size: 48 * @rpx;
width: 48 * @rpx;
height: 48 * @rpx;
color: @popover-content-color;
}
}
&-image {
Expand Down
2 changes: 2 additions & 0 deletions src/PopoverList/variable.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
// 圆角
@popover-radius: @corner-radius-md;

@popover-content-width: 192 * @rpx;

//content
@popover-content-bg: var(--popover-list-content-bg, rgba(0, 0, 0, 0.93));
@popover-content-color: var(--popover-list-content-color, @COLOR_TEXT_PRIMARY);
Expand Down
3 changes: 1 addition & 2 deletions src/style/themes/theme-mode.less
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;
--popover-list-badge-color: #ff411c;
--popover-list-content-color: #333333;

// rare-words
--rare-words-bg: rgba(0, 0, 0, 0.45);
Expand Down Expand Up @@ -785,7 +784,7 @@

// popoverList
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;

--popover-list-badge-color: #ff411c;
--popover-list-content-color: #c5cad1;

Expand Down
1 change: 0 additions & 1 deletion src/style/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ page {
--popover-list-content-bg: rgba(0, 0, 0, 0.93);
--popover-list-content-color: #ffffff;
--popover-list-badge-color: #ff411c;
--popover-list-content-color: #333333;

// rare-words
--rare-words-bg: rgba(0, 0, 0, 0.45);
Expand Down

0 comments on commit 16b5638

Please sign in to comment.