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:
Chad Little
2016-01-20 12:18:01 -08:00
parent 958333c46d
commit 92ee3e7642
6 changed files with 46 additions and 13 deletions

View File

@@ -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);
}
}

View File

@@ -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);
}
}