Use Source Sans for Phriction
Summary: Adds Phriction to list of apps that use Source Sans as default font in addition to Legalpad and Diviner. Test Plan: Tested various layouts imported from secure. Should be reasonably tested, but will follow up on secure. Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10064
This commit is contained in:
@@ -121,6 +121,7 @@ final class DivinerAtomController extends DivinerController {
|
||||
$document = id(new PHUIDocumentView())
|
||||
->setBook($book->getTitle(), $group_name)
|
||||
->setHeader($header)
|
||||
->addClass('diviner-view')
|
||||
->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS)
|
||||
->appendChild($properties)
|
||||
->appendChild($warnings)
|
||||
|
||||
@@ -38,6 +38,8 @@ final class DivinerBookController extends DivinerController {
|
||||
|
||||
$document = new PHUIDocumentView();
|
||||
$document->setHeader($header);
|
||||
$document->addClass('diviner-view');
|
||||
|
||||
$document->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS);
|
||||
|
||||
$properties = $this->buildPropertyList($book);
|
||||
|
||||
@@ -33,6 +33,7 @@ final class DivinerMainController extends DivinerController {
|
||||
$document = new PHUIDocumentView();
|
||||
$document->setHeader($header);
|
||||
$document->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS);
|
||||
$document->addClass('diviner-view');
|
||||
|
||||
if ($books) {
|
||||
$books = msort($books, 'getTitle');
|
||||
|
||||
@@ -208,6 +208,7 @@ final class PhrictionDocumentController
|
||||
|
||||
$page_content = id(new PHUIDocumentView())
|
||||
->setOffset(true)
|
||||
->setFontKit(PHUIDocumentView::FONT_SOURCE_SANS)
|
||||
->setHeader($header)
|
||||
->appendChild(
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user