-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add spacing system * refactor: update spacing naming * chore: add leading 0 --------- Co-authored-by: doprz <[email protected]>
- Loading branch information
Showing
2 changed files
with
16 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,14 @@ | ||
/** | ||
* An object representing various spacing values used throughout the application. | ||
* Each key corresponds to a specific spacing size based on the 4px grid system. | ||
*/ | ||
export const spacing = { | ||
'spacing-1': '0.125rem', | ||
'spacing-2': '0.25rem', | ||
'spacing-3': '0.5rem', | ||
'spacing-4': '0.75rem', | ||
'spacing-5': '1rem', | ||
'spacing-6': '1.25rem', | ||
'spacing-7': '1.5rem', | ||
'spacing-8': '2rem', | ||
} as const; |
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