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

Commit a095d49

Browse files
committed
refactor(sidebar): add theme support for search box
1 parent 07e817b commit a095d49

File tree

7 files changed

+22
-1
lines changed

7 files changed

+22
-1
lines changed

utils/themes/skins/cyan.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ const cyan = {
111111
borderColor: '#14363E',
112112
topShadow: '0px 6px 4px 0px rgba(0,0,0,0.2)',
113113
topShadowBorderBottom: '1px dashed #316d7b',
114+
searchInputBottom: '#2b6775',
115+
searchInputBottomActive: '#61ABB2',
116+
searchInputHolder: '#3a7786',
114117
},
115118
preview: {
116119
title: '#83a2a5',

utils/themes/skins/github.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ const github = {
112112
borderColor: '#14363E',
113113
topShadow: '0px 6px 4px 0px rgba(0,0,0,0.2)',
114114
topShadowBorderBottom: '1px dashed #3d5a51',
115+
searchInputBottom: '#3A3948',
116+
searchInputBottomActive: '#3B8250',
117+
searchInputHolder: '#3B3948',
115118
},
116119
preview: {
117120
title: threadTitle,

utils/themes/skins/green.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ const green = {
113113
borderColor: lighten(0.05, sidebarBg),
114114
topShadow: '-2px 2px 2px 0px rgb(39, 53, 45)',
115115
topShadowBorderBottom: '1px solid #576957',
116+
searchInputBottom: '#606f64',
117+
searchInputBottomActive: '#92C446',
118+
searchInputHolder: '#607765',
116119
},
117120
preview: {
118121
title: bannerTitle,

utils/themes/skins/iron_green.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,14 @@ const iconGreen = {
106106
holder: lighten(0.15, sidebarBg),
107107
logoText: primaryColor,
108108
menuHover: darken(0.05, sidebarBg),
109-
pinActive: '#54848B',
109+
pinActive: '#BFE4B4',
110110
menuLink: '#F0F9F8',
111111
borderColor: '#14363E',
112112
topShadow: '-1px 6px 2px 0px rgb(9, 171, 165)',
113113
topShadowBorderBottom: '1px solid #668d90',
114+
searchInputBottom: '#8ED5B4',
115+
searchInputBottomActive: '#BFE4B4',
116+
searchInputHolder: '#8ED5B4',
114117
},
115118
preview: {
116119
title: '#C2CDD0',

utils/themes/skins/monokai.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ const monokai = {
114114
borderColor: lighten(0.05, sidebarBg),
115115
topShadow: '-2px 1px 6px 0px rgb(1,21,25)',
116116
topShadowBorderBottom: '1px solid #6b5f34',
117+
searchInputBottom: '#3A3948',
118+
searchInputBottomActive: '#877853',
119+
searchInputHolder: '#3B3948',
117120
},
118121
preview: {
119122
title: primaryColor,

utils/themes/skins/purple.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ const purple = {
112112
borderColor: lighten(0.05, sidebarBg),
113113
topShadow: '-2px 1px 6px 0px rgb(1,21,25)',
114114
topShadowBorderBottom: '1px solid #615b79',
115+
searchInputBottom: '#3A3948',
116+
searchInputBottomActive: '#5F5C75',
117+
searchInputHolder: '#3B3948',
115118
},
116119
preview: {
117120
title: primaryColor,

utils/themes/skins/yellow.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ const yellow = {
112112
borderColor: lighten(0.05, sidebarBg),
113113
topShadow: '0px 6px 4px 0px rgba(0,0,0,0.2)',
114114
topShadowBorderBottom: '1px dashed #88755b',
115+
searchInputBottom: '#5D4833',
116+
searchInputBottomActive: '#A4644B',
117+
searchInputHolder: '#5D4833',
115118
},
116119
preview: {
117120
title: primaryColor,

0 commit comments

Comments
 (0)