Skip to content

Commit 98e78f4

Browse files
committed
fix(plugin): minor style and copy edits
1 parent aed4a0b commit 98e78f4

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "phosphor-figma",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"license": "MIT",
55
"homepage": "https://phosphoricons.com",
66
"author": {

src/components/Footer/Footer.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ const Footer: React.FC<{}> = () => {
1414
</div>
1515
<div
1616
className="version"
17-
title={`Based on phosphor-react@${dependencies["@phosphor-icons/react"]}`}
17+
title={`Based on @phosphor-icons/react v${dependencies[
18+
"@phosphor-icons/react"
19+
].replace(/[\^~\=]/, "")}`}
1820
>
1921
v{version}
2022
</div>

src/components/Toolbar/StyleInput.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ select {
1111
font-family: Inter;
1212

1313
appearance: none;
14-
background-image: url("data:image/svg+xml,%3Csvg width='8' height='7' viewBox='0 0 8 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.646 5.354l-3-3 .708-.708L4 4.293l2.646-2.647.708.708-3 3L4 5.707l-.354-.353z' fill-rule='evenodd' fill-opacity='1' fill='%23000' stroke='none'%3E%3C/path%3E%3C/svg%3E");
14+
background-image: url("data:image/svg+xml,%3Csvg width='8' height='7' viewBox='0 0 8 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.646 5.354l-3-3 .708-.708L4 4.293l2.646-2.647.708.708-3 3L4 5.707l-.354-.353z' fill-rule='evenodd' fill-opacity='1' fill='%238e8e8e' stroke='none'%3E%3C/path%3E%3C/svg%3E");
1515
background-repeat: no-repeat;
1616
background-position: center right 6px;
1717
}
@@ -28,7 +28,7 @@ select:active {
2828
}
2929

3030
select:focus-within {
31-
background-image: url("data:image/svg+xml,%3Csvg width='8' height='7' viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.354 1.99903L7.354 4.99903L6.646 5.70703L4 3.06003L1.354 5.70703L0.646004 4.99903L3.646 1.99903L4 1.64603L4.354 1.99903Z' fill='%23000' stroke='none'/%3E%3C/svg%3E");
31+
background-image: url("data:image/svg+xml,%3Csvg width='8' height='7' viewBox='0 0 8 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.354 1.99903L7.354 4.99903L6.646 5.70703L4 3.06003L1.354 5.70703L0.646004 4.99903L3.646 1.99903L4 1.64603L4.354 1.99903Z' fill='%238e8e8e' stroke='none'/%3E%3C/svg%3E");
3232
background-position: top 8px right 6px;
3333
}
3434

src/components/Toolbar/Toolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const Toolbar: React.FC<ToolbarProps> = () => {
3232
xmlns="http://www.w3.org/2000/svg"
3333
width={16}
3434
height={16}
35-
fill="black"
35+
fill="currentColor"
3636
viewBox="0 0 16 16"
3737
>
3838
<rect x={3} y={3} width={10} height={10}></rect>

0 commit comments

Comments
 (0)