feat: unify theme system #7
@@ -10,8 +10,8 @@ const LADDER: [Rung; 11] = [
|
||||
(24.0, 32.0, FontWeight::SEMIBOLD),
|
||||
(20.0, 28.0, FontWeight::SEMIBOLD),
|
||||
(18.0, 24.0, FontWeight::SEMIBOLD),
|
||||
(16.0, 24.0, FontWeight::BOLD),
|
||||
(14.0, 20.0, FontWeight::BOLD),
|
||||
(16.0, 24.0, FontWeight::SEMIBOLD),
|
||||
(14.0, 20.0, FontWeight::SEMIBOLD),
|
||||
(16.0, 24.0, FontWeight::NORMAL),
|
||||
(14.0, 20.0, FontWeight::NORMAL),
|
||||
(14.0, 20.0, FontWeight::NORMAL),
|
||||
@@ -160,8 +160,8 @@ mod tests {
|
||||
(TextRole::LargeTitle, 24.0, 32.0, FontWeight::SEMIBOLD),
|
||||
(TextRole::Title, 20.0, 28.0, FontWeight::SEMIBOLD),
|
||||
(TextRole::Title2, 18.0, 24.0, FontWeight::SEMIBOLD),
|
||||
(TextRole::Title3, 16.0, 24.0, FontWeight::BOLD),
|
||||
(TextRole::Headline, 14.0, 20.0, FontWeight::BOLD),
|
||||
(TextRole::Title3, 16.0, 24.0, FontWeight::SEMIBOLD),
|
||||
(TextRole::Headline, 14.0, 20.0, FontWeight::SEMIBOLD),
|
||||
(TextRole::Body, 16.0, 24.0, FontWeight::NORMAL),
|
||||
(TextRole::Callout, 14.0, 20.0, FontWeight::NORMAL),
|
||||
(TextRole::Subheadline, 14.0, 20.0, FontWeight::NORMAL),
|
||||
|
||||
Reference in New Issue
Block a user