Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/workadventure/sweetsky

UI/UX Changes 2022
https://github.com/workadventure/sweetsky

Last synced: about 2 months ago
JSON representation

UI/UX Changes 2022

Awesome Lists containing this project

README

        

# 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
```scss
...
@import '@workadventure-style/sweetsky/style/index.scss';
...
```

OR

Css import in your index.scss
```css
...
@import '@workadventure-style/sweetsky/sweetsky.min.css';
...
```
### Tailwind configuration

Tailwind configuration in your file `tailwind.config.js`
```js
const defaultTheme = require('@workadventure-style/sweetsky/tailwind.config.js');
module.exports = defaultTheme;
```

OR

Tailwind configuration in your file `tailwind.config.cjs`
```js
const defaultTheme = require('@workadventure-style/sweetsky/tailwind.config.cjs');
module.exports = defaultTheme;
```

### Postcss configuration

Postcss configuration in your file `postcss.config.js`
```js
const defaultPostcssConfig = require('@workadventure-style/sweetsky/postcss.config.js');
module.exports = defaultPostcssConfig;
```