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

Shadow work #4520

Merged
merged 16 commits into from
Nov 27, 2023
Merged

Shadow work #4520

merged 16 commits into from
Nov 27, 2023

Conversation

lankaukk
Copy link
Collaborator

@lankaukk lankaukk commented Nov 20, 2023

Problem:
There were many inconsistencies in the various shadows used in the editor.

Fix:
Now we have a new shadowStyles object in the utopia-theme file that unifies the different levels of shadows into a consistent system. All UI elements should be using one of the variants of grounded, low, mid, high, or highest. Each of which make use of 2 box-shadow properties, and a color variable for dark/light mode.

Highlights:

Screenshot 2023-11-21 at 10 20 27 PM Screenshot 2023-11-21 at 10 20 19 PM Screenshot 2023-11-21 at 10 19 59 PM Screenshot 2023-11-21 at 10 20 10 PM

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Try me

Copy link

relativeci bot commented Nov 20, 2023

Job #9378: Bundle Size — 66.27MiB (~+0.01%).

c0a424e(current) vs 5957b21 master#9371(baseline)

Warning

Bundle contains 68 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
Job #9378
     Baseline
Job #9371
Regression  Initial JS 48.41MiB(~+0.01%) 48.41MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 19.76% 18.25%
No change  Chunks 26 26
No change  Assets 30 30
No change  Modules 4491 4491
No change  Duplicate Modules 477 477
No change  Duplicate Code 30.27% 30.27%
No change  Packages 467 467
No change  Duplicate Packages 68 68
Bundle size by type  Change 1 change Regression 1 regression
                 Current
Job #9378
     Baseline
Job #9371
Regression  JS 66.26MiB (~+0.01%) 66.25MiB
Not changed  HTML 11.32KiB 11.32KiB

View job #9378 reportView shadow-work branch activity

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Performance test results:
(Chart1)
(Chart2)

@lankaukk lankaukk marked this pull request as ready for review November 22, 2023 15:16
@lankaukk lankaukk merged commit b54ce51 into master Nov 27, 2023
10 checks passed
@lankaukk lankaukk deleted the shadow-work branch November 27, 2023 17:01
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.

3 participants