Repository navigation
Add new backfaceColor argument to appearance stdlib fn - #14693
adamchalmers wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Merging this PR will not alter performance
|
2c347bb to
f640a8e
Compare
fd4096c to
1f3eec5
Compare
appearance stdlib fnappearance stdlib fn
| color: string | ||
| backfaceColor?: string |
There was a problem hiding this comment.
Note for me: need to figure out why we need to override the types for string here as it should be automatic. This was the case for color already so it's not part of this PR.
Previously, if you set a surface's appearance, it would set the appearance of both the front face _and_ backface. But users might want to visually distinguish front and backfaces. So now they can use ``` appearance(color = "#ff0000", backfaceColor = "#112233") ```
83397de to
04a29cd
Compare
Previously, if you set a surface's appearance, it would set the appearance of both the front face and backface. But users might want to visually distinguish front and backfaces.
So now they can use
Includes the Typescript codebase support so you can edit this in the modals