Make logo respect theme#2
Merged
Merged
Conversation
Use white text for dark theme, black text for light theme
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Updates the “Powered by Xata” footer badge so the wordmark adapts to light/dark theme by inheriting the current text color via Tailwind + currentColor.
Changes:
- Add theme-aware text color classes to the Xata SVG (
text-black dark:text-white). - Change the wordmark path fill from a hard-coded color to
currentColorso it follows the theme.
Comments suppressed due to low confidence (1)
components/PoweredByXata.tsx:33
- Same issue here:
fill-rule/clip-ruleshould befillRule/clipRulein JSX to avoid React invalid DOM property warnings.
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M89.6583 55.193C97.4065 68.7403 95.5514 86.2877 84.0847 97.9166L83.912 98.0915L65.3364 79.5134L89.6583 55.193ZM44.5741 59.7424C43.0507 65.2356 40.1928 70.4346 35.994 74.8257L35.4139 75.4045L10.4446 50.4245C-3.41994 36.5586 -3.48203 14.1128 10.263 0.172783L10.4372 7.62939e-06L36.0955 25.6581C44.9859 35.0314 47.8117 48.0508 44.5741 59.7424ZM7.44721 55.193C-0.302454 68.7403 1.55803 86.2877 13.0227 97.9166L13.1976 98.0915L31.7723 79.5134L7.44721 55.193ZM52.534 59.7424C54.0527 65.2356 56.9166 70.4346 61.1148 74.8257L61.695 75.4045L86.661 50.4245C100.528 36.5586 100.587 14.1128 86.8425 0.172783L86.6695 7.62939e-06L61.01 25.6581C52.1228 35.0314 49.293 48.0508 52.534 59.7424Z"
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use white text for dark theme, black text for light theme