Skip to content

Commit

Permalink
fix(slides): document custom properties
Browse files Browse the repository at this point in the history
references #14850
  • Loading branch information
camwiegert committed Aug 27, 2018
1 parent 7356ba5 commit ecf1eb8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/src/components/slides/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ Licensed under MIT
| `update` | Update the underlying slider implementation. Call this if you've added or removed child slides. |


## CSS Custom Properties

| Name | Description |
| ---------------------------- | ------------------------------------------ |
| `--bullet-background` | Background of the pagination bullets |
| `--bullet-background-active` | Background of the active pagination bullet |


----------------------------------------------

*Built with [StencilJS](https://stenciljs.com/)*
7 changes: 7 additions & 0 deletions core/src/components/slides/slides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
// --------------------------------------------------

:host {
/**
* @prop --bullet-background: Background of the pagination bullets
* @prop --bullet-background-active: Background of the active pagination bullet
*/

// TODO: document progress and scroll bar properties once they're working

display: block;

user-select: none;
Expand Down

0 comments on commit ecf1eb8

Please sign in to comment.