From 7461b186a573ac22a315a6954c497be9f9c74c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 4 Jul 2017 21:48:52 +0200 Subject: [PATCH] Include nextcloud variables/functions when building legacy css file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- Makefile | 2 +- css/legacy.scss | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 css/legacy.scss diff --git a/Makefile b/Makefile index f281df216..564ed8ef8 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ build-js: install-deps cd js && ./node_modules/.bin/grunt build build-css: install-deps - ./js/node_modules/node-sass/bin/node-sass --output-style compressed css/style.scss css/style.css + ./js/node_modules/node-sass/bin/node-sass --output-style compressed css/legacy.scss css/style.css watch: cd js && ./node_modules/.bin/grunt watch diff --git a/css/legacy.scss b/css/legacy.scss new file mode 100644 index 000000000..e99022075 --- /dev/null +++ b/css/legacy.scss @@ -0,0 +1,24 @@ +/* + * @copyright Copyright (c) 2016 Julius Härtl + * + * @author Julius Härtl + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + * + */ + +@import '../../../core/css/variables.scss'; +@import 'style.scss';