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

Update custom-style API doc #4750

Merged
2 commits merged into from
Aug 4, 2017
Merged

Update custom-style API doc #4750

2 commits merged into from
Aug 4, 2017

Conversation

arthurevans
Copy link

Fixes Polymer/old-docs-site#2266.

I didn't test this through the docs generation. Handle with care.

Reference Issue

Fixes Polymer/old-docs-site#2266.

I didn't test this through the docs generation. Handle with care.
* - 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
Copy link

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 :)

* - 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`).
Copy link

Choose a reason for hiding this comment

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

apply shim(shadycss/apply-shim.html).

Needs a space? i.e

apply shim
(shadycss/apply-shim.html).

@ghost
Copy link

ghost commented Jul 25, 2017

Tested by following this process: https://www.polymer-project.org/2.0/docs/tools/documentation#create-page

Looks mostly great

@arthurevans
Copy link
Author

Thanks for the fixes @katejeffreys—also for cluing me in that I could just review the changes using polymer analyzer/polymer serve! Fixed spacing and used <custom-style> consistently instead of switching back and forth.

@ghost ghost merged commit 9591b2f into master Aug 4, 2017
@dfreedm dfreedm deleted the arthurevans-patch-1 branch August 7, 2017 23:08
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants