Index: third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
diff --git a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
index 34e0758c9f7efcbdaff3f9efc320288cd1726dd7..e3f0c13c48fc6c2c5d53de4999c5d1a409223c5f 100644 |
--- a/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
+++ b/third_party/polymer/v1_0/components-chromium/paper-radio-button/paper-radio-button.html |
@@ -43,6 +43,7 @@ Custom property | Description | Default |
`--paper-radio-button-label-spacing` | Spacing between the label and the button | `10px` |
`--paper-radio-button-radio-container` | A mixin applied to the internal radio container | `{}` |
`--paper-radio-button-label` | A mixin applied to the internal label | `{}` |
+`--paper-radio-button-label-checked` | A mixin applied to the internal label when the radio button is checked | `{}` |
This element applies the mixin `--paper-font-common-base` but does not import `paper-styles/typography.html`. |
In order to apply the `Roboto` font to this element, make sure you've imported `paper-styles/typography.html`. |
@@ -146,6 +147,10 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` |
@apply(--paper-radio-button-label); |
} |
+ :host([checked]) #radioLabel { |
+ @apply(--paper-radio-button-label-checked); |
+ } |
+ |
:host-context([dir="rtl"]) #radioLabel { |
margin-left: 0; |
margin-right: var(--paper-radio-button-label-spacing, 10px); |
@@ -182,4 +187,4 @@ In order to apply the `Roboto` font to this element, make sure you've imported ` |
</template> |
</dom-module> |
-<script src="paper-radio-button-extracted.js"></script></body></html> |
+<script src="paper-radio-button-extracted.js"></script></body></html> |