Skip to content

Commit

Permalink
feat: add --adm-color-link
Browse files Browse the repository at this point in the history
  • Loading branch information
梁朝飞 committed Jul 30, 2024
1 parent b515dcc commit 6bcb115
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/button/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
--color: var(--adm-color-warning);
}
&-link {
color: var(--adm-color-primary);
color: var(--adm-color-link);
}

&-block {
Expand Down
1 change: 1 addition & 0 deletions src/global/theme-dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ html[data-prefers-color-scheme='dark'] {
--adm-color-success: #34b368;
--adm-color-warning: #ffa930;
--adm-color-danger: #ff4a58;
--adm-color-link: #3086ff;

--adm-color-yellow: #ffa930;
--adm-color-orange: #e65a2b;
Expand Down
17 changes: 9 additions & 8 deletions src/global/theme-default.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,28 @@
--adm-color-success: #00b578;
--adm-color-warning: #ff8f1f;
--adm-color-danger: #ff3141;
--adm-color-link: #3086ff;

--adm-color-yellow: #ff9f18;
--adm-color-orange: #ff6430;
--adm-color-wathet: #e7f1ff;

--adm-color-text: #333333;
--adm-color-text-secondary: #666666;
--adm-color-weak: #999999;
--adm-color-light: #cccccc;
--adm-color-border: #eeeeee;
--adm-color-background: #ffffff;
--adm-color-text: #333;
--adm-color-text-secondary: #666;
--adm-color-weak: #999;
--adm-color-light: #ccc;
--adm-color-border: #eee;
--adm-color-background: #fff;

--adm-color-highlight: var(--adm-color-danger);

// Deprecated. We use `--adm-color-text-light-solid` in code
// but keep here for compatible
--adm-color-white: #ffffff;
--adm-color-white: #fff;
--adm-color-box: #f5f5f5;

--adm-color-text-light-solid: var(--adm-color-white);
--adm-color-text-dark-solid: #000000;
--adm-color-text-dark-solid: #000;
--adm-color-fill-content: var(--adm-color-box);

--adm-font-size-main: var(--adm-font-size-5);
Expand Down

0 comments on commit 6bcb115

Please sign in to comment.