Skip to content
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

fix(flamegraph): table, buttons colors for light mode #1458

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

pavelpashkovsky
Copy link
Contributor

@pavelpashkovsky pavelpashkovsky commented Sep 5, 2022

Brief

Fix incorrect colors for UI elements on Flamegraph for light mode.

Changes

before:

before

after:

image

Concerns

  • imported sanitize.css re-writes assigned styles

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2022

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
webapp/public/assets/app.js 419.27 KB (0%) 8.4 s (0%) 4.2 s (+32.85% 🔺) 12.6 s
webapp/public/assets/app.css 15.49 KB (+0.13% 🔺) 310 ms (+0.13% 🔺) 0 ms (+100% 🔺) 310 ms
webapp/public/assets/styles.css 9.47 KB (+0.13% 🔺) 190 ms (+0.13% 🔺) 0 ms (+100% 🔺) 190 ms
packages/pyroscope-flamegraph/dist/index.js 91.8 KB (0%) 1.9 s (0%) 1.8 s (+14.98% 🔺) 3.6 s
packages/pyroscope-flamegraph/dist/index.node.js 91.65 KB (0%) 1.9 s (0%) 556 ms (+0.05% 🔺) 2.4 s
packages/pyroscope-flamegraph/dist/index.css 7.11 KB (+0.27% 🔺) 143 ms (+0.27% 🔺) 0 ms (+100% 🔺) 143 ms

@codecov
Copy link

codecov bot commented Sep 5, 2022

Codecov Report

Merging #1458 (ded72e6) into main (d0d4758) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1458   +/-   ##
=======================================
  Coverage   68.51%   68.51%           
=======================================
  Files         129      129           
  Lines        4290     4290           
  Branches     1159     1159           
=======================================
  Hits         2939     2939           
  Misses       1345     1345           
  Partials        6        6           
Impacted Files Coverage Δ
...ckages/pyroscope-flamegraph/src/Toolbar.module.css 61.54% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pavelpashkovsky pavelpashkovsky marked this pull request as ready for review September 5, 2022 11:54
@pavelpashkovsky pavelpashkovsky changed the title fix(flamegraph): table, buttons colors for light mode [WIP] fix(flamegraph): table, buttons colors for light mode Sep 5, 2022
Copy link
Collaborator

@eh-am eh-am left a comment

Choose a reason for hiding this comment

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

Thank you!!

@@ -5,6 +5,10 @@
align-items: center;
}

.navbar button {
color: var(--ps-neutral-2);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would be nice to define that somewhat globally no? Since it's clear this color applies app-wide.

@eh-am eh-am merged commit 37afd3b into main Sep 5, 2022
@eh-am eh-am deleted the fix-flamegraph-colors branch September 5, 2022 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants