react design
/install lss
Learn Social Studies UI Kit for React
Purpose
This skill standardizes Learn Social Studies visual design across React interfaces. It is intended for:
- dashboards
- SaaS apps
- admin panels
- forms
- landing pages
- internal tools
- educational product interfaces
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:
- clear
- modern academic
- trustworthy
- structured
- lightweight
- brand-consistent
Theme Model
- Default theme:
light - Optional override:
dark - Theme is controlled with the
data-themeattribute on\x3Chtml> - Do not use
localStorage - Theme state should stay in app memory unless the host project already has an approved persistence layer
Typography
- Headings:
Poppins - Body/UI text:
Montserrat - Code, tokens, IDs:
JetBrains MonoorFira Code
Brand Color Rules
- Primary blue is the main action color
- Deep blue is for hierarchy and high-contrast supporting elements
- Gold is for accent and CTA emphasis only
- Warning uses amber, not brand gold
- Do not use pure black
#000000 - Do not use yellow
#F3B723as a page, card, panel, or alert background surface - Do not use gradients on buttons or cards
Developer Rules
When applying this skill:
- Keep business logic untouched.
- Do not change routing, data flow, API calls, or component behavior unless required for theme toggling.
- Move reusable visual values into CSS variables.
- Normalize buttons, inputs, cards, badges, tables, and modals.
- Use reusable variants instead of page-specific one-off styles.
- Avoid hardcoded colors when a token exists.
- Preserve markup structure where possible.
- 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:
\x3Clink rel="preconnect" href="https://fonts.googleapis.com">
\x3Clink rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
\x3Clink href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap" rel="stylesheet">
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:
- map the project components to these same tokens and variant rules
- keep variant names consistent:
primary,secondary,accent - keep status names consistent:
success,warning,error,info
Output Expectation
After applying this skill, the project should have:
- light theme by default
- optional dark theme
- reusable design tokens
- consistent typography
- consistent button/input/card/badge patterns
- maintainable UI styling without changing product logic
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lss - 安装完成后,直接呼叫该 Skill 的名称或使用
/lss触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
react design 是什么?
Applies the Learn Social Studies brand system to React interfaces using CSS variables, reusable component conventions, light theme by default, and dark theme... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。
如何安装 react design?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lss」即可一键安装,无需额外配置。
react design 是免费的吗?
是的,react design 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
react design 支持哪些平台?
react design 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 react design?
由 lssmanager(@lssmanager)开发并维护,当前版本 v1.0.0。