Core
Provides a variety of globally scoped styles.
Body Background
Your app's background is automatically set via a design token class. Adjust your theme's color scheme to customize. This affects both light and dark mode.
body { @apply bg-surface-50-900-token; }
Selection
Selection color is also set via a token class. Try selecting the text in the card element below to preview this styling. Notice how selection color changes depending on the background.
Mobile Focus
Interactive elements on mobile will briefly show a focus
style when touched. Skeleton adjusts the coloring.
Scrollbars
Skeleton automatically provides custom scrollbar styles in supported browsers. Use .hide-scrollbar
to disable
scrollbars.
Dividers
Native hr
horizontal rule elements respect your theme settings automatically. Use border size to adjust the
width.
Divider Styling
Dividers may be dashed, dotted, or doubled.
Vertical Dividers
Divide columns with the .divider-vertical
class. You can apply it with a span
tag. Adjust the
height as desired.