chore: corrects icon color styles (#7792)

This commit is contained in:
Jarrod Flesch
2024-08-21 10:28:01 -04:00
committed by GitHub
parent cb9b80aaf9
commit 163d1c85da
2 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,9 @@ a.btn {
box-shadow: var(--box-shadow, none);
.icon {
@include color-svg(var(--color));
@include color-svg(var(--color, currentColor));
width: 100%;
height: 100%;
}
&__content {
@@ -131,7 +133,6 @@ a.btn {
justify-content: center;
border: 1px solid;
border-radius: 100%;
@include color-svg(currentColor);
padding: base(0.1);
color: inherit;

View File

@@ -9,7 +9,6 @@ import { LinkIcon } from '../../icons/Link/index.js'
import { PlusIcon } from '../../icons/Plus/index.js'
import { SwapIcon } from '../../icons/Swap/index.js'
import { XIcon } from '../../icons/X/index.js'
import { ButtonGroup, Button as PopupButton } from '../Popup/PopupButtonList/index.js'
import { Popup } from '../Popup/index.js'
import { Tooltip } from '../Tooltip/index.js'
import './index.scss'