Skip to content

Commit dc02be3

Browse files
committed
Implement about.html dark theme
1 parent 9e3db69 commit dc02be3

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## [Unreleased]
55

6-
- Made app main activity theme dark
6+
- Implemented dark theme for main activity and About
77
- Made `about.html` show full screen
88
- Set `max-width` for `about.html`
99

app/src/main/assets/about.cmd

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,21 @@
55
%%
66
%title About
77
%css
8+
{: @color/umbrella_orange : #FFCE73 :}
9+
{: @color/key_fill : #181818 :}
810
body {
11+
background: @color/key_fill;
12+
color: white;
913
font-family: sans-serif;
1014
font-size: 15px;
1115
overflow-wrap: break-word;
1216
padding: 0.5em;
1317
}
18+
a {
19+
color: @color/umbrella_orange;
20+
}
1421
footer {
15-
border-top: 2px solid black;
22+
border-top: 2px solid white;
1623
margin-top: 1.5em;
1724
padding-top: 0.75em;
1825
}
@@ -28,11 +35,12 @@
2835
font-size: 1.1em;
2936
}
3037
html {
38+
background: grey;
3139
margin: 0 auto;
3240
max-width: 44em;
3341
}
3442
.notice {
35-
border: 1px solid black;
43+
border: 1px solid white;
3644
padding: 0.5em;
3745
}
3846
%%

app/src/main/assets/about.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>About</title>
77
<style>body {
8+
background: #181818;
9+
color: white;
810
font-family: sans-serif;
911
font-size: 15px;
1012
overflow-wrap: break-word;
1113
padding: 0.5em;
1214
}
15+
a {
16+
color: #FFCE73;
17+
}
1318
footer {
14-
border-top: 2px solid black;
19+
border-top: 2px solid white;
1520
margin-top: 1.5em;
1621
padding-top: 0.75em;
1722
}
@@ -27,11 +32,12 @@
2732
font-size: 1.1em;
2833
}
2934
html {
35+
background: grey;
3036
margin: 0 auto;
3137
max-width: 44em;
3238
}
3339
.notice {
34-
border: 1px solid black;
40+
border: 1px solid white;
3541
padding: 0.5em;
3642
}</style>
3743
</head>

0 commit comments

Comments
 (0)