Socket
Socket
Sign inDemoInstall

@workadventure/design-system

Package Overview
Dependencies
127
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @workadventure/design-system

Tailwind Theme for WorkAdventure


Version published
Weekly downloads
201
increased by294.12%
Maintainers
2
Created
Weekly downloads
 

Changelog

Source

1.0.3 (2024-05-02)

Bug Fixes

  • Include Oswald font (#15) (13e6d50)

Readme

Source

@workadventure/design-system

WorkAdventure's Tailwind themes.

Requirements

  • Node < v18
  • TailwindCSS < v3.3

Installation

Add the dependency:

  npm install @workadventure/design-system
```ncnp
Add the plugin to the Tailwind configuration:
```js
// tailwind.config.js

import workadventureUi from "@workadventure/design-system";

/** @type {import('tailwindcss').Config} */
export default {
    content: ["./index.html", "./src/**/*.{js,ts}"],
    theme: {
        extend: {},
    },
    plugins: [workadventureUi],
    workadventureUi: {
        oswaldFontUrl: './path/to/font.ttf',
    },
};

[!IMPORTANT] Replace './path/to/font.ttf' by the path to your font file in ttf format

Contribute

How to run the example:

    npm install
    cd example
    npm install
    cd ..
    npm run dev

After that, you can open the example in your browser.

To build the package:

    npm run build

Example sheet

Design System

FAQs

Last updated on 02 May 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc