Skip to content

add docs for stylelint rule syntax #849

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

Conversation

romainmenke
Copy link
Member

fixes : #848

Comment on lines +87 to +88
color: '| csstools-if( <custom-property-name> <\'color\'> else <\'color\'> )',
'background-color': '| csstools-if( <custom-property-name> <\'background-color\'> else <\'background-color\'> )',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope the repetition makes it clear what is going here.

I don't think we can or should try to document the CSS value syntax notation. So I am only providing a hint for users who already know enough to use this correctly.

@romainmenke romainmenke merged commit 1b8a37a into main Feb 10, 2023
@romainmenke romainmenke deleted the add-stylelint-docs-for-custom-syntax--unassuming-glass-lizard-2f7e012c75 branch February 10, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document custom syntax things for stylelint
1 participant