-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document and clean up the constants (#316)
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 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 |
---|---|---|
@@ -1,7 +1,15 @@ | ||
/// The recommended padding around page content in Yaru applications. | ||
const kYaruPagePadding = 20.0; | ||
const kYaruDialogTitleHeight = 72.0; | ||
const kYaruDialogTitlePadding = 0.0; | ||
const kYaruPageWidth = 500.0; | ||
|
||
/// The default height of [YaruTitleBar]. | ||
const kYaruTitleBarHeight = 72.0; | ||
|
||
/// The default border radius for Yaru-style containers. | ||
const kYaruContainerRadius = 8.0; | ||
|
||
/// The default border radius for Yaru-style buttons. | ||
const kYaruButtonRadius = 6.0; | ||
|
||
/// The default breakpoint width [YaruMasterDetailPage] uses for switching | ||
/// between portrait and landscape modes. | ||
const kYaruMasterDetailBreakpoint = 620.0; |
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