Created
December 15, 2020 16:37
-
-
Save jwcarroll/0e1d60a2893133b2a0851d6c1a020dbb to your computer and use it in GitHub Desktop.
Festive Console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const festiveTextStyles = ` | |
font-size: 15rem; | |
text-align: center; | |
color: #fcedd8; | |
background: #BB2528; | |
font-family: 'Niconne', cursive; | |
font-weight: 700; | |
text-shadow: 5px 5px 0px #165B33, | |
10px 10px 0px #EA4630, | |
15px 15px 0px #146B3A, | |
20px 20px 0px #EA4630, | |
25px 25px 0px #146B3A, | |
30px 30px 0px #c11a2b, | |
35px 35px 0px #c11a2b, | |
40px 40px 0px #c11a2b, | |
45px 45px 0px #c11a2b; | |
`; | |
const makeItFestive = c => { | |
c.yulelog = function(str){ | |
this.log(`%c${str}`,festiveTextStyles); | |
}; | |
}; | |
export { makeItFestive } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment