Skip to content

Commit e355680

Browse files
committed
💄 Adds new soft glow light theme
1 parent ca203bb commit e355680

File tree

2 files changed

+100
-10
lines changed

2 files changed

+100
-10
lines changed

src/styles/color-themes.scss

+99-10
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ html[data-theme='thebe'] {
1818
--item-background: #141b33;
1919
--item-background-hover: #060913;
2020
--item-hover-shadow: 0 1px 3px #9660ecb3, 0 1px 2px #9660ecbf;
21-
--primary: #9660ec;
21+
--primary: #b187f5;
2222
--item-group-outer-background: #9660EC
2323
linear-gradient(45deg, #9660ec 2%,#5f60ea 51%,#9660ec 100%);
2424
--font-headings: 'PTMono', 'Courier New', monospace;
2525
}
2626

2727
html[data-theme='dracula'] {
2828
--font-headings: 'Allerta Stencil', sans-serif;
29-
--primary: #6272a4;
29+
--primary: #7a8cc5;
3030
--background: #44475a;
3131
--background-darker: #282a36;
3232
--item-group-background: #282a36;
@@ -36,11 +36,13 @@ html[data-theme='dracula'] {
3636
--item-hover-shadow: none;
3737
--settings-text-color: #98ace9;
3838
--config-settings-color: #98ace9;
39-
.collapsable:nth-child(1n) { background: #8be9fd; .item { border: 1px solid #8be9fd; color: #8be9fd; }}
40-
.collapsable:nth-child(2n) { background: #50fa7b; .item { border: 1px solid #50fa7b; color: #50fa7b; }}
41-
.collapsable:nth-child(3n) { background: #ffb86c; .item { border: 1px solid #ffb86c; color: #ffb86c; }}
42-
.collapsable:nth-child(4n) { background: #ff79c6; .item { border: 1px solid #ff79c6; color: #ff79c6; }}
43-
.collapsable:nth-child(4n) { background: #bd93f9; .item { border: 1px solid #bd93f9; color: #bd93f9; }}
39+
--item-group-outer-background: #282a36;
40+
.item { border: 1px solid var(--primary); }
41+
.collapsable:nth-child(1n) label { color: #8be9fd; }
42+
.collapsable:nth-child(2n) label { color: #50fa7b; }
43+
.collapsable:nth-child(3n) label { color: #ffb86c; }
44+
.collapsable:nth-child(4n) label { color: #ff79c6; }
45+
.collapsable:nth-child(4n) label { color: #bd93f9; }
4446
}
4547

4648
html[data-theme='bee'] {
@@ -190,9 +192,9 @@ html[data-theme='material-original'] {
190192
--font-body: 'Roboto', serif;
191193
--primary: #29B6F6;
192194
--settings-text-color: #01579b;
193-
--background: #e2e1e0;
195+
--background: #f1f1f1;
194196
--background-darker: #01579B;
195-
--settings-background: #01579B;
197+
--item-group-heading-text-color: #01579B;
196198
--item-group-shadow: none;
197199
--item-group-outer-background: none;
198200
--item-group-background: none;
@@ -203,6 +205,7 @@ html[data-theme='material-original'] {
203205
--curve-factor: 2px;
204206
--curve-factor-navbar: 0;
205207
--item-group-padding: 5px 0 0;
208+
--item-text-color: #01579B;
206209
--item-shadow: 0 1px 3px #0000001f, 0 1px 2px #0000003d;
207210
--item-hover-shadow: 0 1px 4px #00000029, 0 2px 4px #0000002a;
208211
--item-icon-transform: drop-shadow(1px 2px 1px var(--transparent-30)) saturate(0.65);
@@ -395,6 +398,7 @@ html[data-theme='material'], html[data-theme='material-dark'] {
395398
white-space: pre-wrap;
396399
font-size: .9em;
397400
text-overflow: ellipsis;
401+
min-height: 2rem;
398402
}
399403
}
400404
&.size-large {
@@ -818,7 +822,92 @@ html[data-theme='vaporware'] {
818822
// }
819823
}
820824

821-
html[data-theme='cyberpunk'] {
825+
html[data-theme='glow'], html[data-theme=glow-colorful] {
826+
--primary: #5c6da9;
827+
--background: #f6f6f6;
828+
--background-darker: #fff;
829+
--curve-factor: 12px;
830+
--item-group-background: #fff;
831+
--item-group-outer-background: #fff;
832+
--item-background: #fff;
833+
--font-headings: 'Sniglet', cursive;
834+
835+
--item-group-heading-text-color: #5c6da9;
836+
--item-group-heading-text-color-hover: #5c6da9;
837+
--item-group-shadow: 0 5px 16px 0 #9f72ff33;
838+
--item-background-hover: #fff;
839+
--item-shadow: 0 1px 5px 0 #8656ef80;
840+
--item-hover-shadow: 0 1px 8px 0 #8656efa6;
841+
--item-icon-transform: drop-shadow(1px 2px 3px var(--transparent-50)) saturate(0.95);
842+
--item-icon-transform-hover: drop-shadow(1px 2px 4px var(--transparent-50)) saturate(0.95);
843+
--footer-height: 120px;
844+
--transparent-50: #cfcfcf80;
845+
header {
846+
padding: 0.5rem;
847+
.page-titles{
848+
h1 {
849+
font-size: 1.8rem;
850+
}
851+
span.subtitle {
852+
font-size: 0.8rem;
853+
text-shadow: none;
854+
855+
}
856+
}
857+
.nav .nav-item {
858+
padding: 0.2rem 0.4rem;
859+
box-shadow: none;
860+
}
861+
}
862+
.settings-outer {
863+
box-shadow: 0 4px 5px 0 #8656ef1a;
864+
.options-container {
865+
padding: 0.25rem 1.5rem 0.25rem 1rem;
866+
background: var(--background-darker);
867+
}
868+
}
869+
footer {
870+
box-shadow: 0 -4px 5px 0 #8656ef1a;
871+
}
872+
.search-wrap input {
873+
box-shadow: 0 1px 5px 0 #8656ef80;
874+
}
875+
div.collapsable:nth-child(1n) {
876+
a.item { color: #5213dc; }
877+
--item-group-shadow: 0 5px 16px 0 #9f72ff33;
878+
--item-group-heading-text-color: #8656ef;
879+
--item-group-heading-text-color-hover: #783cfb;
880+
--item-background-hover: #fff;
881+
--item-shadow: 0 1px 5px 0 #8656ef80;
882+
--item-hover-shadow: 0 1px 8px 0 #8656efa6;
883+
--item-icon-transform: drop-shadow(1px 2px 3px #8656ef80) saturate(0.95);
884+
--item-icon-transform-hover: drop-shadow(1px 2px 4px #8656ef80) saturate(0.95);
885+
}
886+
div.collapsable:nth-child(2n) {
887+
a.item { color: #b514d8; }
888+
--item-group-shadow: 0 5px 16px 0 #728cff33;
889+
--item-group-heading-text-color: #d356ef;
890+
--item-group-heading-text-color-hover: #d73bf9;
891+
--item-background-hover: #fff;
892+
--item-shadow: 0 1px 5px 0 #d356ef80;
893+
--item-hover-shadow: 0 1px 8px 0 #d356efa6;
894+
--item-icon-transform: drop-shadow(1px 2px 3px #d356ef80) saturate(0.95);
895+
--item-icon-transform-hover: drop-shadow(1px 2px 4px #d356ef80) saturate(0.95);
896+
}
897+
div.collapsable:nth-child(3n) {
898+
a.item { color: #07b9d0; }
899+
--item-group-shadow: 0 5px 16px 0 #728cff33;
900+
--item-group-heading-text-color: #56ddef;
901+
--item-group-heading-text-color-hover: #3cdefb;
902+
--item-background-hover: #fff;
903+
--item-shadow: 0 1px 5px 0 #56ddef80;
904+
--item-hover-shadow: 0 1px 8px 0 #56ddefa6;
905+
--item-icon-transform: drop-shadow(1px 2px 3px #56ddef80) saturate(0.95);
906+
--item-icon-transform-hover: drop-shadow(1px 2px 4px #56ddef80) saturate(0.95);
907+
}
908+
}
909+
910+
html[data-theme='cyberpunk'] {
822911
--pink: #ff2a6d;
823912
--pale: #d1f7ff;
824913
--aqua: #05d9e8;

src/utils/defaults.js

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ module.exports = {
6161
'cyberpunk',
6262
'matrix',
6363
'matrix-red',
64+
'glow',
6465
'raspberry-jam',
6566
'bee',
6667
'tiger',

0 commit comments

Comments
 (0)