-
Notifications
You must be signed in to change notification settings - Fork 759
[css-easing-2] linear() custom easing #7484
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b4bad72
Calculating progress & serialising linear-spline
jakearchibald 1c326ef
Define function creation
jakearchibald 1e5b11d
Update largest number when inferring 0 for the first item
jakearchibald a4c01be
Simplify serialisation
jakearchibald 8276f40
Spec tidy up
jakearchibald 0e5043f
Connecting parsing and serialising
jakearchibald f621932
Fix indenting
jakearchibald ef29eae
Dark mode figures
jakearchibald 2739467
Merge remote-tracking branch 'origin/main' into css-easing-2-linear-s…
jakearchibald 05473a9
Markdown headings
jakearchibald f3c7508
Switch back to linear()
jakearchibald 973a84a
Missed a few old spline references
jakearchibald c6fe005
Examples
jakearchibald c51794a
Existing examples are good enough IMO
jakearchibald 8e38422
Forgot to specify 'index'
jakearchibald 8fbc910
Missing comma
jakearchibald 5221e11
Adding serialization examples
jakearchibald 589a383
Be more specific about the linear keyword
jakearchibald ce4c5d1
A little more specific about the serialization of linear()
jakearchibald 932ce07
Apply suggestions from code review
jakearchibald a509029
Fixes following review
jakearchibald d75bd5c
Clarify note
jakearchibald bdbb745
Make all graphs transparent
jakearchibald 17e0ad3
One more
jakearchibald 8ee8bf2
Move examples after normative text
jakearchibald File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Dark mode figures
- Loading branch information
commit ef29eae957b2517399abcb766eb4908f18df1791
There are no files selected for viewing
This file contains hidden or 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
While you converted some of the SVGs to have opaque backgrounds, others you've newly added are still transparent, so this is actually making them less readable than the default
background: whitewould do. I think you either want to remove this or make all the SVGs opaque.Uh oh!
There was an error while loading. Please reload this page.
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.
My intention was to remove the backgrounds so the graphs could be placed in notes/examples without being in their own visual 'box'.
As in, render like this:
Rather than this:
But you would prefer the latter? (my preference isn't strong here so I'm happy to change it)
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.
@tabatkins ping. This is the last bit I'm unsure about.
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.
Your screenshot shows them against the lightmode note styling. Have you checked it against the darkmode note styling to confirm that it's actually readable? I suspect it's not. (I'm fine with removing the background in lightmode, since they're authored to be readable against a light background.) I'm mostly just confused why you decided you needed to add an opaque background to some images, but explicitly remove an opaque background from others, when they look fairly similar in color usage to me.
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.
I use dark mode by default so I checked it there too (part of this PR is making those images work well in dark mode). The lack of consistency in the backgrounds is an error on my part, I'll fix them so they're all transparent.
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.
Here it is against darkmode styling. Seems readable to me.