šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@skeletonlabs/skeleton

Package Overview
Dependencies
Maintainers
4
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skeletonlabs/skeleton

This repository contains all the stylesheets for the Skeleton package.

3.1.3
latest
Source
npm
Version published
Weekly downloads
21K
-6.92%
Maintainers
4
Weekly downloads
Ā 
Created
Source

Skeleton

This repository contains all the stylesheets for the Skeleton package.

Installation

pnpm add @skeletonlabs/skeleton

Usage

  • Import our base stylesheet after the tailwind import:
@import 'tailwindcss';
@import '@skeletonlabs/skeleton'; /* Add Skeleton Stylesheet */
  • Import a prebuild or custom theme after the base skeleton import:
@import 'tailwindcss';
@import '@skeletonlabs/skeleton';
@import '@skeletonlabs/skeleton/themes/cerberus'; /* Add Skeleton Theme */
  • Set your imported theme in your HTML root:
<html data-theme="cerberus">
	<!-- Add Skeleton Theme -->
	<!-- ... -->
</html>
  • 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.

FAQs

Package last updated on 25 Apr 2025

Did you know?

Socket

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