react design
by @lssmanager
Applies the Learn Social Studies brand system to React interfaces using CSS variables, reusable component conventions, light theme by default, and dark theme...
clawhub install lssπ About This Skill
name: learnsocialstudies-ui-kit-react description: Applies the Learn Social Studies brand system to React interfaces using CSS variables, reusable component conventions, light theme by default, and dark theme as optional override. Use for apps, dashboards, admin panels, forms, landing pages, and reusable UI systems. version: 1.0.0 license: Complete terms in LICENSE.txt
Learn Social Studies UI Kit for React
Purpose
This skill standardizes Learn Social Studies visual design across React interfaces. It is intended for:Apply this skill when a React project needs consistent Learn Social Studies branding, reusable styling primitives, theme support, and developer-friendly UI conventions.
Brand Intent
The resulting interface must feel:Theme Model
lightdarkdata-theme attribute on localStorageTypography
PoppinsMontserratJetBrains Mono or Fira CodeBrand Color Rules
#000000#F3B723 as a page, card, panel, or alert background surfaceDeveloper Rules
When applying this skill:1. Keep business logic untouched. 2. Do not change routing, data flow, API calls, or component behavior unless required for theme toggling. 3. Move reusable visual values into CSS variables. 4. Normalize buttons, inputs, cards, badges, tables, and modals. 5. Use reusable variants instead of page-specific one-off styles. 6. Avoid hardcoded colors when a token exists. 7. Preserve markup structure where possible. 8. Keep the UI clean, readable, and scalable.
Recommended File Layout
src/
styles/
tokens.css
base.css
components.css
theme/
ThemeProvider.tsx
useTheme.ts
components/
Button/
Input/
Card/
Badge/
Font Loading
Add to the root HTML document:
Implementation Instructions
Use the template files included with this skill as the source of truth:templates/react/src/styles/tokens.csstemplates/react/src/styles/base.csstemplates/react/src/styles/components.csstemplates/react/src/theme/ThemeProvider.tsxtemplates/react/src/theme/useTheme.tstemplates/react/src/components/*If the target project already has its own component library:
primary, secondary, accentsuccess, warning, error, info