-
-
Notifications
You must be signed in to change notification settings - Fork 71
Style pulse and Force Surge buttons in system override panel #542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -279,6 +279,12 @@ html body #dev-tools[data-lock="true"] { | |
| #dev-tools button[onclick*="badge_click"] { | ||
| color: #bc13fe !important; | ||
| } | ||
| #dev-tools button[onclick*="pulse"] { | ||
| color: #fbbf24 !important; | ||
| } | ||
| #dev-tools button[onclick*="triggerForceSurge"] { | ||
| color: #60a5fa !important; | ||
| } | ||
|
Comment on lines
+282
to
+287
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Instead of adding custom CSS rules with We can remove these rules entirely and apply the colors directly in the template using References
|
||
|
|
||
| /** | ||
| * 5. SELF DESTRUCT & REPAIR | ||
|
|
@@ -496,7 +502,7 @@ body[data-level="6"]::after { | |
| /* Added via JS when XP increases */ | ||
| .xp-pulse { | ||
| transform: scale(1.3); | ||
| color: white !important; | ||
| color: #f59e0b !important; | ||
| } | ||
| #jump-lvl { | ||
| font-family: "Courier New", monospace; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description states that the orange styling is added to match the pulse easter egg. However, the pulse easter egg color in
.xp-pulseis set to#f59e0b(Tailwind'samber-500), while this button uses orange classes (bg-orange-500/5,border-orange-500/20) and its text color is overridden to#fbbf24(Tailwind'samber-400).To ensure visual consistency and avoid mixing orange and amber, we should use Tailwind's amber color palette consistently for the PULSE button. Additionally, we can use Tailwind's
!modifier (e.g.,!text-amber-500) to override the default#dev-tools buttontext color directly in the HTML, allowing us to remove the custom CSS overrides instyle.cssentirely.References