@txkit/themes
CSS themes for txKit components.
v0.1.0-alpha - pure CSS, no JavaScript. Ships light + dark themes and three visual variants.
Overview
CSS custom property themes for txKit components. Light and dark base themes, plus soft, sharp, and rounded visual variants. All tokens are namespaced under --txkit-* to avoid clashes with your app's design system.
Install
npm install @txkit/themes
Usage
import '@txkit/themes'
import '@txkit/themes/base'
import '@txkit/themes/dark'
Visual Variants
import '@txkit/themes/variants/soft'
import '@txkit/themes/variants/sharp'
import '@txkit/themes/variants/rounded'
Customization
Override any --txkit-* CSS custom property:
:root {
--txkit-color-primary: #4338ca;
--txkit-radius-md: 8px;
--txkit-font-family: 'Inter', sans-serif;
}
Token namespaces: --txkit-color-*, --txkit-radius-*, --txkit-shadow-*, --txkit-spacing-*, --txkit-font-*, --txkit-z-*, --txkit-transition.
Documentation
Visit txkit.dev for the full theming guide.
License
Apache-2.0