scss-modules
Styles React components with SCSS CSS Modules and the Tackl design system.
Skill by 12-Studio
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/12-studio-scss-modules
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/scss-modules
What's inside
- Skill name
scss-modules- Description
- Styles React components with SCSS CSS Modules and the Tackl design system. Use when the user mentions styling, styles.module.scss, SCSS, CSS modules, design tokens, CSS variables, breakpoints (bp / bpd / mq), typography (t-* classes, type mixins), spacing (data-pad / data-mar), the Waffl grid (Grid / Col), or theming in this project.
- License
- MIT
- Instructions
- 147 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# SCSS Modules (Tackl)
Tackl styles with **SCSS CSS Modules** — static CSS, no runtime. There is no
styled-components, no `Div`, no theme getters and no `@tackl/type`. Never recreate them.
## File structure
```
src/components/Example/
index.tsx # logic + markup
styles.module.scss # ALL styles
interface.ts # prop types
```
```tsx
// index.tsx
import { cx } from '@utils/cx';
import type * as I from './interface';
import s from './styles.module.scss';
const Example = ({ isOpen, className }: I.ExampleProps) => (
<section className={cx(s.jacket, className)} data-state={isOpen ? 'open' : 'closed'} data-pad>
<h2 className={cx(s.title, 't-headlineL')}>Title</h2>
</section>
);
```
```scss
// styles.module.scss — no imports: the Tackl layer is injected
.jacket {
display: grid;
gap: var(--gap-m);
background: alpha(--brand-c3, 40);
transition: background var(--time-m) var(--easing-bezzy);
@include bp(l) {
gap: var(--gap-xl);
}
&[data-state='open'] {
background: var(--brand-c1);
}
}
.title {
color: var(--global-white);
}
```
## Rules
1. Outermost class is `.jacket`; others are descriptive camelCase (`s.removeButton`).
2. Write the HTML tag in JSX. State → `data-*` attributes; dynamic values → CSS custom
properties via `style={{ '--progress': value }}` (typed — `CSSProperties` accepts `--*`).
3. Tokens are CSS variables — always `var(--…)`, never hard-coded values:
`--brand-c1…c5`, `--global-white|black`, `--feedback-*`, `--space-s|m|l|xl|col`,
`--gap-xxs…uber`, `--br-xs|s|m|l|round`, `--easing-bezzy*`, `--time-s|m|l`,
`--font-heading|body|mono|script|serif`, `--weight-light…black`.
4. Mobile-first: base styles, then `@include bp(m) { … }`, `bp(l)`, … (min-width).
`@include bpd(m) { … }` only for the rare max-width case.
5. Module rules must sit under a local class. Bare top-level tag selectors go in
`src/css/global.scss`.
6. `'use client'` only for hooks/events/browser APIs — never for styling.
7. Lint with `bun run lint` (Biome + Stylelint). Stylelint rejects unknown `var(--…)` names.
## The injected layer (`src/css/tackl`, available in every .scss file)
| Need | SCSS |
| --- | --- |
| Breakpoint up / down | `@include bp(m) { … }` · `@include bpd(m) { … }` |
| Type style | `@include displayL;` … `@include captionS;` |
| Section spacing | `@include pad;` `@include pad(top);` `@include mar(bottom);` |
| Translucent colour | `alpha(--brand-c1, 20)` — opacity 0–100, `20%` also accepted (same as `alpha()` in JS) |
| px → vw | `vw(48)` (desktop 1440) · `vw(24, mobile)` · `vw(32, tablet)` |
| Hide scrollbars | `@include noscrollbars;` |
| Grid values | `$breakpoints`, `$columns`, `$gutters`, `$grid-max`, `$design-widths` |
The layer emits **no CSS** — only mixins, functions and variables. Keep it that way: any
rule added there is duplicated into every module.
## Global utilities (HTML, any element)
- Type: `className='t-captionL'` or `data-type='captionL'`
- Spacing: `data-pad` (top + bottom), `data-pad='top'`, `data-pad='bottom'`,
`data-mar='top bottom'` (values combine)
They live in `@layer utilities`; modules are unlayered, so a module always overrides them.
## Typography
Hand-written in `src/css/tackl/_type.scss`, straight from the Figma file:
```scss
@mixin captionL {
font-family: var(--font-body);
font-weight: var(--weight-regular);
font-size: 1.4rem;
line-height: 1.5;
@include bp(xl) {
font-size: 1.6rem;
}
}
```
Adding a style: write the mixin, then add its name to `$type-styles` at the bottom of the
file so the `.t-*` class and `[data-type]` selector are generated.
## Grid
```tsx
import Grid, { Col } from '@waffl';
<Grid $isFixed>
<Col as='article' $m='2/6' $l='3/9'>Spans by breakpoint</Col>
<figure>Full width by default — no component needed</figure>
</Grid>
```From 12-Studio/Tackl, MIT.
More from 12-Studio/Tackl
- 0.635score
lenis-react
12-Studio
Integrate Lenis smooth scroll into React and Next.js projects.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
webgl-expert
12-Studio
Expert guide for WebGL API development including 3D graphics, shaders (GLSL), rendering pipeline, textures, buffers, performance optimization, and canvas…
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
gsap-tackl
12-Studio
Implements and orchestrates GSAP in Tackl — useAnimation, useGSAP, ScrollTrigger, Lenis sync, page transitions, and reduced-motion fallbacks.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-context-setup
12-Studio
Configure react context setup operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
tackl-performance
12-Studio
Optimizes Tackl apps for Web Vitals, reduced motion, and scroll performance.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-hook-creator
12-Studio
Create react hook creator operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.626score
threejs-webgl
12-Studio
Comprehensive skill for Three.js 3D web development.
SkillAFreshness: A★ 10Claude Code +9 - 0.626score
motion-framer
12-Studio
Modern animation library for React and JavaScript.
SkillAFreshness: A★ 10Claude Code +9 - 0.622score
react-three-fiber
12-Studio
Build declarative 3D scenes with React Three Fiber (R3F) - a React renderer for Three.js.
SkillAFreshness: A★ 10Claude Code +9 - 0.621score
web3d-integration-patterns
12-Studio
Meta-skill for combining Three.js, GSAP ScrollTrigger, React Three Fiber, Motion, and React Spring for complex 3D web experiences.
SkillAFreshness: A★ 10Claude Code +9 - 0.600score
grilling
12-Studio
Grill the user relentlessly about a plan or design.
SkillAFreshness: A★ 10Claude Code +9 - 0.594score
handoff
12-Studio
Compact the current conversation into a handoff document for another agent to pick up.
SkillAFreshness: A★ 10Claude Code +9
Signals
- Stars
- 10
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Oct 11, 2026 (18 days ago)
- Last release
- Oct 11, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/12-Studio/Tackl
- Website
- tackl.netlify.app/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 12-Studio
- 0.635score
lenis-react
12-Studio
Integrate Lenis smooth scroll into React and Next.js projects.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
gsap-tackl
12-Studio
Implements and orchestrates GSAP in Tackl — useAnimation, useGSAP, ScrollTrigger, Lenis sync, page transitions, and reduced-motion fallbacks.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
tackl-performance
12-Studio
Optimizes Tackl apps for Web Vitals, reduced motion, and scroll performance.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-context-setup
12-Studio
Configure react context setup operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
react-hook-creator
12-Studio
Create react hook creator operations.
SkillAFreshness: A★ 10Claude Code +9 - 0.630score
webgl-expert
12-Studio
Expert guide for WebGL API development including 3D graphics, shaders (GLSL), rendering pipeline, textures, buffers, performance optimization, and canvas…
SkillAFreshness: A★ 10Claude Code +9
Cite this page
scss-modules skill. Agent Mart. https://agentmart.dev/skills/12-studio-scss-modules (last updated 2026-10-24)