Skip to content

Commit

Permalink
Ensure icons appear white in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidnioulz committed Feb 1, 2025
1 parent ee165d0 commit e7b46d6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/ui/src/code-snippets-wrapper/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ export const ShellIcon: FC<IconProps> = ({ className }) => (
>
<path
d="M5 11.8574L8.5 8.4287L5 5"
stroke="black"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.2"
/>
<path
d="M9 13.5H14"
stroke="black"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.2"
/>
<rect height="17" rx="1.5" stroke="black" width="17" x="0.5" y="0.5" />
<rect height="17" rx="1.5" stroke="currentColor" width="17" x="0.5" y="0.5" />
</svg>
);

Expand All @@ -69,12 +69,12 @@ export const JSIcon: FC<IconProps> = ({ className }) => (
>
<path
d="M6.008 14.7943L5.92 13.7863L6.536 13.7543C6.96267 13.7276 7.176 13.5036 7.176 13.0823V9.07429H8.416V13.0663C8.416 14.1223 7.856 14.6876 6.736 14.7623L6.008 14.7943ZM12.2084 14.8023C11.7657 14.8023 11.347 14.7463 10.9524 14.6343C10.563 14.5223 10.2377 14.3703 9.97637 14.1783L10.3364 13.2023C10.587 13.3783 10.8724 13.517 11.1924 13.6183C11.5177 13.7196 11.8564 13.7703 12.2084 13.7703C12.5924 13.7703 12.867 13.7116 13.0324 13.5943C13.203 13.4716 13.2884 13.3196 13.2884 13.1383C13.2884 12.9836 13.2297 12.861 13.1124 12.7703C12.995 12.6796 12.7897 12.6023 12.4964 12.5383L11.5924 12.3463C10.5844 12.133 10.0804 11.6103 10.0804 10.7783C10.0804 10.421 10.1764 10.109 10.3684 9.84229C10.5604 9.57029 10.827 9.35963 11.1684 9.21029C11.515 9.06096 11.915 8.98629 12.3684 8.98629C12.7577 8.98629 13.123 9.04229 13.4644 9.15429C13.8057 9.26629 14.0884 9.42363 14.3124 9.62629L13.9524 10.5383C13.515 10.1916 12.9844 10.0183 12.3604 10.0183C12.0244 10.0183 11.763 10.085 11.5764 10.2183C11.395 10.3463 11.3044 10.5143 11.3044 10.7223C11.3044 10.877 11.3604 11.0023 11.4724 11.0983C11.5844 11.1943 11.779 11.2716 12.0564 11.3303L12.9604 11.5223C13.995 11.7463 14.5124 12.253 14.5124 13.0423C14.5124 13.3943 14.4164 13.7036 14.2244 13.9703C14.0377 14.2316 13.771 14.437 13.4244 14.5863C13.083 14.7303 12.6777 14.8023 12.2084 14.8023Z"
fill="black"
fill="currentColor"
/>
<rect
height="16.8571"
rx="1.71429"
stroke="black"
stroke="currentColor"
strokeWidth="1.14286"
width="16.8571"
x="0.571429"
Expand Down

0 comments on commit e7b46d6

Please sign in to comment.