Skip to content

Commit

Permalink
feat: Update logo to better handle theme colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 23, 2020
1 parent e0eb521 commit 0408e28
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
20 changes: 6 additions & 14 deletions src/components/Logo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions src/components/Logo.module.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
.logo {
fill: none;
}

.text {
fill: var(--logo-text-color, var(--primary-text-color));
}

.brackets {
stroke: var(--logo-bracket-color, var(--color-brand-800));
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;

:global(.dark-mode) & {
stroke: var(--logo-bracket-color, var(--color-brand-400));
}
}

0 comments on commit 0408e28

Please sign in to comment.