terminal2-stylekit

0.4.5 • Public • Published

Terminal2 Stylekit

This package is used in all terminal2 websites and contains all base styling, components and utilities. It's based on Tailwind css framework and encourages utilities first approach.

Install

yarn add terminal2-stylekit

Use

Use the following webpack.mix.js in the root of your app

let mix = require('laravel-mix');

require('terminal2-stylekit');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel application. By default, we are compiling the Sass
 | file for the application as well as bundling up all the JS files.
 |
 */

mix.terminal2();

Add tailwind & custom styles to your app.scss file

@tailwind preflight;
@tailwind components;
@import "node_modules/terminal2-stylekit/components";

// Custom components here

@tailwind utilities;

// Custom utilities here

/terminal2-stylekit/

    Package Sidebar

    Install

    npm i terminal2-stylekit

    Weekly Downloads

    2

    Version

    0.4.5

    License

    SEE LICENSE IN LICENSE.md

    Unpacked Size

    80.8 kB

    Total Files

    38

    Last publish

    Collaborators

    • douglasdc3