Use Compound close icon in favour of mishmash of x/close icons (#108)

* Use Compound close icon in favour of mishmash of x/close icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove stale CSS

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-10-02 10:06:17 +00:00
committed by GitHub
parent c2c316831a
commit 5d9996c281
26 changed files with 143 additions and 225 deletions
+4 -6
View File
@@ -52,15 +52,13 @@ Please see LICENSE files in the repository root for full details.
&::before {
content: "";
mask: url("$(res)/img/element-icons/x-8px.svg");
mask: url("@vector-im/compound-design-tokens/icons/close.svg");
mask-repeat: no-repeat;
mask-position: center;
mask-size: cover;
width: 8px;
height: 8px;
mask-size: 16px;
width: inherit;
height: inherit;
position: absolute;
top: 6px;
left: 6px;
background-color: $secondary-content;
}
}
@@ -89,7 +89,7 @@ Please see LICENSE files in the repository root for full details.
color: $alert;
&::before {
mask-image: url("$(res)/img/feather-customised/x.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
background-color: $alert;
}
}
@@ -72,7 +72,7 @@ Please see LICENSE files in the repository root for full details.
background-color: var(--cpd-color-bg-critical-primary);
&::before {
mask-image: url("$(res)/img/feather-customised/x.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
}
}
+2 -2
View File
@@ -139,8 +139,8 @@ $button-gap: 24px;
&::before {
width: $button-size;
height: $button-size;
mask-image: url("$(res)/img/image-view/close.svg");
mask-size: 40%;
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
mask-size: 24px;
}
}
+1 -1
View File
@@ -53,7 +53,7 @@ Please see LICENSE files in the repository root for full details.
color: $alert;
&::before {
mask-image: url("$(res)/img/feather-customised/x.svg");
mask-image: url("@vector-im/compound-design-tokens/icons/close.svg");
background-color: $alert;
}
}