@@ -47,6 +47,8 @@ module.exports = class Render {
4747
4848 generate ( format ) {
4949 let props = {
50+ borderSize : '0px' ,
51+ shadow : false ,
5052 zoom : `0.9` ,
5153 size : {
5254 width : 880 ,
@@ -86,29 +88,30 @@ module.exports = class Render {
8688 height : 66 * 20
8789 } ;
8890
89- props . backgroundColor = `#FFFFE8` ;
91+ props . shadow = true ;
92+ props . borderSize = `3px` ;
93+ props . backgroundColor = `#fffdf0` ;
9094 props . textColor = colors . BLK ;
9195 break ;
9296 }
9397
9498 let css = [
9599 `#container {` ,
100+ ` margin-top: 10px;` ,
96101 ` font-family: monospace;` ,
97102 ` font-size: 18px;` ,
98- ` border: solid black 1px ;` ,
103+ ` border: solid black ${ props . borderSize } ;` ,
99104 ` width: ${ props . size . width } px;` ,
100105 ` height: ${ props . size . height } px;` ,
101106 ` position: absolute;` ,
102107 ` --g: transparent calc(100% - 1px), #ebebeb 0;` ,
103108 ` letter-spacing: 0.15px;` ,
104109 ` color: ${ props . textColor } ;` ,
105- ` background:` ,
106- // ` linear-gradient(to right, var(--g)),`,
107- // ` linear-gradient(to bottom, var(--g)), `,
108- ` ${ props . backgroundColor } ;` ,
110+ ` background: ${ props . backgroundColor } ;` ,
109111 ` background-size:` ,
110112 ` 11px 100%,` ,
111113 ` 100% 20px;` ,
114+ ( props . shadow ? `box-shadow: 5px 5px 5px grey;` : `` ) ,
112115 `}` ,
113116 `@keyframes blinker {` ,
114117 ` 50% {` ,
0 commit comments