@skeletonlabs/skeleton

3.1.3 • Public • Published

Skeleton

This repository contains all the stylesheets for the Skeleton package.

Installation

pnpm add @skeletonlabs/skeleton

Usage

  1. Import our base stylesheet after the tailwind import:
@import 'tailwindcss';
@import '@skeletonlabs/skeleton'; /* Add Skeleton Stylesheet */
  1. Import a prebuild or custom theme after the base skeleton import:
@import 'tailwindcss';
@import '@skeletonlabs/skeleton';
@import '@skeletonlabs/skeleton/themes/cerberus'; /* Add Skeleton Theme */
  1. Set your imported theme in your HTML root:
<html data-theme="cerberus">
	<!-- Add Skeleton Theme -->
	<!-- ... -->
</html>
  1. Enjoy Skeleton! Visit the documentation for any questions.

Project Setup

This project uses Vite as the build tool. To author our CSS stylesheets in an efficient way we utilize Sass for handling things like loops and shared variables. This is merely a build tool so we will never author actual Sass, we're a Tailwind library after all.

Project Structure

src/
├── base/       # Core styles, color definitions, and base configurations
├── components/ # Component-specific classes
├── internal/   # Internal utilities, constants, and shared resources
├── themes/     # All official Skeleton themes
├── utilities/  # Tailwind utilities
└── variants/   # Tailwind variants

License

This project is licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i @skeletonlabs/skeleton

Weekly Downloads

24,406

Version

3.1.3

License

MIT

Unpacked Size

450 kB

Total Files

27

Last publish

Collaborators

  • skeletonadmin
  • endigo9740
  • cokakoala
  • hugoskokos