Added custom background option for cards #548

Merged
c24elipe merged 1 commit from #471-Support-For-card-Backgrounds into team_2_week_3 2026-04-27 10:29:00 +00:00
Collaborator

Added a parameter for a custom background that can be added in a javascript file when using a card.
If the custom background is not defined then the program will use the default theme as a background for the background as shown in the image below

image

How to use code ex:

<Card
	title='Booking'
	background='linear-gradient(135deg, #4f46e5, #9333ea)'
>

Files changed:

  • Card.js
Added a parameter for a custom background that can be added in a javascript file when using a card. If the custom background is not defined then the program will use the default theme as a background for the background as shown in the image below ![image](/attachments/57982f9a-00db-4356-a687-08304ab7def4) How to use code ex: ``` <Card title='Booking' background='linear-gradient(135deg, #4f46e5, #9333ea)' > ``` Files changed: - Card.js
114 KiB
Collaborator

I have reviewed the changes done to Card.js and have verified that the new custom background prop is working correctly.

This PR is approved

I have reviewed the changes done to Card.js and have verified that the new custom background prop is working correctly. This PR is approved
Collaborator

It compiles and runs. Get merged

It compiles and runs. Get merged
c24elipe merged commit ffb6b5d1e2 into team_2_week_3 2026-04-27 10:29:00 +00:00
c24elipe deleted branch #471-Support-For-card-Backgrounds 2026-04-27 10:29:02 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!548
No description provided.