A responsive typography methodology for cleaner design systems and predictable web handoff.
rt-stylesheet gives every responsive typography style a predictable structure:
class-variant-breakpointExample:
title1-1-desktop
title1-1-tablet
title1-1-mobileThis gives designers a clear way to organise responsive text styles, and gives developers a reliable way to turn those styles into CSS.
Use rt-stylesheet to create typography systems that are easier to organise, review, complete, and hand off.
You should care about it if:
- your design has separate desktop, tablet, and mobile typography
- your text styles are starting to feel messy or inconsistent
- you want a clear naming system that scales across a project
- you want developers to build the typography exactly as designed
- you want to quickly spot missing responsive styles
Start here: For Designers
Use rt-stylesheet as a naming contract for converting design typography into predictable responsive CSS.
You should care about it if:
- design files contain many text styles with unclear relationships
- you need to map breakpoint-specific design styles to CSS classes
- you want class names, variants, and breakpoints to be parseable
- you want to validate typography coverage before implementation
- you want safer fixed or fluid CSS generation
Start here: For Developers
Typography in web design is not just one style.
A heading may be:
- 72px on large desktop screens
- 56px on desktop
- 42px on tablet
- 32px on mobile
A paragraph may keep the same size but change line-height. A hero title may use the same desktop size as another heading, but scale down differently on mobile.
Without a system, teams often create text styles like:
Hero Heading
Hero Heading Mobile
Large Heading
Large Heading Tablet
Section Title
Section Title Mobile
Body Copy
Body Copy SmallThese names may make sense in the moment, but they do not clearly explain how the styles relate to each other.
rt-stylesheet makes those relationships explicit.
Instead of naming styles only by how they look or where they are used, you name them by how they belong to the typography system.
Every responsive text style has three parts:
class-variant-breakpointExample:
title1-1-desktopRead it like this:
title1 1 desktop
class variant breakpointThe class describes the main typography level.
Examples:
title1
title2
title3
body1
body2
label1
caption1
eyebrow1Use the class to describe the role of the style in the system.
For example:
title1could be your largest heading style.
body1could be your primary paragraph style.
The class should be reusable. Avoid tying it too tightly to a specific page or section.
Good:
title1-1-desktopAvoid:
homepage-hero-heading-desktopThe first one belongs to a system. The second one belongs to a single layout.
The variant is the number after the class.
Examples:
title1-1
title1-2
title1-3Variants are useful when styles belong to the same typography family but need different responsive behaviour.
Example:
title1-1-desktop
title1-1-tablet
title1-1-mobile
title1-2-desktop
title1-2-tablet
title1-2-mobileBoth are title1 styles, but they are different variants.
Use variants when:
- two headings share the same general role
- one heading needs different mobile scaling
- a layout needs an alternate version of an existing typography level
- you want to avoid inventing unrelated names for related styles
This keeps the system flexible without becoming messy.
The breakpoint describes the screen-size version of the style.
The default breakpoint set is:
desktop
tablet
mobileA complete default group looks like this:
title1-1-desktop
title1-1-tablet
title1-1-mobileThat tells everyone these three styles belong together.
If a style group only has:
title1-1-desktop
title1-1-mobilethen it is easy to see that the tablet version may be missing.
Some projects need more than desktop, tablet, and mobile.
rt-stylesheet can expand to support larger or more specific responsive systems.
Examples:
title1-1-desktop-xxl
title1-1-desktop-xl
title1-1-desktop
title1-1-tablet-xl
title1-1-tablet
title1-1-mobile-xl
title1-1-mobileThe same structure still applies:
class-variant-breakpointOnly the breakpoint list grows.
This is useful for:
- large desktop screens
- editorial websites
- product interfaces
- kiosk or display layouts
- projects with custom responsive design requirements
A small system might look like this:
title1-1-desktop
title1-1-tablet
title1-1-mobile
title2-1-desktop
title2-1-tablet
title2-1-mobile
body1-1-desktop
body1-1-tablet
body1-1-mobileA larger system might include variants:
title1-1-desktop
title1-1-tablet
title1-1-mobile
title1-2-desktop
title1-2-tablet
title1-2-mobile
title2-1-desktop
title2-1-tablet
title2-1-mobile
body1-1-desktop
body1-1-tablet
body1-1-mobileThe important part is consistency.
Once the structure is clear, the system can grow without changing the logic.
You can immediately see which styles belong together.
title1-1-desktop
title1-1-tablet
title1-1-mobileThis is easier to audit than three unrelated names.
If your project uses desktop, tablet, and mobile styles, each class should usually have all three.
That makes missing styles obvious.
Instead of creating random alternate names, you can create structured variants.
title1-1
title1-2
title1-3This keeps related styles grouped.
Developers do not need to guess which responsive styles belong together.
The structure already explains it.
A naming system should work when the project grows.
rt-stylesheet works whether you have 9 text styles or 90.
Before handoff, check:
- Do all major typography classes have the breakpoint styles they need?
- Are variants intentional?
- Are one-off names avoided?
- Are class names reusable?
- Are desktop, tablet, and mobile styles clearly connected?
- Can someone understand the typography system without extra notes?
Design typography is often visually organised but technically ambiguous.
A design file might include styles like:
Hero Heading
Hero Heading Mobile
Large Heading Tablet
Section Title
Body Copy SmallThese names are readable, but they are not reliably parseable.
From those names alone, a developer cannot safely infer:
- the CSS class name
- the breakpoint
- the responsive group
- the variant relationship
- whether the style set is complete
- whether CSS can be generated without manual mapping
rt-stylesheet solves this by turning responsive typography names into structured input data.
The structure is:
class-variant-breakpointExample:
title1-1-desktopParsed:
{
"class": "title1",
"variant": "1",
"breakpoint": "desktop"
}Generated CSS selector:
.title1-1The breakpoint suffix determines where that style belongs in the responsive output.
A complete style group:
title1-1-desktop
title1-1-tablet
title1-1-mobilecan map to one responsive CSS class:
.title1-1 {
font-family: var(--font-primary);
font-weight: 600;
font-size: 4rem;
line-height: 1.1;
letter-spacing: -0.02em;
}
@media screen and (max-width: 991.98px) {
.title1-1 {
font-size: 3rem;
line-height: 1.15;
}
}
@media screen and (max-width: 479.98px) {
.title1-1 {
font-size: 2.25rem;
line-height: 1.2;
}
}The exact CSS output can vary by project.
The value of the methodology is that the source names contain enough structure to generate this safely.
Because the names are structured, responsive coverage can be calculated.
Example:
8 class variants
3 breakpointsExpected styles:
8 × 3 = 24If 22 styles are detected:
22 / 24 = 91.67% coverageMissing styles:
24 - 22 = 2So the system can report:
24 expected styles
22 detected styles
2 missing styles
91.67% coverageThis is a practical technical advantage.
The naming is not only readable. It is measurable.
Design files often need explicit breakpoint-specific styles.
Code usually needs fewer responsive classes.
Example:
24 text styles
8 class variants
3 breakpointsWith rt-stylesheet:
24 breakpoint-specific text styles
→ 8 responsive CSS classesExample:
title1-1-desktop
title1-1-tablet
title1-1-mobilebecomes:
.title1-1The breakpoint-specific values live inside the generated CSS rules.
Breakpoints are labels that can be mapped to viewport widths.
Example default map:
{
"mobile": 480,
"tablet": 992,
"desktop": 1440,
"desktop-xl": 1920,
"desktop-xxl": 3840
}Example custom map:
{
"mobile": 390,
"mobile-xl": 640,
"tablet": 768,
"desktop": 1280,
"desktop-xl": 1440,
"desktop-xxl": 1920
}The naming model stays the same.
Only the breakpoint map changes.
rt-stylesheet can support fixed responsive values or fluid interpolation.
Fixed output applies the value defined for each breakpoint.
.title1-1 {
font-size: 4rem;
}
@media screen and (max-width: 991.98px) {
.title1-1 {
font-size: 3rem;
}
}
@media screen and (max-width: 479.98px) {
.title1-1 {
font-size: 2.25rem;
}
}Fluid output can interpolate between breakpoint values.
.title1-1 {
font-size: clamp(2.25rem, 1.5rem + 2vw, 4rem);
}A structured naming system makes both approaches easier because each value belongs to a known class, variant, and breakpoint.
title1-1-desktop → .title1-1
title1-1-tablet → .title1-1
title1-1-mobile → .title1-1Expected styles can be calculated from detected class variants and active breakpoints.
Structured names can be scanned, grouped, validated, and converted into CSS without relying on fragile manual mapping.
The system supports additional breakpoints without changing the naming model.
Designers own the typography decisions.
Developers receive predictable implementation data.
| Naming approach | Example | Designer-readable | Machine-parseable | Breakpoint-aware | Variant-aware | CSS-generation friendly |
|---|---|---|---|---|---|---|
| Visual naming | Hero Heading Mobile |
Yes | Weak | Inconsistent | Weak | Manual mapping needed |
| Page-specific naming | Homepage Hero Title |
Yes | Weak | Weak | Weak | Tied to layout |
| Token-only naming | font-size-heading-xl |
Medium | Strong | Needs extra structure | Weak | Partial |
| Utility naming | text-48 leading-110 |
Weak | Strong | Code-side only | Weak | Already implementation-focused |
rt-stylesheet |
title1-1-mobile |
Yes | Strong | Yes | Yes | Yes |
rt-stylesheet is designed specifically for responsive typography handoff, where class identity, variant identity, and breakpoint identity need to stay connected.
Rethink Stylesheet Generator is the Figma plugin built to help teams apply the rt-stylesheet methodology faster and more accurately.
The plugin can:
- scan local text styles
- group responsive variants
- detect missing breakpoint styles
- generate missing text styles as a starting point
- map font families and font weights
- configure breakpoint widths
- generate fixed or fluid responsive CSS
- copy minified CSS
- download
rt-stylesheet.css - generate a polished typography stylesheet frame for handoff
Create text styles using the methodology:
title1-1-desktop
title1-1-tablet
title1-1-mobileRun the plugin and review:
- detected classes
- detected breakpoints
- responsive coverage
- missing styles
- fonts
- weights
If styles are missing, the plugin can generate suggested missing styles.
Generated styles are a starting point. Designers should review and refine them.
Choose:
- fixed or fluid sizing
- breakpoint values
- font mappings
- root font size
- output filename
- stylesheet frame details
Generate:
rt-stylesheet.cssand an editable typography stylesheet frame.
For designers, rt-stylesheet creates clarity.
For developers, it creates parseability.
For teams, it creates a cleaner handoff between responsive typography decisions and production CSS.
class-variant-breakpoint