Step 1: Project Architecture & Global Design System
1. Project Architecture & Global Design System
Initialize a structured workspace directory and establish a rigorous custom CSS design token registry.
Detailed Implementation Steps:
First, create a root directory named voidx-responsive-portal. Inside this directory, create three main directories: /assets to store static icons and logotypes, /css for your stylesheets, and /js for user scripts. Initialize Git tracking inside the root directory and create your first commit.
Create /css/styles.css and establish your global design tokens under the :root selector. You must define a dark primary background color, an elevated card color, a primary brand accent color (e.g. blue), active/hover state colors, and standard border lines. Use custom variable names for all of these tokens.
Verification Checklist:
- Confirm folder hierarchy matches the specifications exactly.
- Verify CSS variables are active by linking the stylesheet and testing background variables on the body.
Knowledge Check
Ready to test your understanding of Step 1: Project Architecture & Global Design System?