Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/scss/_kanvas-corner-popup.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
padding: 1rem;
border: 1px solid #00d3a9;
border-radius: 5%;
box-shadow: 0 0 42px rgba(0, 211, 169, 0.85), 0 0 80px rgba(0, 211, 169, 0.25);
box-shadow: 0 0 28px rgba(0, 211, 169, 0.55);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

To improve maintainability and ensure consistency with the rest of the project, consider using the $primary variable instead of the hardcoded RGB values. This ensures that if the brand color changes, the glow effect will update automatically. Note that $primary is already used in lines 149 and 159.

Suggested change
box-shadow: 0 0 28px rgba(0, 211, 169, 0.55);
box-shadow: 0 0 28px rgba($primary, 0.55);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

take gemini's review into consideration and prolly use secondary over primary variable. scss supports this so makes it easier.

I tried it on my end and the results were almost identical for both primary and secondary, it comes down to you what you think suits better.
And even if there is a suggestion change by a member, you will just have to change the variable name there.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Will go with your suggested change. On my end, I was trying to consolidate the border and background glow effect, which is why I used that approach.


@media (max-width: 640px) {
padding: 0.8rem;
Expand Down
Loading