Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Tema Vanilla per Ubuntu-it
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Tema Vanilla per Ubuntu-it
Commits
b9b88088
Commit
b9b88088
authored
Nov 05, 2016
by
Mattia Migliorini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#1
: use import paths for third party SASS files inclusion
parent
068d2de8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
gulpfile.js
gulpfile.js
+8
-6
scss/build.scss
scss/build.scss
+1
-1
No files found.
gulpfile.js
View file @
b9b88088
...
...
@@ -23,16 +23,18 @@ var postcss = require("gulp-postcss");
var
autoprefixer
=
require
(
"
autoprefixer
"
);
gulp
.
task
(
"
sass
"
,
function
()
{
return
gulp
.
src
(
"
scss/build.scss
"
)
.
pipe
(
sass
().
on
(
"
error
"
,
sass
.
logError
))
.
pipe
(
postcss
([
autoprefixer
()]))
.
pipe
(
gulp
.
dest
(
"
.
"
));
return
gulp
.
src
(
"
scss/build.scss
"
)
.
pipe
(
sass
({
includePaths
:
[
'
node_modules
'
]
}).
on
(
"
error
"
,
sass
.
logError
))
.
pipe
(
postcss
([
autoprefixer
()]))
.
pipe
(
gulp
.
dest
(
"
.
"
));
});
gulp
.
task
(
"
watch
"
,
function
()
{
gulp
.
watch
(
"
scss/**/*.scss
"
,
[
"
sass
"
]);
gulp
.
watch
(
"
scss/**/*.scss
"
,
[
"
sass
"
]);
});
gulp
.
task
(
"
default
"
,
function
()
{
gulp
.
start
(
"
sass
"
);
gulp
.
start
(
"
sass
"
);
});
scss/build.scss
View file @
b9b88088
...
...
@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>.
*/
@import
'
../node_modules/
ubuntu-vanilla-theme/scss/theme'
;
@import
'ubuntu-vanilla-theme/scss/theme'
;
@import
'vanilla-theme'
;
@include
ubuntuit-vanilla-theme
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment