init: layout
This commit is contained in:
committed by
hsjobeki
parent
4ec7e13e96
commit
a0a137191d
10
pkgs/ui/src/utils/tailwind.ts
Normal file
10
pkgs/ui/src/utils/tailwind.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* use this template literal to write tailwind classes
|
||||
* example: tw`transition-colors duration-300 ease-in-out active:duration-100`
|
||||
*
|
||||
* to use this, you need to add the following to your tailwind plugin configuration (Intellij settings)
|
||||
* "experimental": {
|
||||
* "classRegex": ["tw`(.*)`"]
|
||||
* }
|
||||
*/
|
||||
export const tw = String.raw;
|
||||
Reference in New Issue
Block a user