Skip to content

Commit 1bb50e8

Browse files
authored
Merge pull request #27 from krios2146/feature/headers-underline
Feature headers underline
2 parents dc96d2b + 3a74288 commit 1bb50e8

File tree

2 files changed

+36
-11
lines changed

2 files changed

+36
-11
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "GitHub Theme",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"minAppVersion": "1.0.0",
55
"author": "@krios2146",
66
"authorUrl": "https://github.com/krios2146"

theme.css

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@ settings:
1515
id: colorblind_protan-deutan
1616
title: Protanopia & Deuteranopia
1717
type: class-toggle
18-
default: off
1918
-
2019
id: colorblind_tritan
2120
title: Tritanopia
2221
type: class-toggle
23-
default: off
24-
-
2522
23+
-
2624
# Callout Settings
2725
2826
id: callout
@@ -34,9 +32,26 @@ settings:
3432
id: callout-on
3533
title: GitHub callout style
3634
type: class-toggle
37-
default: on
35+
default: true
36+
3837
-
38+
# Headers underline
39+
40+
id: headers-underline
41+
title: Headers underline
42+
type: heading
43+
level: 1
44+
collapsed: true
45+
-
46+
id: h1-underline
47+
title: H1 header underline enabled
48+
type: class-toggle
49+
-
50+
id: h2-underline
51+
title: H2 header underline enabled
52+
type: class-toggle
3953
54+
-
4055
# Headers Settings
4156
4257
id: headers
@@ -45,7 +60,6 @@ settings:
4560
level: 1
4661
collapsed: true
4762
-
48-
4963
# All Headers
5064
5165
id: all-headers
@@ -57,7 +71,7 @@ settings:
5771
id: headers-one-color
5872
title: All headers are the same color
5973
type: class-toggle
60-
default: on
74+
default: true
6175
-
6276
id: h-color-theme
6377
title: Header color
@@ -66,8 +80,8 @@ settings:
6680
format: hex
6781
default-light: '#24292f'
6882
default-dark: '#7ee787'
69-
-
7083
84+
-
7185
# Particular Headers
7286
7387
id: particular headers
@@ -124,8 +138,8 @@ settings:
124138
format: hex
125139
default-light: '#24292f'
126140
default-dark: '#7ee787'
127-
-
128141
142+
-
129143
# Kanban Settings
130144
131145
id: kanban
@@ -155,13 +169,13 @@ settings:
155169
title: Minimal height for cards
156170
description: All cards will have the same initial height
157171
type: class-toggle
158-
default: on
172+
default: true
159173
-
160174
id: kanban-full-height-column
161175
title: Full height lists
162176
description:
163177
type: class-toggle
164-
default: on
178+
default: true
165179
*/
166180
body {
167181
/* Animations */
@@ -1218,3 +1232,14 @@ select:focus, .dropdown:focus {
12181232
border-radius: 6px;
12191233
color: var(--text-normal);
12201234
}
1235+
1236+
/* Underline for the top level headers */
1237+
1238+
body.h1-underline h1, body.h1-underline.markdown-rendered h1 {
1239+
padding-bottom: .3em;
1240+
border-bottom: 1px solid var(--color-base-40);
1241+
}
1242+
body.h2-underline h2, body.h2-underline.markdown-rendered h2 {
1243+
padding-bottom: .3em;
1244+
border-bottom: 1px solid var(--color-base-40);
1245+
}

0 commit comments

Comments
 (0)