Skip to content

Commit a84d1be

Browse files
committed
Better git support
1 parent ba1b09c commit a84d1be

20 files changed

+834
-452
lines changed

composer.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/styles.css

Lines changed: 18 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/styles.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/_settings.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,19 @@ $header-lineheight: 1.4;
143143
$header-margin-bottom: 0.5rem;
144144
$header-styles: (
145145
small: (
146-
'h1': ('font-size': 24),
146+
'h1': ('font-size': 21),
147147
'h2': ('font-size': 20),
148148
'h3': ('font-size': 19),
149149
'h4': ('font-size': 18),
150150
'h5': ('font-size': 17),
151151
'h6': ('font-size': 16),
152152
),
153153
medium: (
154-
'h1': ('font-size': 48),
155-
'h2': ('font-size': 40),
156-
'h3': ('font-size': 31),
157-
'h4': ('font-size': 25),
158-
'h5': ('font-size': 20),
154+
'h1': ('font-size': 26),
155+
'h2': ('font-size': 24),
156+
'h3': ('font-size': 22),
157+
'h4': ('font-size': 20),
158+
'h5': ('font-size': 18),
159159
'h6': ('font-size': 16),
160160
),
161161
);

scss/style.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,16 @@ $button-shadow: $shadow-depth $shadow-depth $shadow-blur 0px rgba(0,0,0,0.6);
641641
font-weight: bold;
642642
}
643643

644+
.git-removed {
645+
background-color: mistyrose;
646+
}
644647

648+
.git-unchanged {
649+
color: black;
650+
}
651+
652+
.git-added {
653+
background-color: Aquamarine;
654+
}
645655

646656

src/PHPFUI/InstaDoc/CSSSelector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class CSSSelector extends \PHPFUI\Input\Select
88
public function __construct(\PHPFUI\Page $page, string $current = '')
99
{
1010
parent::__construct('CSS');
11+
1112
foreach (glob($_SERVER['DOCUMENT_ROOT'] . $page->getResourcePath() . 'highlighter/styles/*.css') as $file)
1213
{
1314
$value = substr($file, strrpos($file, '/') + 1);

0 commit comments

Comments
 (0)