mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #11] Styling #7
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @quantizor on GitHub (Feb 17, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/11
Are you planning on implementing a Stylesheet API like
react-nativehas? Curious how we could tie in something likestyled-components/nativeto enable a full visual solution.@dariocravero commented on GitHub (Feb 19, 2018):
It would also be interesting to leverage RNs primitives (like calling Box View) and use a flexbox model (perhaps through yoga) to make it super transparent to jump on it. Will try to explore those areas soon. Do you have any thoughts on that? Thanks for putting this together btw! It has tonnes of potential!
@kusti8 commented on GitHub (Feb 21, 2018):
I don't have any experience with yoga so I wouldn't know where to start. A stylesheet would depend on how libui will get more features. I don't know if there are enough styles to constitute a stylesheet.
@mdings commented on GitHub (Feb 23, 2018):
Is there a way at all currently to apply styling to the elements?
@kusti8 commented on GitHub (Mar 2, 2018):
Not right now no. If libui gets more features I'll add it, but for now you can just create objects with all the props and then add
{...myStyle}to the component props.