Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #589 +/- ##
=======================================
Coverage 80.66% 80.66%
=======================================
Files 128 128
Lines 12392 12392
Branches 887 887
=======================================
Hits 9996 9996
Misses 2393 2393
Partials 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
| File | Base | Head | Diff |
|---|---|---|---|
styles.css |
123.19 KB | 124.65 KB | +1.45 KB (+1.18%) |
addons.html |
264.87 KB | 264.92 KB | +43.00 B (+0.02%) |
assert.html |
321.04 KB | 321.08 KB | +43.00 B (+0.01%) |
async_context.html |
157.00 KB | 157.04 KB | +43.00 B (+0.03%) |
async_hooks.html |
155.27 KB | 155.31 KB | +43.00 B (+0.03%) |
buffer.html |
844.84 KB | 844.88 KB | +43.00 B (+0.00%) |
child_process.html |
360.52 KB | 360.56 KB | +43.00 B (+0.01%) |
cli.html |
491.60 KB | 491.64 KB | +43.00 B (+0.01%) |
cluster.html |
187.90 KB | 187.94 KB | +43.00 B (+0.02%) |
console.html |
138.49 KB | 138.53 KB | +43.00 B (+0.03%) |
crypto.html |
972.48 KB | 972.52 KB | +43.00 B (+0.00%) |
debugger.html |
53.55 KB | 53.59 KB | +43.00 B (+0.08%) |
deprecations.html |
499.95 KB | 500.00 KB | +43.00 B (+0.01%) |
dgram.html |
181.41 KB | 181.46 KB | +43.00 B (+0.02%) |
diagnostics_channel.html |
214.57 KB | 214.61 KB | +43.00 B (+0.02%) |
dns.html |
278.75 KB | 278.79 KB | +43.00 B (+0.02%) |
documentation.html |
37.04 KB | 37.08 KB | +43.00 B (+0.11%) |
domain.html |
101.43 KB | 101.47 KB | +43.00 B (+0.04%) |
embedding.html |
58.48 KB | 58.53 KB | +43.00 B (+0.07%) |
environment_variables.html |
43.73 KB | 43.78 KB | +43.00 B (+0.10%) |
errors.html |
449.44 KB | 449.48 KB | +43.00 B (+0.01%) |
esm.html |
153.08 KB | 153.12 KB | +43.00 B (+0.03%) |
events.html |
431.58 KB | 431.62 KB | +43.00 B (+0.01%) |
fs.html |
1.26 MB | 1.26 MB | +43.00 B (+0.00%) |
globals.html |
222.28 KB | 222.32 KB | +43.00 B (+0.02%) |
http.html |
697.92 KB | 697.97 KB | +43.00 B (+0.01%) |
http2.html |
722.45 KB | 722.49 KB | +43.00 B (+0.01%) |
https.html |
143.20 KB | 143.24 KB | +43.00 B (+0.03%) |
index.html |
35.15 KB | 35.19 KB | +43.00 B (+0.12%) |
inspector.html |
163.82 KB | 163.86 KB | +43.00 B (+0.03%) |
intl.html |
59.54 KB | 59.58 KB | +43.00 B (+0.07%) |
module.html |
308.69 KB | 308.74 KB | +43.00 B (+0.01%) |
modules.html |
176.07 KB | 176.11 KB | +43.00 B (+0.02%) |
n-api.html |
819.08 KB | 819.12 KB | +43.00 B (+0.01%) |
net.html |
345.18 KB | 345.22 KB | +43.00 B (+0.01%) |
os.html |
133.84 KB | 133.88 KB | +43.00 B (+0.03%) |
packages.html |
154.16 KB | 154.20 KB | +43.00 B (+0.03%) |
path.html |
131.82 KB | 131.86 KB | +43.00 B (+0.03%) |
perf_hooks.html |
360.69 KB | 360.73 KB | +43.00 B (+0.01%) |
permissions.html |
56.41 KB | 56.45 KB | +43.00 B (+0.07%) |
process.html |
643.50 KB | 643.55 KB | +43.00 B (+0.01%) |
punycode.html |
61.13 KB | 61.17 KB | +43.00 B (+0.07%) |
querystring.html |
60.86 KB | 60.91 KB | +43.00 B (+0.07%) |
quic.html |
345.30 KB | 345.34 KB | +43.00 B (+0.01%) |
readline.html |
237.18 KB | 237.22 KB | +43.00 B (+0.02%) |
repl.html |
177.20 KB | 177.25 KB | +43.00 B (+0.02%) |
report.html |
175.81 KB | 175.85 KB | +43.00 B (+0.02%) |
single-executable-applications.html |
105.13 KB | 105.18 KB | +43.00 B (+0.04%) |
sqlite.html |
235.58 KB | 235.62 KB | +43.00 B (+0.02%) |
stream.html |
813.69 KB | 813.73 KB | +43.00 B (+0.01%) |
string_decoder.html |
53.41 KB | 53.45 KB | +43.00 B (+0.08%) |
synopsis.html |
42.50 KB | 42.55 KB | +43.00 B (+0.10%) |
test.html |
675.90 KB | 675.94 KB | +43.00 B (+0.01%) |
timers.html |
122.62 KB | 122.66 KB | +43.00 B (+0.03%) |
tls.html |
347.43 KB | 347.47 KB | +43.00 B (+0.01%) |
tracing.html |
82.95 KB | 82.99 KB | +43.00 B (+0.05%) |
tty.html |
87.49 KB | 87.54 KB | +43.00 B (+0.05%) |
typescript.html |
53.96 KB | 54.00 KB | +43.00 B (+0.08%) |
url.html |
324.94 KB | 324.98 KB | +43.00 B (+0.01%) |
util.html |
649.08 KB | 649.13 KB | +43.00 B (+0.01%) |
v8.html |
299.54 KB | 299.58 KB | +43.00 B (+0.01%) |
vm.html |
327.35 KB | 327.39 KB | +43.00 B (+0.01%) |
wasi.html |
67.24 KB | 67.29 KB | +43.00 B (+0.06%) |
webcrypto.html |
511.23 KB | 511.27 KB | +43.00 B (+0.01%) |
webstreams.html |
331.72 KB | 331.76 KB | +43.00 B (+0.01%) |
worker_threads.html |
348.81 KB | 348.86 KB | +43.00 B (+0.01%) |
zlib.html |
273.17 KB | 273.22 KB | +43.00 B (+0.02%) |
There was a problem hiding this comment.
Pull request overview
This PR implements theme-related fixes and minor CSS improvements to enhance the visual presentation of the web generator UI. The changes primarily focus on properly setting the CSS color-scheme property for better browser integration with light/dark themes, removing unnecessary overflow styling, and adjusting sidebar spacing.
Changes:
- Added
color-schemeCSS property synchronization with theme changes in both the initial template and theme hook - Removed
overflow-x: scrollfrom the main element (overflow is still handled appropriately via.overflow-container) - Adjusted sidebar select component spacing with negative margin
- Improved code formatting in the template HTML for better readability
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/generators/web/ui/index.css | Removed unnecessary overflow-x: scroll property from main element |
| src/generators/web/ui/hooks/useTheme.mjs | Added colorScheme style property to synchronize with theme changes |
| src/generators/web/ui/components/SideBar/index.module.css | Added negative bottom margin to select component |
| src/generators/web/template.html | Improved formatting and added colorScheme initialization script |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Aviv Keller <me@aviv.sh>
Co-authored-by: Aviv Keller <me@aviv.sh>
|
I'm fast-tracking this as a bug fix (which doesn't require fast-track approval) |
This PR does tiny CSS fixes (color scheme, and whatnot)