Skip to content

Make logo respect theme#2

Merged
exekias merged 6 commits into
mainfrom
themed-logo
May 25, 2026
Merged

Make logo respect theme#2
exekias merged 6 commits into
mainfrom
themed-logo

Conversation

@exekias
Copy link
Copy Markdown
Member

@exekias exekias commented May 22, 2026

Use white text for dark theme, black text for light theme

Use white text for dark theme, black text for light theme
@vercel
Copy link
Copy Markdown

vercel Bot commented May 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
learn-postgres Ready Ready Preview May 25, 2026 12:05pm

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 currentColor so it follows the theme.
Comments suppressed due to low confidence (1)

components/PoweredByXata.tsx:33

  • Same issue here: fill-rule/clip-rule should be fillRule/clipRule in 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.

Comment thread components/PoweredByXata.tsx
Comment thread components/PoweredByXata.tsx
@exekias exekias merged commit ae02f06 into main May 25, 2026
3 checks passed
@exekias exekias deleted the themed-logo branch May 25, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants