Skip to content
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

Improve CSS property documentation #435

Open
jcfilben opened this issue Oct 27, 2022 · 0 comments
Open

Improve CSS property documentation #435

jcfilben opened this issue Oct 27, 2022 · 0 comments

Comments

@jcfilben
Copy link
Collaborator

We should standardize the way we document properties that map to css properties. There are a few different potential scenarios that could happen:

  • grommet prop maps 1 to 1 with css property
  • grommet prop can accept some but not all of the options that could be passed to a css property
  • grommet prop can accept all the options passed to a css prop in addition to other options
  • grommet prop can accept some css property options and some additional options

We should take into consideration the above scenarios when designing a solution. We have also received feedback that it would be helpful to make it more clear when a grommet prop maps to a css property. So something that visually calls attention in these cases might be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant