Skip to content

Commit

Permalink
feat(dark-mode): add dark mode for mobile form
Browse files Browse the repository at this point in the history
  • Loading branch information
novlan1 committed Sep 13, 2023
1 parent 6bd8b7a commit 97ddc38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions style/mobile/components/form/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@import "./_var.less";

.@{prefix}-form {
background-color: #fff;
background-color: @bg-color-container;

.@{prefix}-form__item {
display: flex;
Expand All @@ -30,7 +30,7 @@
}

&-help {
color: @font-gray-4;
color: @text-color-disabled;
}

&--error {
Expand Down Expand Up @@ -60,7 +60,7 @@
padding-right: 16px;
vertical-align: middle;
line-height: 24px;
color: @font-gray-1;
color: @text-color-primary;
box-sizing: border-box;
word-break: break-all;

Expand Down
2 changes: 1 addition & 1 deletion style/mobile/components/link/v2/_var.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// 状态色 - 默认色

@link-default-color: var(--td-link-default-color, @font-gray-1); // default 主题默认态颜色
@link-default-color: var(--td-link-default-color, @text-color-primary); // default 主题默认态颜色
@link-default-active-color: var(--td-link-default-active-color, @brand-color-active); // default 主题激活态颜色
@link-default-disabled-color: var(--td-link-default-disabled-color, @text-color-disabled); // default 主题禁用态颜色

Expand Down

0 comments on commit 97ddc38

Please sign in to comment.