@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class CelerityLargeFontPostprocessor
4 extends CelerityPostprocessor {
5
6 public function getPostprocessorKey() {
7 return 'fontsizeplusone';
8 }
9
10 public function getPostprocessorName() {
11 return pht('Use Larger Font Size');
12 }
13
14 public function buildVariables() {
15 return array(
16
17 'basefont' => "14px 'Segoe UI', 'Segoe UI Web Regular', ".
18 "'Segoe UI Symbol', 'Lato', 'Helvetica Neue', Helvetica, ".
19 "Arial, sans-serif",
20
21 // Font Sizes
22 'biggestfontsize' => '16px',
23 'biggerfontsize' => '15px',
24 'normalfontsize' => '14px',
25 'smallerfontsize' => '13px',
26 'smallestfontsize' => '12px',
27
28 );
29 }
30
31}