Sweetsky tailwind package for WorkAdventure
A style for WorkAdventure
Getting started
Install
Install with yarn:
yarn add @workadventure-style/sweetsky
Install with npm
npm install @workadventure-style/sweetsky
Scss import
Scss import in your index.scss
...
@import '@workadventure-style/sweetsky/style/index.scss';
...
OR
Css import in your index.scss
...
@import '@workadventure-style/sweetsky/sweetsky.min.css';
...
Tailwind configuration
Tailwind configuration in your file tailwind.config.js
const defaultTheme = require('@workadventure-style/sweetsky/tailwind.config.js');
module.exports = defaultTheme;
OR
Tailwind configuration in your file tailwind.config.cjs
const defaultTheme = require('@workadventure-style/sweetsky/tailwind.config.cjs');
module.exports = defaultTheme;
Postcss configuration
Postcss configuration in your file postcss.config.js
const defaultPostcssConfig = require('@workadventure-style/sweetsky/postcss.config.js');
module.exports = defaultPostcssConfig;