Skip to content

Commit 62828cd

Browse files
Merge pull request #19 from rahul-vyas-dev/main
Enhance Theme-Based Shadows and Improve Typography Weight for Sponsors Section
2 parents d8263c5 + c4da0f2 commit 62828cd

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "support-us-button",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "A customizable and flexible Support Us button component for integrating sponsorship and donation options into web applications.",
55
"keywords": [
66
"aossie",

src/components/SupportUsButton.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function SupportUsButton({
187187
<h2 className={`font-extrabold text-4xl md:text-5xl lg:text-6xl`}>
188188
{organizationInformation.name}
189189
</h2>
190-
<p className="font-[650]">
190+
<p className="font-[650] text-lg">
191191
{organizationInformation.description}
192192
</p>
193193
</div>
@@ -249,6 +249,14 @@ function SupportUsButton({
249249
// List of sponsors with their logos and links, styled according to the selected theme and custom class names
250250
<div
251251
className={`${classNames.sponsors} ${classAccordingToTheme(Theme)}
252+
253+
// Shadows for different themes
254+
${Theme === "AOSSIE" && "shadow-[0_0_15px_rgba(255,215,0,1)]"}
255+
${Theme === "light" && "shadow-[0_0_20px_rgba(0,0,0,0.15)]"}
256+
${Theme === "dark" && "shadow-[0_0_25px_rgba(0.5,0.5,0.5,0.5)]"}
257+
${Theme === "minimal" && "shadow-[0_0_15px_rgba(0,0,0,0.2)]"}
258+
${Theme === "corporate" && "shadow-[0_0_25px_rgba(37,99,235,0.3)]"}
259+
252260
relative w-[90%] flex flex-col p-8 rounded-2xl gap-25 mt-15 overflow-hidden`}
253261
>
254262
{/* Sponsor pattern AOSSIE */}

0 commit comments

Comments
 (0)