-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inos/a11y-theme-builder/docs/designers/Understanding-Design-Concepts-…
…Used: updated how to work with tokens file
- Loading branch information
Showing
2 changed files
with
383 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
# Understanding Design Concepts Used In A11Y Theme Builder | ||
|
||
**Design tokens** are named variables that store design decisions like colors, fonts, spacing, border styles, and more. Think of them as reusable building blocks for your visual interface. Built on Brad Frost's Atomic Design, this a11y theme builder generates design tokens in **CSS** and **JSON** formats. | ||
|
||
# Atomic Design | ||
|
||
Atomic Design is a design system methodology created by Brad Frost. It offers a structured approach to building user interfaces by breaking them down into their smallest, reusable components. This promotes consistency, scalability, and improves collaboration between designers and developers. | ||
|
||
## Atoms | ||
|
||
Atoms are the fundamental building blocks of this design system. They represent the most basic visual elements that can't be further broken down. Here's a breakdown of atom categories provided: | ||
|
||
- **Color Palette:** | ||
|
||
- **Theme Colors:** The core set of colors representing your brand identity (e.g., primary, secondary, accent). | ||
- **Sub-themes:** Variations on your core theme colors (e.g., dark theme, light theme palettes). | ||
|
||
- **Typography:** | ||
|
||
- **Font Families:** Define the base fonts used throughout your interface. | ||
- **Style Settings:** | ||
|
||
- **Display Styles:** High-impact text styles for headings (e.g., H1, H2, etc.). | ||
- **Header Styles:** Bold and clear styles for headers within sections. | ||
- **Body Text Styles:** The primary font styles for paragraphs and regular text. | ||
- **Stat Styles:** Specific styles for presenting data (e.g., numbers, percentages). | ||
|
||
|
||
- **Shadow Atoms:** | ||
|
||
- **Elevation:** Define elevation levels to create a sense of depth and hierarchy between elements (e.g., drop shadows, card shadows). | ||
- **Bevel:** Control how an element's edges are styled (e.g., soft bevels for buttons). | ||
- **Inner Shadow:** Add depth within an element using inner shadows. | ||
- **Outer Glow:** Create an outer glow effect around elements. | ||
|
||
- **Other Atoms:** | ||
|
||
- **Grid System:** Define your layout grid for consistent spacing and responsive design. | ||
- **Target States:** Visual styles for interactive elements like buttons (e.g., hover, focus states). | ||
- **Chart Colors:** Color palettes specifically designed for data visualizations. | ||
- **Border Settings:** Establish border styles (e.g., thickness, color) for various use cases. | ||
- **Hotlink Styles:** Visual indicators for hyperlinks (e.g., underline, color). | ||
- **Input Background:** Styles for input fields and textareas. | ||
- **Animation Settings:** Define animation properties for dynamic transitions and micro-interactions. | ||
|
||
- Find complete list of properties here - https://finos.github.io/a11y-theme-builder-sdk/classes/Atom.html | ||
|
||
## Molecules | ||
|
||
Molecules are combinations of atoms that create simple, functional units. They represent slightly more complex structures within your design system, providing a bridge between basic visual elements (atoms) and more complex components (organisms) | ||
|
||
- **General Desktop** | ||
|
||
The **General Desktop** category includes various interactive and static elements commonly used in desktop applications. | ||
- **Avatars:** Visual representations of users or entities, typically circular images or icons. | ||
- **Buttons:** | ||
- **Standard Buttons:** Default interactive buttons used for various actions. | ||
- **Small Buttons:** Smaller variants of standard buttons for less prominent actions. | ||
- **Cards:** Container elements that group related information together, often with a shadow and border. | ||
- **Chips:** Small, interactive elements used for input, filters, or selections. | ||
- **Dropdowns:** Expandable lists for selecting one option from multiple choices. | ||
- **Images:** Static visual elements used to display pictures or graphics. | ||
- **Modals:** Overlay windows that display content without leaving the current page. | ||
- **Spacing:** Elements that define consistent spacing between components. | ||
- **Popovers:** Small overlays that display additional information when an element is hovered or clicked. | ||
- **Sliders:** Interactive controls for selecting values within a range. | ||
- **Toasts:** Small notifications that provide feedback to the user. | ||
|
||
### Charts | ||
|
||
The **Charts** category includes various types of data visualizations. | ||
|
||
- **Donut Charts:** Circular charts that represent data as segments of a donut. | ||
- **Pie Charts:** Circular charts that represent data as slices of a pie. | ||
- **Bar Charts:** Charts that use rectangular bars to represent data values. | ||
- **Line Charts:** Charts that use lines to connect data points and show trends over time. | ||
- **Progress Bars:** Visual indicators that show the completion status of a task or process. | ||
|
||
- Find complete list of properties here - - https://finos.github.io/a11y-theme-builder-sdk/classes/Molecules.html | ||
|
||
## Organisms | ||
|
||
Organisms are more complex components composed of multiple molecules. They form distinct sections of the user interface, integrating various atoms and molecules to create cohesive and functional elements. | ||
|
||
### Text | ||
Organisms that focus on textual content and its presentation. | ||
|
||
### Images | ||
|
||
Organisms that involve images and their presentation. | ||
|
||
### Videos | ||
|
||
Organisms for presenting video content. | ||
|
||
### Lists | ||
|
||
Organisms that involve lists of items: | ||
|
||
- **Center-Aligned Lists:** Lists with items centered within the container. | ||
- **List with Image Left:** Lists where each item includes an image aligned to the left. | ||
- **Standard Lists:** Vertical or horizontal lists of items. | ||
|
||
### Cards | ||
|
||
Organisms composed of multiple card molecules: | ||
|
||
- **Card Grids:** Collections of cards displayed in a grid layout. | ||
- **Card with Header, Content, and Footer:** Cards structured with distinct header, content, and footer sections. | ||
|
||
### Other Complex Components | ||
|
||
More complex organisms that combine various elements: | ||
|
||
1. **Hero Section:** | ||
|
||
- A prominent section at the top of a page, often featuring a large background image, heading, subheading, and call-to-action buttons. | ||
2. **Footer:** | ||
|
||
- The bottom section of a page, typically containing navigation links, contact information, and social media icons. | ||
3. **Teams Section:** | ||
|
||
- A section showcasing team members with their photos, names, and roles. | ||
4. **Feature Highlights:** | ||
|
||
- Sections highlighting key features or benefits, often using icons, headings, and descriptive text. | ||
5. **Testimonial Section:** | ||
|
||
- A section featuring customer testimonials, typically including quotes, customer names, and photos. | ||
|
||
Find complete list of properties here - https://finos.github.io/a11y-theme-builder-sdk/classes/Organism.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters