-
-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ (line chart) improve static version for Figma (#3990)
Makes line charts a bit nicer to work with in Figma. In particular: - Simplifies/flattens the hierarchy - Removes groups and elements that are unnecessary for a static export - Groups elements by type more often I find grouping elements by type a bit un-elegant in code tbh. But if it helps our authors edit charts in Figma, it's a small price to pay, I guess :) #### Screenshots (Figma) | Before | After | | ------- | ------ | | <img width="333" alt="Screenshot 2024-10-07 at 13 52 38" src="https://github.com/user-attachments/assets/ed85d96b-c00d-4e06-bbd5-d20f60998c1c"> | <img width="333" alt="Screenshot 2024-10-07 at 13 52 52" src="https://github.com/user-attachments/assets/27684c02-c67a-40fe-92e5-525ef337c20b"> |
- Loading branch information
1 parent
dbd3c5d
commit 51936d0
Showing
6 changed files
with
490 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.