Skip to content

Commit ecf1eb8

Browse files
committed
fix(slides): document custom properties
references #14850
1 parent 7356ba5 commit ecf1eb8

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

core/src/components/slides/readme.md

+8
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ Licensed under MIT
7070
| `update` | Update the underlying slider implementation. Call this if you've added or removed child slides. |
7171

7272

73+
## CSS Custom Properties
74+
75+
| Name | Description |
76+
| ---------------------------- | ------------------------------------------ |
77+
| `--bullet-background` | Background of the pagination bullets |
78+
| `--bullet-background-active` | Background of the active pagination bullet |
79+
80+
7381
----------------------------------------------
7482

7583
*Built with [StencilJS](https://stenciljs.com/)*

core/src/components/slides/slides.scss

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
// --------------------------------------------------
66

77
:host {
8+
/**
9+
* @prop --bullet-background: Background of the pagination bullets
10+
* @prop --bullet-background-active: Background of the active pagination bullet
11+
*/
12+
13+
// TODO: document progress and scroll bar properties once they're working
14+
815
display: block;
916

1017
user-select: none;

0 commit comments

Comments
 (0)