-
Notifications
You must be signed in to change notification settings - Fork 0
Adjust iOS browser chrome colors #10
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -25,7 +25,8 @@ | |||||
|
|
||||||
| html { | ||||||
| scroll-behavior: smooth; | ||||||
| background: linear-gradient(180deg, #f5f8fb 0%, #ebf1f7 100%); | ||||||
| background: | ||||||
| linear-gradient(180deg, #0f172a 0, #0f172a 8rem, #f5f8fb 8rem, #ebf1f7 100%); | ||||||
|
||||||
| linear-gradient(180deg, #0f172a 0, #0f172a 8rem, #f5f8fb 8rem, #ebf1f7 100%); | |
| linear-gradient(180deg, #0f172a 0%, #0f172a 8rem, #f5f8fb 8rem, #ebf1f7 100%); |
Copilot
AI
Mar 8, 2026
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 8rem cutoff is duplicated in multiple gradients. Consider extracting it into a single SCSS variable (or CSS custom property) so the “top chrome height” can be adjusted in one place and stays consistent across html and body.
Copilot
AI
Mar 8, 2026
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 gradient stop 0 is valid, but using an explicit unit (e.g., 0%) improves readability/consistency with the other stops (8rem, 100%) and reduces ambiguity for future edits.
| linear-gradient(180deg, rgba(15, 23, 42, 1) 0, rgba(15, 23, 42, 1) 8rem, rgba(245, 248, 251, 0) 8rem), | |
| linear-gradient(180deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 1) 8rem, rgba(245, 248, 251, 0) 8rem), |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -15,7 +15,7 @@ | |||
| "purpose": "maskable" | ||||
| } | ||||
| ], | ||||
| "theme_color": "#ffffff", | ||||
| "background_color": "#ffffff", | ||||
| "theme_color": "#0f172a", | ||||
|
||||
| "theme_color": "#0f172a", |
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
8remcutoff is duplicated in multiple gradients. Consider extracting it into a single SCSS variable (or CSS custom property) so the “top chrome height” can be adjusted in one place and stays consistent acrosshtmlandbody.