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

fix(style): add mixin for close fab button #11

Merged
merged 2 commits into from
Sep 12, 2017

Conversation

Oupsla
Copy link
Contributor

@Oupsla Oupsla commented Sep 12, 2017

Pr for #10

@@ -43,8 +45,8 @@
}

.close {
--paper-fab-background: var(--paper-grey-500);
--paper-fab-keyboard-focus-background: var(--paper-grey-500);
--paper-fab-background: var(--paper-fab-speed-dial-background-close);
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the contribution. Could you please set the default to --paper-grey-500 to keep backwards compatibility?

See https://www.polymer-project.org/2.0/docs/devguide/custom-css-properties (section "Create custom properties")

You can also include a default value in the var() function, to use in case the user doesn't set the custom property:
color: var(--my-toolbar-title-color, blue);
To include a default value that is a custom property, use this syntax:
color: var(--my-color, var(--my-default-color))

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done 👍

@Oupsla
Copy link
Contributor Author

Oupsla commented Sep 12, 2017

Not merged ?

@ronnyroeller ronnyroeller reopened this Sep 12, 2017
@ronnyroeller ronnyroeller merged commit 36a3577 into Collaborne:master Sep 12, 2017
@ronnyroeller
Copy link
Member

Sorry, that was a mistake on my side

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

Successfully merging this pull request may close these issues.

None yet

2 participants