Skip to content

Enhanced WatchdogGradient Theme#25

Merged
JacobLinCool merged 3 commits intogitroll-dev:mainfrom
Saviru:main
Sep 5, 2025
Merged

Enhanced WatchdogGradient Theme#25
JacobLinCool merged 3 commits intogitroll-dev:mainfrom
Saviru:main

Conversation

@Saviru
Copy link
Contributor

@Saviru Saviru commented Aug 10, 2025

This pull request introduces a new "WatchdogGradient" theme to the application, including its visual styling and a custom SVG decoration that adapts based on the rating. The changes ensure that the new theme is integrated alongside existing themes and decorations, and is selectable in the main OGCard component.

Theme Addition and Integration:

  • Added a new WatchdogGradient theme to the preset object in src/theme.ts, including custom background, text, badge, and color settings.
  • Updated the OGCard component in src/OGCard.tsx to support and render the WatchdogGradient theme, including applying its background and selecting the correct decoration.

Decoration Component Enhancements:

  • Added a new WatchdogGradientDecoration component in src/decorations.tsx, which renders a custom SVG background that varies based on the rating, and ensured it is used in the OGCard when the new theme is selected.
image

@Luluno01 Luluno01 requested a review from JacobLinCool August 12, 2025 19:56
@github-actions
Copy link
Contributor

GitRoll Preview Cards

New theme(s) detected: WatchdogGradient

Preview Cards

These are preview cards showing possible ratings. Get your real score at GitRoll.io

github-actions bot added a commit that referenced this pull request Aug 12, 2025
Copy link
Collaborator

@JacobLinCool JacobLinCool left a comment

Choose a reason for hiding this comment

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

@Saviru

Sorry for the late reply, it looks great, and thanks for your contribution!

@JacobLinCool JacobLinCool merged commit ef5c2f1 into gitroll-dev:main Sep 5, 2025
1 check passed
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