Skip to content

Commit

Permalink
chore: fix lint errors by using design system tokens instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ghgoodreau committed Feb 14, 2025
1 parent 41e6c24 commit 38c290d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion ui/components/app/assets/nfts/nft-details/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ $spacer-break-small: 16px;
padding-top: 8px;
padding-bottom: 8px;
border-radius: var(--Spacing-sm, 8px);
border: 1px solid var(--border-muted, #d6d9dc);
border: 1px solid var(--border-muted, var(--color-border-muted));
}
}
12 changes: 6 additions & 6 deletions ui/pages/bridge/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@

[data-theme='light'],
.light {
--color-background-alternative-soft: #f9fafb;
--color-text-alternative-soft: #6a737d;
--color-icon-alternative-soft: #6a737d;
--color-background-alternative-soft: var(--color-background-alternative);
--color-text-alternative-soft: var(--color-text-alternative);
--color-icon-alternative-soft: var(--color-icon-alternative);
}

[data-theme='dark'],
.dark {
--color-background-alternative-soft: #1f2124;
--color-text-alternative-soft: #848c96;
--color-icon-alternative-soft: #848c96;
--color-background-alternative-soft: var(--color-background-alternative);
--color-text-alternative-soft: var(--color-text-alternative);
--color-icon-alternative-soft: var(--color-icon-alternative);
}

.mm-box--color-text-alternative-soft {
Expand Down
6 changes: 3 additions & 3 deletions ui/pages/bridge/prepare/components/index.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[data-theme='light'],
.light {
--shadow-bridge-picker: 0 0 2px 0 #e2e4e9, 0 0 16px 0 rgba(226, 228, 233, 0.16);
--shadow-bridge-picker: 0 0 2px 0 var(--color-border-muted), 0 0 16px 0 rgba(226, 228, 233, 0.16);
}

[data-theme='dark'],
.dark {
--shadow-bridge-picker: 0 0 2px 0 #e2e4e9, 0 0 16px 0 rgba(226, 228, 233, 0.16);
}
--shadow-bridge-picker: 0 0 2px 0 var(--color-border-muted), 0 0 16px 0 rgba(226, 228, 233, 0.16);
}
4 changes: 2 additions & 2 deletions ui/pages/bridge/prepare/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@

[data-theme='light'],
.light {
box-shadow: 0 0 2px 0 #e2e4e9, 0 0 16px 0 rgba(226, 228, 233, 0.16);
box-shadow: 0 0 2px 0 var(--color-border-muted), 0 0 16px 0 rgba(226, 228, 233, 0.16);
}

[data-theme='dark'],
.dark {
box-shadow: 0 0 2px 0 #18191b, 0 0 16px 0 #18191b;
box-shadow: 0 0 2px 0 var(--color-border-default), 0 0 16px 0 var(--color-border-default);
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions ui/pages/confirmations/components/confirm/nav/nav.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.confirm_nav {
&__reject_all {
background-color: var(--color-error-muted);
color: #d73847;
color: var(--color-error-default);
font-size: 12px;
height: 20px;
padding-left: 8px !important;
Expand All @@ -10,7 +10,7 @@
&:hover {
background-color: var(--color-error-muted) !important;
box-shadow: none !important;
color: #d73847 !important;
color: var(--color-error-default) !important;
}

> span {
Expand Down

0 comments on commit 38c290d

Please sign in to comment.