| Index: third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html
|
| diff --git a/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html b/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html
|
| index 2deb9a80170d8a4e4103ee4875fd8eb8f598dec3..ee40cf9ef0574ba43802ab119de3b866584e1c58 100644
|
| --- a/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html
|
| +++ b/third_party/polymer/v1_0/components/paper-checkbox/paper-checkbox.html
|
| @@ -11,7 +11,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| <link rel="import" href="../polymer/polymer.html">
|
| <link rel="import" href="../paper-ripple/paper-ripple.html">
|
| <link rel="import" href="../paper-styles/default-theme.html">
|
| -<link rel="import" href="../paper-behaviors/paper-radio-button-behavior.html">
|
| +<link rel="import" href="../paper-behaviors/paper-inky-focus-behavior.html">
|
|
|
| <!--
|
|
|
| @@ -42,18 +42,6 @@ Custom property | Description | Default
|
| @demo demo/index.html
|
| -->
|
|
|
| -<style is="custom-style">
|
| - :root {
|
| - --paper-checkbox-unchecked-color: var(--primary-text-color);
|
| - --paper-checkbox-unchecked-ink-color: var(--primary-text-color);
|
| -
|
| - --paper-checkbox-checked-color: var(--default-primary-color);
|
| - --paper-checkbox-checked-ink-color: var(--default-primary-color);
|
| -
|
| - --paper-checkbox-label-color: var(--primary-text-color);
|
| - }
|
| -</style>
|
| -
|
| <dom-module id="paper-checkbox">
|
| <link rel="import" type="css" href="paper-checkbox.css">
|
|
|
| @@ -75,7 +63,7 @@ Custom property | Description | Default
|
| is: 'paper-checkbox',
|
|
|
| behaviors: [
|
| - Polymer.PaperRadioButtonBehavior
|
| + Polymer.PaperInkyFocusBehavior
|
| ],
|
|
|
| hostAttributes: {
|
| @@ -148,12 +136,14 @@ Custom property | Description | Default
|
| if (checked) {
|
| return 'checked';
|
| }
|
| + return '';
|
| },
|
|
|
| _computeCheckmarkClass: function(checked) {
|
| if (!checked) {
|
| return 'hidden';
|
| }
|
| + return '';
|
| }
|
| })
|
| </script>
|
|
|