Skip to content

Commit acb64f0

Browse files
authored
docs(theming): replace charcoal variable with background since the property name is background (#3678)
1 parent 60443e2 commit acb64f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/theming/css-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ The value of a CSS variable can be read in JavaScript using [getPropertyValue()]
8484

8585
```js
8686
const el = document.querySelector('.fancy-button');
87-
const color = el.style.getPropertyValue('--charcoal');
87+
const color = el.style.getPropertyValue('--background');
8888
```
8989

9090
## Ionic Variables

0 commit comments

Comments
 (0)