[Project] Style Guide
Set of guidelines and strategies to help you build Webflow websites.
Whenever a new style is added or an existing one is modified, document these changes promptly to maintain an accurate style guide.
Colors
This is a checkpoint to add your project's colors to the global swatches and explain their usage.
These classes are rarely used as is.
Background Colors
Update variables and add new swatches if necessary.
Neutral 00
Neutral 200
Neutral 950
Neutral 700
Neutral 700
Text Colors
Replace tokens and add styles for text colors used on site. Add Background color on item if necessary
Typography
HTML tags define default Heading styles.
Heading classes when typography style doesn't match the default HTML tag.
56px | 3.5rem | 1.5 | 600
Sample text helps you understand how real text may look.
56px | 3.5rem | 1.5 | 600
Sample text helps you understand how real text may look.
48px | 3rem | 1.5 | 600
Sample text helps you understand how real text may look on your website.
48px | 3rem | 1.5 | 600
Sample text helps you understand how real text may look on your website.
32px | 2rem | 1.5 | 600
Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text that is normally present.
32px | 2rem | 1.5 | 600
Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text that is normally present.
24px | 1.5rem | 1.5 | 600
Sample text is being used as a placeholder. Sample text helps you understand how real text may look. Sample text is being used as a placeholder for real text that is normally present.
24px | 1.5rem | 1.5 | 600
Sample text is being used as a placeholder. Sample text helps you understand how real text may look. Sample text is being used as a placeholder for real text that is normally present.
20px | 1.25rem | 1.5 | 600
Sample text is being used as a placeholder. Sample text helps you understand how real text may look. Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look.
20px | 1.25rem | 1.5 | 600
Sample text is being used as a placeholder. Sample text helps you understand how real text may look. Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look.
12px | 0.75rem | 1.5 | 600
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look. Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look.
12px | 0.75rem | 1.5 | 600
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look. Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look.
Other HTML Tags
HTML tags define default text styles.
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text.
- Sample text is being used as a placeholder for real text that is normally present.
- Sample text is being used as a placeholder for real text that is normally present.
- Sample text is being used as a placeholder for real text that is normally present.
- Sample text is being used as a placeholder for real text that is normally present.
- Sample text is being used as a placeholder for real text that is normally present.
- Sample text is being used as a placeholder for real text that is normally present.
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website.
Additional Text Styles
The class names follow the rule: ts-[function]--[width]
ts stands for TextStyle
Add new styles if needed. Never leave style only one on page; it should have a copy here.
Main Text Styles
16px | 1rem
Body L
16px | 1rem
Subtitle after H1
14px | 0.875rem
Body M
12px | 0.75rem
Body S
64px | 4rem
10+
54px | 3.375rem
10+
Badges/eyebrow elements
12px | 0.75rem
12px | 0.75rem
Other Text Styles
Strikethrough
Underline
Italic
all caps
Opacity 60%
Link
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text text-style-2lines
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text text-style-2lines
Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text. Sample text is being used as a placeholder for real text that is normally present. Sample text helps you understand how real text may look on your website. Sample text is being used as a placeholder for real text.
Button
Use wrapper for margins. Combine combo classes for desired look
Button Sizes
Combo class ONLY for button sizes. Do not add colors
Button Themes
Combo classes for different color themes of buttons
Other Button Styles
Combo class for btn
Structure Classes
Defined and flexible core structure we can use on all or most pages.
Huge container: 1280px | 80rem
Large container: 1160px | 72.5rem
Medium container: 960px | 60rem
Small container: 760px | 47.5rem
Max widths
Use the max-width CSS property to contain inner content to a maximum width.
center align for any wrapper
Spacers
The Spacer System is designed to simplify the management of spacing in our web projects. By using a combination of a base spacer class and color-based comboclasses, developers can efficiently apply consistent spacing throughout applications while maintaining flexibility for responsive design.
Key Features
- Single Base Class:
The spacer class provides a standardized way to create spaces. - Color-Based Comboclasses:
Specific sizes of spacers are defined using color descriptors (e.g., spacer is-blue), enhancing readability and ease of use. - Responsive Design:
Spacer sizes can be adjusted at various breakpoints without altering class names, promoting adaptability. Set spacer size on breakpoints according to design.
Icons
Unify icon sizes
Useful utility systems
Utility classes we like to use in most of our projects to build faster.
also can be added as an attribute:
[data-scrollbar=none]
Webflow Forms
Examples of a form component
Webflow Rich Texts
Rich texts styling
H1 Lorem ipsum dolor sit amet conse ctetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
H2 Lorem ipsum dolor sit amet conse ctetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
H3 Lorem ipsum dolor sit amet conse ctetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
Quote: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
H4 Lorem ipsum dolor sit amet conse ctetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- List item one
- List item two
- List item three
H5 Lorem ipsum dolor sit amet conse ctetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- List item one
- List item two
- List item three
h6 Lorem ipsum dolor sit amet conse ctetur
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
Filter elements
Clean Filter checkboxes, radio buttons, and other important things with Finsweet attributes added
Animations
Add interaction or combo class for an element.
Prevent Style Clean Up
Never lose anything. This is where you can store elements and classes used in custom code to prevent their classes/styles from being cleaned up.