-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(border.scss): add --border-bigger & --border-full
- Loading branch information
Raphaël Balet
committed
Mar 7, 2024
1 parent
5a94744
commit 48b6117
Showing
3 changed files
with
17 additions
and
11 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
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
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 |
---|---|---|
@@ -1,9 +1,13 @@ | ||
// https://m3.material.io/styles/shape/shape-scale-tokens#59b6f73a-6ef2-45a6-ab48-611d07635661 | ||
|
||
:root { | ||
--border-smallest: 4px; | ||
--border-smaller: 8px; | ||
--border-small: 10px; | ||
--border: 16px; | ||
--border-smallest: 4px; // Extra small : Menu, Snackbars, Text fields | ||
--border-smaller: 8px; // Small : Chips, Rich tooltip | ||
--border-small: 10px; // Medium : Cards, Small FABs | ||
--border: 16px; // Large : FABs, Navigation drawers | ||
--border-big: 20px; | ||
--border-bigger: 28px; // Extra large : Dialogs, Large FABs, Search view (full-screen), Time picker, Time input | ||
--border-rounded: 50px; | ||
--border-circle: 100%; | ||
--border-circle: 100%; // @TODO remove in favor of --full | ||
--border-full: 100%; // Full : Badge, Buttons, Sliders, Switches, Search bards | ||
} |