-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update custom-style API doc #4750
Conversation
Fixes Polymer/old-docs-site#2266. I didn't test this through the docs generation. Handle with care.
lib/elements/custom-style.html
Outdated
* - Custom properties used by Polymer's shim for cross-scope styling may | ||
* be defined in an custom-style. Use the :root selector to define custom | ||
* properties that apply to all custom elements. | ||
* - Custom properties can be defined in an custom-style. Use the `html` selector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom properties can be defined in an custom-style.
Should be
Custom properties can be defined in a custom-style.
Also.. sometimes it is custom-style and other times <custom-style>
. I am sure there is a reason, just wondering what it is :)
lib/elements/custom-style.html
Outdated
* - Custom properties can be defined in an custom-style. Use the `html` selector | ||
* to define custom properties that apply to all custom elements. | ||
* - Custom mixins can be defined in a custom-style, if you import the optional | ||
* [apply shim](https://github.com/webcomponents/shadycss#about-applyshim)(`shadycss/apply-shim.html`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested by following this process: https://www.polymer-project.org/2.0/docs/tools/documentation#create-page Looks mostly great |
Thanks for the fixes @katejeffreys—also for cluing me in that I could just review the changes using |
Fixes Polymer/old-docs-site#2266.
I didn't test this through the docs generation. Handle with care.
Reference Issue