Skip to content

Instantly share code, notes, and snippets.

@7ammer
7ammer / webpack.mix.js
Last active July 23, 2021 18:09
A way to process tailwind's theme('') function in sass during sass rendering so you can do things like { color: darken(theme('colors.blue.500')) }.
/*
Usage with dart sass....
.header {
color: color.scale(twColors('red.500'), $lightness: 20%) ;
}
*/
@7ammer
7ammer / test
Last active September 15, 2018 14:59
This file has been truncated, but you can view the full file.