The following features are provided by Skeleton’s feature-rich Tailwind Plugin. This dramatically extend the feature set of Tailwind, including: base styles, colors, typography, and more. Learn how to use each custom utility class or access theme CSS custom properties directly.
Base
Provides a set of opinionated base styles to your document.
View Base StylesThese can be disabled in the Skeleton plugin settings.
Components
Skeleton introduces a suite of powerful Tailwind component. See the Tailwind section for more information.
Extends
The following are considered extensions to the existing Tailwind capabilities.
Colors
Please refer to Colors for details.
Class | Theme Property |
---|---|
[style]-[color]-[shade] | —color-[color]-[shade] |
[style]-[color]-contrast-[shade] | —color-[color]-contrast-[shade] |
-- | —color-[color]-contrast-light |
-- | —color-[color]-contrast-dark |
body-color | —body-background-color |
body-color-dark | —body-background-color-dark |
Edges
Class | Theme Property |
---|---|
rounded | —radii-container |
rounded-container | —radii-container |
border | —border-width-default |
ring | —ring-width-defaautl |
outline | —outline-width-default |
divide | —divide-width-default |
Spacing
Please refer to Spacing for details.
Utilities
New and powerful utility classes provided by Skeleton.
Color Pairings
Please refer to Color Pairings for details.
Presets
Please refer to Presets for details.
Typography
Please refer to Typography for details. A typography scale is generated using the following formula.
Class | Theme Property | Rem | Pixels |
---|---|---|---|
type-scale-1 | —type-scale-1 | 0.75rem | 12px |
type-scale-2 | —type-scale-2 | 0.875rem | 14px |
type-scale-3 | —type-scale-3 | 1rem | 16px |
type-scale-4 | —type-scale-4 | 1.125rem | 18px |
type-scale-5 | —type-scale-5 | 1.25rem | 20px |
type-scale-6 | —type-scale-6 | 1.5rem | 24px |
type-scale-7 | —type-scale-7 | 1.875rem | 30px |
type-scale-8 | —type-scale-8 | 2.25rem | 36px |
type-scale-9 | —type-scale-9 | 3rem | 48px |
type-scale-10 | —type-scale-10 | 3.75rem | 60px |
type-scale-11 | —type-scale-11 | 4.5rem | 72px |
type-scale-12 | —type-scale-12 | 6rem | 96px |
type-scale-13 | —type-scale-13 | 8rem | 128px |
Class | Theme Property |
---|---|
base-font-color | —base-font-color |
base-font-color-dark | —base-font-color-dark |
base-font-family | —base-font-family |
base-font-size | —base-font-size |
base-line-height | —base-line-height |
base-font-weight | —base-font-weight |
base-font-style | —base-font-style |
base-letter-spacing | —base-letter-spacing |
Class | Theme Property |
---|---|
heading-font-color | —heading-font-color |
heading-font-color-dark | —heading-font-color-dark |
heading-font-family | —heading-font-family |
heading-font-size | —heading-font-size |
heading-line-height | —heading-line-height |
heading-font-weight | —heading-font-weight |
heading-font-style | —heading-font-style |
heading-letter-spacing | —heading-letter-spacing |
Class | Theme Property |
---|---|
anchor-font-color | —anchor-font-color |
anchor-font-color-dark | —anchor-font-color-dark |
anchor-font-family | —anchor-font-family |
anchor-font-size | —anchor-font-size |
anchor-line-height | —anchor-line-height |
anchor-font-weight | —anchor-font-weight |
anchor-font-style | —anchor-font-style |
anchor-letter-spacing | —anchor-letter-spacing |
anchor-text-decoration | —anchor-text-decoration |
anchor-text-decoration-active | —anchor-text-decoration-active |
anchor-text-decoration-focus | —anchor-text-decoration-focus |
anchor-text-decoration-hover | —anchor-text-decoration-hover |