Skip to content

Commit f1f4510

Browse files
author
cdejonghe
committed
feat(#78): Align category colors with SII corporate style guidelines
1 parent 2cb4673 commit f1f4510

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+150
-259
lines changed

assets/images/reduxjs.png

3.72 KB
Loading

gulpfile.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,6 @@ const CATEGORY = {
3333
let name = '';
3434
let category = '';
3535

36-
const getColor = category => {
37-
switch (category) {
38-
case CATEGORY.FRAMEWORKS:
39-
return 'green';
40-
case CATEGORY.LANGUAGES:
41-
return 'orange';
42-
case CATEGORY.TOOLS:
43-
default:
44-
return 'blue';
45-
}
46-
};
47-
4836
/**
4937
* PRIVATE TASKS
5038
*/
@@ -168,7 +156,7 @@ task(
168156
function renameCss() {
169157
return gulp
170158
.src('./src/' + name + '/style.scss')
171-
.pipe(replace('{{COLOR}}', getColor(category)))
159+
.pipe(replace('{{CATEGORY}}', category))
172160
.pipe(rename(name + '.scss'))
173161
.pipe(gulp.dest('./src/' + name));
174162
}

src/affinage/affinage.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
}
1111

1212
body {
13-
// available colors are: blue, green, purple, orange and grey
14-
--currentColor: var(--orange);
15-
16-
1713
#showPreview:checked ~ .reverse .landscape {
1814
transform: rotate(90deg) translateX(164px) translateY(164px);
1915
width: 29.7cm;

src/affinage/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<link rel="stylesheet" href="../common/lib/atom-one-light.css">
77
<link rel="stylesheet" href="./@@folder.css">
88
</head>
9-
<body>
9+
<body class="AGILE">
1010
<input type="checkbox" id="showPreview"/>
1111
<div class="first-side">
1212
@@include('../../dist/common/first-side/header-no-print-large.html', {"title": "Affinage du backlog", "subtitle": "Cérémonies scrum", "imageName": "AgileBySII_blanc"})
13-
13+
1414
<main>
1515
<div class="column1">
1616
@@include('../../dist/@@folder/first-side/column1.html')

src/angular-cli/angular-cli.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
/* you must not change other scss files */
33

44
body {
5-
// available colors are: blue, green, purple, orange and grey
6-
--currentColor: var(--blue);
7-
85
main div {
96
img {
107
height: 230px;

src/angular-cli/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="stylesheet" href="../common/lib/atom-one-light.css">
77
<link rel="stylesheet" href="./@@folder.css">
88
</head>
9-
<body>
9+
<body class="TOOLS">
1010
<input type="checkbox" id="showPreview"/>
1111
<div class="first-side">
1212
@@include('../../dist/common/first-side/header.html', {"title": "Angular CLI cheat sheet", "subtitle": "CLI tool for Angular", "imageName": "@@folder"})

src/angular/angular.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
/* you must not change other scss files */
33

44
body {
5-
// available colors are: blue, green, purple, orange and grey
6-
--currentColor: var(--orange);
7-
85
main div {
96
img {
107
height: 230px;

src/angular/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="stylesheet" href="../common/lib/atom-one-light.css">
77
<link rel="stylesheet" href="./@@folder.css">
88
</head>
9-
<body>
9+
<body class="FRAMEWORKS">
1010
<input type="checkbox" id="showPreview"/>
1111
<div class="first-side">
1212
@@include('../../dist/common/first-side/header.html', {"title": "Angular (TS) cheat sheet", "subtitle": "One framework. Mobile & desktop.", "imageName": "@@folder"})

src/ansible/ansible.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
/* you must not change other scss files */
33

44
body {
5-
// available colors are: blue, green, purple, orange and grey
6-
--currentColor: var(--blue);
7-
85
main div {
96
img {
107
height: 230px;

src/ansible/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<link rel="stylesheet" href="../common/lib/atom-one-light.css">
77
<link rel="stylesheet" href="./@@folder.css">
88
</head>
9-
<body>
9+
<body class="TOOLS">
1010
<input type="checkbox" id="showPreview"/>
1111
<div class="first-side">
1212
@@include('../../dist/common/first-side/header.html', {"title": "ansible cheat sheet", "subtitle": "Configuration Management Tool", "imageName": "@@folder"})

0 commit comments

Comments
 (0)