Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/juliushaertl/theming_customcss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-08-03 17:59:44 +0300
committerGitHub <noreply@github.com>2018-08-03 17:59:44 +0300
commit9dbb3eea51f887e2d5e61760d1a5d29f7a349b8b (patch)
tree9e04d887c21a305bffa404e80bf1afeb069e97e3
parentd2bbeb933b1d895782ea38ccabb693ccbfee445d (diff)
Update README.md
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index c079b80..f8bc428 100644
--- a/README.md
+++ b/README.md
@@ -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);
+}
+```