Add basic grey and blue styles for PHUIBoxView
Summary: We plan to use these more in future mocks. Adds base colors and re-uses in Phame. Test Plan: Phame, mobile and desktop. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15069
This commit is contained in:
@@ -89,7 +89,12 @@ final class PhameBlogListView extends AphrontTagView {
|
||||
),
|
||||
pht('Blogs')));
|
||||
|
||||
return array($header, $list);
|
||||
return id(new PHUIBoxView())
|
||||
->appendChild($header)
|
||||
->appendChild($list)
|
||||
->addClass('pl')
|
||||
->setColor(PHUIBoxView::BLUE);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -92,7 +92,11 @@ final class PhameDraftListView extends AphrontTagView {
|
||||
),
|
||||
pht('Drafts')));
|
||||
|
||||
return array($header, $list);
|
||||
return id(new PHUIBoxView())
|
||||
->appendChild($header)
|
||||
->appendChild($list)
|
||||
->addClass('pl')
|
||||
->setColor(PHUIBoxView::BLUE);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user