Skip to content

Commit

Permalink
Merge pull request #224 from nextcloud/fix-scss-stable11
Browse files Browse the repository at this point in the history
Include nextcloud variables/functions when building legacy css file
  • Loading branch information
artemanufrij authored Jul 4, 2017
2 parents 34a253c + 7461b18 commit 4cbaff4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions css/legacy.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* @copyright Copyright (c) 2016 Julius Härtl <[email protected]>
*
* @author Julius Härtl <[email protected]>
*
* @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 <http://www.gnu.org/licenses/>.
*
*/

@import '../../../core/css/variables.scss';
@import 'style.scss';

0 comments on commit 4cbaff4

Please sign in to comment.