Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Metadata Catalogue
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Metadata Catalogue
Merge requests
!768
Migrate Less to SCSS, and setup webpack for scss compilation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Migrate Less to SCSS, and setup webpack for scss compilation
EMC-288-SASS-compiler
into
develop
Overview
1
Commits
61
Pipelines
21
Changes
191
Merged
Hamayoon Khan
requested to merge
EMC-288-SASS-compiler
into
develop
7 months ago
Overview
1
Commits
61
Pipelines
21
Changes
191
Expand
Changed all LESS files to SCSS and adjusted syntax
Developed a Webpack configuration to compile SCSS into CSS
Fixed import statments to correctly import styles from node_modules
Rearranged the order of imports for proper loading
Closes
EMC-288
0
0
Merge request reports
Compare
develop
version 20
9407e20a
7 months ago
version 19
5c342402
7 months ago
version 18
c3f97d1f
7 months ago
version 17
6793873e
7 months ago
version 16
9fac10cc
7 months ago
version 15
09823b47
7 months ago
version 14
2e4ec585
7 months ago
version 13
b7c112f5
7 months ago
version 12
ae4c3e43
7 months ago
version 11
86733d1d
7 months ago
version 10
de55bb80
7 months ago
version 9
4a6ee50e
7 months ago
version 8
a72df59d
7 months ago
version 7
2d00ea62
7 months ago
version 6
1ef1130c
7 months ago
version 5
2e251f56
7 months ago
version 4
b9714cfc
7 months ago
version 3
d7d454a7
7 months ago
version 2
13b6bd0b
7 months ago
version 1
fb24366f
7 months ago
develop (base)
and
latest version
latest version
fbc2ab1c
61 commits,
7 months ago
version 20
9407e20a
60 commits,
7 months ago
version 19
5c342402
58 commits,
7 months ago
version 18
c3f97d1f
57 commits,
7 months ago
version 17
6793873e
56 commits,
7 months ago
version 16
9fac10cc
55 commits,
7 months ago
version 15
09823b47
54 commits,
7 months ago
version 14
2e4ec585
53 commits,
7 months ago
version 13
b7c112f5
52 commits,
7 months ago
version 12
ae4c3e43
51 commits,
7 months ago
version 11
86733d1d
50 commits,
7 months ago
version 10
de55bb80
49 commits,
7 months ago
version 9
4a6ee50e
44 commits,
7 months ago
version 8
a72df59d
43 commits,
7 months ago
version 7
2d00ea62
42 commits,
7 months ago
version 6
1ef1130c
41 commits,
7 months ago
version 5
2e251f56
40 commits,
7 months ago
version 4
b9714cfc
39 commits,
7 months ago
version 3
d7d454a7
38 commits,
7 months ago
version 2
13b6bd0b
30 commits,
7 months ago
version 1
fb24366f
24 commits,
7 months ago
191 files
+
6913
−
7305
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
191
Search (e.g. *.vue) (Ctrl+P)
docs/new-catalogue.md
+
9
−
25
Options
@@ -114,43 +114,27 @@ Use a browser plugin like [ModHeaders](https://bewisse.com/modheader/) to modify
## Step 3: Add style
In the
`
Gruntfile
.js`
you need to add the following in the
`
less`
task
In the
`
webpack.scss
.js`
you need to add the following in the
`
entry`
```
js
less
:
{
youId
:
{
files
:
{
'
src/css/style-youId.css
'
:
'
src/less/style-youId.less
'
}
}
entry
:
{
'
style-youId
'
:
'
./scss/style-youId.scss
'
}
```
and in the
`cssmin`
task
You need to create the file
`src/scss/style-youId.scss`
```
js
cssmin
:
{
youId
:
{
files
:
{
'
src/css/style-youId.css
'
:
'
src/css/style-youId.css
'
}
}
}
```
You need to create the file
`src/less/style-youId.less`
your
`less`
files will look like this
your
`scss`
files will look like this
```
le
ss
```
sc
ss
@import
"style-ceh"
;
```
but if you want your own colors you can add something like this
```
le
ss
@
brand-success: #3498DB;
@
header-text: #ECF0F1;
```
sc
ss
$
brand-success
:
#3498DB
;
$
header-text
:
#ECF0F1
;
.text-red
{
color
:
#E74C3C
;}
```
Loading