Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit eeaa83d

Browse files
committed
refactor(Themes): lowerCase the theme file & vars
1 parent db09b7b commit eeaa83d

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

utils/themes/skins/Blue.js renamed to utils/themes/skins/blue.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* a theme inspired by Muzli && unbuntu
2+
* a theme inspired by dribble
33
*/
44
import { lighten, darken } from 'polished'
55

@@ -15,7 +15,7 @@ const markdownFont = '#7F8189'
1515
const descText = '#4a455a'
1616
const primaryMate = '#a7674d'
1717

18-
const Blue = {
18+
const blue = {
1919
logoText: primaryColor,
2020
cover: '#586ABD',
2121
coverIndex: '#9e96c3',
@@ -286,4 +286,4 @@ const Blue = {
286286
},
287287
}
288288

289-
export default Blue
289+
export default blue

utils/themes/skins/Cyan.js renamed to utils/themes/skins/cyan.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const markdownFont = '#9eb8bd'
1616
const descText = '#a3bbbd'
1717
const primaryMate = 'orange'
1818

19-
const Cyan = {
19+
const cyan = {
2020
logoText: descText,
2121
cover: primaryColor,
2222
coverIndex: '#F9FCFC',
@@ -292,4 +292,4 @@ const Cyan = {
292292
},
293293
}
294294

295-
export default Cyan
295+
export default cyan

utils/themes/skins/Github.js renamed to utils/themes/skins/github.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* a theme inspired by Muzli && unbuntu
2+
* a theme inspired by github
33
*/
44
import { lighten, darken } from 'polished'
55

@@ -16,7 +16,7 @@ const descText = '#b5b5b5'
1616
const threadTitle = '#7b7878'
1717
// const primaryMate = 'orange'
1818

19-
const Github = {
19+
const github = {
2020
logoText: descText,
2121
cover: 'white',
2222
coverIndex: '#F9FCFC',
@@ -293,4 +293,4 @@ const Github = {
293293
},
294294
}
295295

296-
export default Github
296+
export default github

utils/themes/skins/Green.js renamed to utils/themes/skins/green.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* a theme inspired by Green && unbuntu
2+
* a theme inspired by green && unbuntu
33
*/
44
import { lighten, darken } from 'polished'
55

@@ -16,7 +16,7 @@ const descText = '#83a085'
1616
const bannerTitle = '#708e7a'
1717
const primaryMate = '#b57a5b'
1818

19-
const Green = {
19+
const green = {
2020
logoText: bannerTitle,
2121
cover: '#B4C9B2',
2222
coverIndex: '#9e96c3',
@@ -283,4 +283,4 @@ const Green = {
283283
},
284284
}
285285

286-
export default Green
286+
export default green

utils/themes/skins/iron_green.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const markdownFont = '#B4C7C6'
1616

1717
const descText = '#7EA7AC'
1818

19-
const IconGreen = {
19+
const iconGreen = {
2020
logoText: descText,
2121
cover: bannerBg,
2222
coverIndex: '#F9FCFC',
@@ -286,4 +286,4 @@ const IconGreen = {
286286
},
287287
}
288288

289-
export default IconGreen
289+
export default iconGreen

utils/themes/skins/Purple.js renamed to utils/themes/skins/purple.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const markdownFont = '#7F8189'
1515
const descText = '#4a455a'
1616
const primaryMate = '#a7674d'
1717

18-
const Purple = {
18+
const purple = {
1919
logoText: primaryColor,
2020
cover: primaryColor,
2121
coverIndex: '#9e96c3',
@@ -291,4 +291,4 @@ const Purple = {
291291
},
292292
}
293293

294-
export default Purple
294+
export default purple

utils/themes/skins/solarized_dark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* a theme inspired by solarized: http://ethanschoonover.com/solarized
2+
* inspired by solarized proj: http://ethanschoonover.com/solarized
33
*/
44
// some selection color not supported
55
import { lighten, darken } from 'polished'
@@ -16,7 +16,7 @@ const markdownFont = '#687F82'
1616
const descText = '#176179'
1717
const primaryMate = '#2CB4AA'
1818

19-
const SolarizedDark = {
19+
const solarizedDark = {
2020
logoText: primaryColor,
2121
cover: lighten(0.08, bannerBg),
2222
coverIndex: primaryMate,
@@ -292,4 +292,4 @@ const SolarizedDark = {
292292
},
293293
}
294294

295-
export default SolarizedDark
295+
export default solarizedDark

utils/themes/skins/Yellow.js renamed to utils/themes/skins/yellow.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* a theme inspired by Muzli && unbuntu
2+
* a theme inspired by https://vimawesome.com/
33
*/
44
import { lighten, darken } from 'polished'
55

@@ -15,7 +15,7 @@ const markdownFont = '#85979c'
1515
const descText = '#9eb7bd'
1616
const primaryMate = '#1e9089'
1717

18-
const Yellow = {
18+
const yellow = {
1919
logoText: primaryColor,
2020
cover: bannerBg,
2121
coverIndex: primaryMate,
@@ -290,4 +290,4 @@ const Yellow = {
290290
},
291291
}
292292

293-
export default Yellow
293+
export default yellow

0 commit comments

Comments
 (0)