-
-
Save ChristopherBiscardi/9c4a4a226b2326f138a612e1da83f8ac to your computer and use it in GitHub Desktop.
asfasf
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
["transform-postcss", { | |
"config": "postcss.config.js", | |
"extensions": [".modules.css"] | |
}] |
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
/** @jsx h */ | |
import { h } from 'preact'; | |
import { SettingsProvider } from './context/settings.js'; | |
console.log( | |
'%c HERE ARE SOME BOOPS FOR YOU', | |
` | |
font-size: 6vw; | |
color: transparent; | |
background-image: url(https://res.cloudinary.com/jlengstorf/image/upload/q_auto,f_auto,w_100/v1585764654/lwj/store/boop.png); | |
background-blend-mode: multiply; | |
background-size: contain; | |
background-position: 0 -10px; | |
line-height: 1; | |
`, | |
); | |
console.log( | |
'%c HELLO FRIENDS THANK YOU FOR COMING TO THE CONSOLE', | |
` | |
background-color: #6d114c; | |
color: white; | |
font-size: 2.8vw; | |
line-height: 1; | |
padding: 4rem 5vw; | |
`, | |
); | |
export default ({ children }) => { | |
return ( | |
<SettingsProvider> | |
<div>{children}</div> | |
</SettingsProvider> | |
); | |
}; |
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
module.exports = { | |
plugins: [ | |
require('postcss-modules')({ | |
globalModulePaths: [/src\/styles\/global.css/], | |
getJSON: | |
// ctx.extractModules || | |
(filename, json, outputFile) => { | |
console.log(filename, json, outputFile); | |
}, | |
}), | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment