Skip to content

Commit

Permalink
Migrate bordercolor (#8110)
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos authored Oct 7, 2024
1 parent 50ef93e commit 653816e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/web_css/lib/src/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
border-width: 0px;

.mdc-data-table__row {
border-top-color: var(--pub-inset-bgColor);
border-top-color: var(--pub-neutral-borderColor);

&:hover {
background: inherit;
Expand Down Expand Up @@ -105,7 +105,7 @@
.detail-tab-admin-content {
h2 {
&:not(:first-of-type) {
border-top: 1px solid #ccc;
border-top: 1px solid var(--pub-neutral-borderColor);
margin-top: 16px;
padding-top: 16px;
}
Expand Down
2 changes: 2 additions & 0 deletions pkg/web_css/lib/src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
--pub-color-dangerRed: #ff4242;

--pub-neutral-bgColor: var(--pub-color-white);
--pub-neutral-borderColor: var(--pub-color-smokeWhite);
--pub-neutral-hover-bgColor: var(--pub-color-snowWhite);
--pub-inset-bgColor: var(--pub-color-smokeWhite);
--pub-selected-bgColor: var(--pub-color-bubblesBlue);
Expand Down Expand Up @@ -108,6 +109,7 @@
--pub-color-nipponUltraBlue: #23607f;

--pub-neutral-bgColor: var(--pub-color-darkGunmetal);
--pub-neutral-borderColor: var(--pub-color-anchorBlack);
--pub-neutral-hover-bgColor: var(--pub-color-shadowBlack);
--pub-inset-bgColor: var(--pub-color-anchorBlack);
--pub-selected-bgColor: var(--pub-color-nipponUltraBlue);
Expand Down

0 comments on commit 653816e

Please sign in to comment.