Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions paper-toggle-button.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
* `--paper-toggle-button-checked-ink` | Mixin applied to the ripple when the input is checked | `{}`
* `--paper-toggle-button-label-color` | Label color | `--primary-text-color`
* `--paper-toggle-button-label-spacing` | Spacing between the label and the button | `8px`
* `--paper-toggle-button-button-container-min-width` | Minimum width of the container for the bar and the button | `36px`
*
* 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`.
Expand Down
2 changes: 2 additions & 0 deletions paper-toggle-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
`--paper-toggle-button-checked-ink` | Mixin applied to the ripple when the input is checked | `{}`
`--paper-toggle-button-label-color` | Label color | `--primary-text-color`
`--paper-toggle-button-label-spacing` | Spacing between the label and the button | `8px`
`--paper-toggle-button-button-container-min-width` | Minimum width of the container for the bar and the button | `36px`

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`.
Expand Down Expand Up @@ -164,6 +165,7 @@
position: relative;
width: 36px;
height: 14px;
min-width: var(--paper-toggle-button-button-container-min-width, 36px);
/* The toggle button has an absolute position of -3px; The extra 1px
/* accounts for the toggle button shadow box. */
margin: 4px 1px;
Expand Down