diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-08-03 17:59:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-03 17:59:44 +0300 |
commit | 9dbb3eea51f887e2d5e61760d1a5d29f7a349b8b (patch) | |
tree | 9e04d887c21a305bffa404e80bf1afeb069e97e3 | |
parent | d2bbeb933b1d895782ea38ccabb693ccbfee445d (diff) |
Update README.md
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -3,3 +3,15 @@ Allow admins to add custom css to their nextcloud instance from inside the theming settings. ![](https://github.com/juliushaertl/theming_customcss/raw/master/screenshot.png) + +## Use theming color values + +With Nextcloud 14 you can use CSS custom properties to make use of the variables that are available from the [css-variables.scss](https://github.com/nextcloud/server/blob/master/core/css/css-variables.scss) file: + +Example: + +``` +#element { + color: var(--color-primary); +} +``` |