my-preset
v1.1.2
Published
A Dark themed UI Preset for a Basic Styled Starter Project
Readme
Base Theme Styles
A modern dark UI base theme for Tailwind CSS using addBase().
Styled Elements
Layout
html— global typography, smooth scrolling, dark backgroundbody— radial gradient background + font smoothing
Typography
h1→h6— responsive heading hierarchyp— muted paragraph text with relaxed spacingsmall— secondary helper textstrong— emphasized textmark— highlighted inline textblockquote— accented quote containercode— inline code stylingpre— code block container
Links
a— animated underline hover links
Buttons
button[type="button"][type="submit"][type="reset"]
Features:
- rounded corners
- hover lift animation
- shadow styling
- primary color system
Forms
inputselecttextarealabelfieldsetlegend
Features:
- dark surface inputs
- focus glow ring
- rounded borders
Tables
tabletheadthtd
Features:
- dark table surface
- hoverable rows
- bordered layout
Lists
ulolli
Features:
- consistent spacing
- muted list text
Navigation
nav
Features:
- sticky positioning
- blurred glass background
- border separator
Content Containers
sectionarticleaside
Features:
- glass-style surfaces
- shadow elevation
- fade-in animation
- rounded corners
Media
img
Features:
- responsive sizing
- rounded corners
Utility Elements
hr— styled divider::selection— custom text selection color::-webkit-scrollbar*— custom scrollbar styling
Global Effects
- universal transitions on:
- background-color
- color
- border-color
- transform
- box-shadow
Animations
fadeIn— smooth upward fade entrance animation and on div elements
Theme Tokens
Colors
--bg--surface--surface-hover--text--text-muted--primary--primary-hover--border
Other Tokens
--radius--shadow--transition
Included UX Features
- Dark mode design system
- Smooth transitions
- Glassmorphism-inspired surfaces and another individual class
- Accessible spacing
- Modern typography scale
- Soft elevation shadows
- Animated interactions
- Consistent border radius system
- Used Grayscale Theme
