mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-25 13:16:47 +00:00
Remove ha-space-0 (#28635)
* Remove ha-space-0 * Update src/components/ha-sidebar.ts Co-authored-by: Aidan Timson <aidan@timmo.dev> * Fix variable inside calc * Replace for variables --------- Co-authored-by: Aidan Timson <aidan@timmo.dev>
This commit is contained in:
2
.github/copilot-instructions.md
vendored
2
.github/copilot-instructions.md
vendored
@@ -154,7 +154,7 @@ try {
|
||||
|
||||
- **Use CSS custom properties**: Leverage the theme system
|
||||
- **Use spacing tokens**: Prefer `--ha-space-*` tokens over hardcoded values for consistent spacing
|
||||
- Spacing scale: `--ha-space-0` (0px) through `--ha-space-20` (80px) in 4px increments
|
||||
- Spacing scale: `--ha-space-1` (4px) through `--ha-space-20` (80px) in 4px increments
|
||||
- Defined in `src/resources/theme/core.globals.ts`
|
||||
- Common values: `--ha-space-2` (8px), `--ha-space-4` (16px), `--ha-space-8` (32px)
|
||||
- **Mobile-first responsive**: Design for mobile, enhance for desktop
|
||||
|
||||
Reference in New Issue
Block a user