Feat: Discord Embed Component - #16
Merged
Merged
Conversation
tobias-hay
enabled auto-merge (squash)
July 19, 2025 23:52
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces Discord embed components to complement the existing Discord base components. The PR implements a comprehensive Discord embed system that allows users to create authentic-looking Discord embeds with all their typical features like authors, titles, descriptions, fields, images, thumbnails, and footers.
- Adds new Discord embed component library with 13 different embed-related components
- Updates existing Discord base components with improved styling and color handling
- Includes comprehensive CSS variables for Discord embed theming across all Discord color schemes
Reviewed Changes
Copilot reviewed 31 out of 32 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| registry/discord-embeds/discord-embeds.tsx | New comprehensive Discord embed component library with all embed features |
| registry/discord-base/discord-base.tsx | Updated base components with improved styling and color variables |
| registry/discord-base/discord-icons.tsx | Reformatted SVG icon components for consistency |
| registry.json | Added discord-embed registry entry with proper dependencies and CSS variables |
| public/r/discord-embed.json | New public registry file for the Discord embed component |
| app/(home)/page.tsx | Added example usage of Discord embed components in the demo |
| app/globals.css | Added CSS variables for Discord embed theming |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)
app/globals.css:93
- CSS variable name has inconsistent casing. Should be '--discord-header' (lowercase) to match other Discord variables like '--discord-foreground' and '--discord-link'.
--Discord-header: oklch(0.9897 0.0042 271.37);
mezotv
previously approved these changes
Jul 20, 2025
mezotv
approved these changes
Jul 20, 2025
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.
Closes #3
Closes #9
- chore: update deps