@webtui/css

0.1.2 • Public • Published

@webtui/css

Modular CSS Library that brings the beauty of Terminal UIs to the browser

Read the docs at https://webtui.ironclad.sh

Installation

Install the base WebTUI package with your preferred package manager

bun i @webtui/css
npm i @webtui/css
yarn add @webtui/css
pnpm install @webtui/css

In your global CSS file, define the order of layers using the @layer at-rule [MDN Reference] before importing the base stylesheet

@layer base, utils, components;

@import "@webtui/css/base.css";

Import the desired utilities, components, and themes after importing the base stylesheet

@layer base, utils, components;

@import "@webtui/css/base.css";

/* Utils */
@import "@webtui/css/utils/box.css";

/* Components */
@import "@webtui/css/components/button.css";
@import "@webtui/css/components/typography.css";

Readme

Keywords

none

Package Sidebar

Install

npm i @webtui/css

Weekly Downloads

272

Version

0.1.2

License

none

Unpacked Size

54.3 kB

Total Files

19

Last publish

Collaborators

  • ironcladdev