From 377cd1f6abdf08728cb185bf2ca3dfd6845b9ef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 23 Aug 2018 15:33:25 +0200 Subject: [PATCH] Add docs about css variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- developer_manual/design/css.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/developer_manual/design/css.rst b/developer_manual/design/css.rst index 38a4dfa33..01ae42e9d 100644 --- a/developer_manual/design/css.rst +++ b/developer_manual/design/css.rst @@ -12,6 +12,18 @@ The server will automatically compile, cache and and serve it. The priority goes to the scss file. So having two file with the same name and a ``scss`` & ``css`` extension will ensure a retro compatibility with <12 versions as scss files will be ignored by the server. +.. _cssvars: + +============= +CSS variables +============= + +Since Nextcloud 14 app developers should use CSS4 variables for using the values that Nextcloud defines. This way you can be sure that the theming and accessibility app can dynamically adjust the values to their needs. + +A list of available variables is available in the server repo: +https://github.com/nextcloud/server/blob/master/core/css/css-variables.scss + + .. _cssicons: =============