FIP: Color-Scheme Adaptive Frames #178
dalechyn
started this conversation in
FIP Stage 2: Draft
Replies: 1 comment 1 reply
-
Generally think this is a good idea and we should move to drafts. The one caveat is that @horsefacts is thinking through what a v2 of frames would look like. It might be a good idea to hold this back until we have a better POV on that in case it would affect how this feature is implemented. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
App clients such as Warpcast, Supercast and others have different color schemes depending on the system settings: Light, Dark, System.
Frontend Developers are able to leverage user based settings via
color-scheme
CSS property, but Frame Developers can't leverage it.As a consequence, we see lots of really high-contrast frames as some Frame Developers are opinionated to have a Frame with a Black/White background, breaking the visual experience of a user scrolling a feed.
This FIP proposes to add the next meta tag properties to the Frame specification:
fc:frame:image:light
fc:frame:image
color-scheme: light
user preferencefc:frame:image:dark
fc:frame:image
color-scheme: dark
user preferenceThis way, Frame developers can implement different color versions for their Frames, enhancing overall visual experience for App Clients.
Other important implications:
:light
or:dark
version of the Frame Image URL.Beta Was this translation helpful? Give feedback.
All reactions