Skip to content

Instantly share code, notes, and snippets.

@jwcarroll
Created December 15, 2020 16:37
Show Gist options
  • Save jwcarroll/0e1d60a2893133b2a0851d6c1a020dbb to your computer and use it in GitHub Desktop.
Save jwcarroll/0e1d60a2893133b2a0851d6c1a020dbb to your computer and use it in GitHub Desktop.
Festive Console
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