Skip to content

Commit

Permalink
fix: fix color switching for SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFluin committed Nov 21, 2023
1 parent 2e20826 commit cf86a1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/dev/general-message-passing/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ With GMP, you can:
- The application must be on one of Axelar's supported EVM chains. See [chain names](../reference/mainnet-chain-names) for a list of EVM chains that have an Axelar Gateway deployed. The list is updated as new chains are added.

### Flow architecture (in steps)
<div style="color:black;">
<div class="colored-svg">
<svg
width="100%"
version="1.1"
Expand Down
3 changes: 3 additions & 0 deletions src/styles/dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,7 @@ html.dark body {
.dropdown .dropdown-menu *:hover {
background-color: rgb(17, 24, 39);
}
.colored-svg {
color: white;
}
}
4 changes: 4 additions & 0 deletions src/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ astro-island button {
grid-auto-flow: row;
display: grid;
}
.colored-svg {
color: black;
}

/* Temporary Tailwind CSS */
.flex {
display: flex;
Expand Down

1 comment on commit cf86a1b

@vercel
Copy link

@vercel vercel bot commented on cf86a1b Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.