Skip to content

Enhance Theme-Based Shadows and Improve Typography Weight for Sponsors Section#19

Merged
rahul-vyas-dev merged 2 commits intoAOSSIE-Org:mainfrom
rahul-vyas-dev:main
Mar 17, 2026
Merged

Enhance Theme-Based Shadows and Improve Typography Weight for Sponsors Section#19
rahul-vyas-dev merged 2 commits intoAOSSIE-Org:mainfrom
rahul-vyas-dev:main

Conversation

@rahul-vyas-dev
Copy link
Contributor

@rahul-vyas-dev rahul-vyas-dev commented Mar 17, 2026

PR Description

This PR introduces visual improvements to the sponsors component by refining shadow behavior and typography styling.

Changes Made

  1. Improved Theme-Based Shadows
  • Replaced default Tailwind shadows with custom box-shadow values.
  • Implemented centered shadows (0 0 blur) to ensure consistent shadow visibility on all sides of the container.
  • Added theme-specific shadow colors to better match each theme’s visual identity:
  1. Typography Enhancement
  • Updated text size to text-lg for improved readability and better visual hierarchy.

Impact

  • Creates a more modern and polished UI appearance
  • Ensures shadows are evenly distributed around components instead of bottom-heavy
  • Improves readability and consistency across themes

Visual changes

See details Before Screenshot 2026-03-18 000621 After Screenshot 2026-03-18 000853 Before Screenshot 2026-03-18 000942 After Screenshot 2026-03-18 000957 Before Screenshot 2026-03-18 001043 After Screenshot 2026-03-18 001014

Checklist

  • My code follows the project's code style and conventions
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or errors
  • I have joined the Discord server and I will share a link to this PR with the project maintainers there
  • I have read the Contributing Guidelines

⚠️ AI Notice - Important!

We encourage contributors to use AI tools responsibly when creating Pull Requests. While AI can be a valuable aid, it is essential to ensure that your contributions meet the task requirements, build successfully, include relevant tests, and pass all linters. Submissions that do not meet these standards may be closed without warning to maintain the quality and integrity of the project. Please take the time to understand the changes you are proposing and their impact.

Summary by CodeRabbit

  • Chores

    • Version bumped to 1.2.0
  • Style

    • Increased description text size in the support section
    • Enhanced sponsors container with theme-adaptive visual styling

@github-actions github-actions bot added no-issue-linked PR is not linked to any issue configuration Configuration file changes dependencies Dependency file changes frontend Changes to frontend code javascript JavaScript/TypeScript code changes labels Mar 17, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Walkthrough

Version bump to 1.2.0 in package.json. Styling enhancements to SupportUsButton component: increased description text size and added theme-based shadow utilities to sponsors container.

Changes

Cohort / File(s) Summary
Version Update
package.json
Bumped package version from 1.1.0 to 1.2.0.
Component Styling
src/components/SupportUsButton.tsx
Added text-lg class to description text and theme-based shadow utilities (AOSSIE, light, dark, minimal, corporate) to sponsors container for enhanced visual presentation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

Typescript Lang

Poem

🐰 A nibble of version, a hop of new style,
Shadow and text, placed all the while,
Tailwind classes bloom where themes do play,
The button looks brighter—hooray, hooray! ✨

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: adding theme-based shadows to the sponsors section and improving typography weight for the organization description text.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use your project's `biome` configuration to improve the quality of JS/TS/CSS/JSON code reviews.

Add a configuration file to your project to customize how CodeRabbit runs biome.

@github-actions github-actions bot added size/S Small PR (11-50 lines changed) repeat-contributor PR from an external contributor who already had PRs merged pending-coderabbit-review labels Mar 17, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/components/SupportUsButton.tsx`:
- Around line 252-259: The dark-theme shadow uses an invalid rgba() call
(rgba(0.5,0.5,0.5,0.5)) which breaks CSS; update the Theme === "dark" shadow
expression to use a valid color format (e.g., rgba(127,127,127,0.5) or a hex
with alpha) in the string returned for the dark branch so the shadow CSS is
valid and the dark theme renders correctly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 84dbd5b7-a4d0-4509-b269-09d2fb7f27b7

📥 Commits

Reviewing files that changed from the base of the PR and between d8263c5 and c4da0f2.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • package.json
  • src/components/SupportUsButton.tsx

@rahul-vyas-dev rahul-vyas-dev merged commit 62828cd into AOSSIE-Org:main Mar 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Configuration file changes dependencies Dependency file changes frontend Changes to frontend code javascript JavaScript/TypeScript code changes no-issue-linked PR is not linked to any issue pending-coderabbit-review repeat-contributor PR from an external contributor who already had PRs merged size/S Small PR (11-50 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant