Skip to content

Commit aecbda0

Browse files
committed
Format
1 parent de52df5 commit aecbda0

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

src/base.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,7 @@
2424
background-color: var(--bg-colour);
2525
color: var(--text-colour);
2626

27-
transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out;
27+
transition:
28+
background-color 0.5s ease-in-out,
29+
color 0.5s ease-in-out;
2830
}

src/base/_reset.scss

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,19 @@ html {
1010

1111
body {
1212
margin: 0;
13-
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
14-
Roboto, Oxygen, Ubuntu, Cantarell, "Noto Sans", "Open Sans",
15-
"Helvetica Neue", sans-serif;
13+
font-family:
14+
system-ui,
15+
-apple-system,
16+
BlinkMacSystemFont,
17+
"Segoe UI",
18+
Roboto,
19+
Oxygen,
20+
Ubuntu,
21+
Cantarell,
22+
"Noto Sans",
23+
"Open Sans",
24+
"Helvetica Neue",
25+
sans-serif;
1626
-webkit-font-smoothing: antialiased;
1727
}
1828

src/index/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function initialise(): void {
55

66
const toggler = document.getElementById("toggle-button")!;
77

8-
toggler.addEventListener("click", (ev) => {
8+
toggler.addEventListener("click", ev => {
99
ev.preventDefault();
1010

1111
switch (settings.scheme) {

src/index/style.scss

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ body {
3535

3636
white-space: pre-wrap;
3737

38-
transition: background-color 0.5s ease-in-out, border-color 0.5s ease-in-out;
38+
transition:
39+
background-color 0.5s ease-in-out,
40+
border-color 0.5s ease-in-out;
3941
}
4042

4143
.button {
@@ -66,8 +68,10 @@ body {
6668
box-shadow: 0px 0px 4px 2px var(--button-shadow-colour);
6769
}
6870

69-
transition: background-color 0.25s ease-in-out,
70-
outline-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
71+
transition:
72+
background-color 0.25s ease-in-out,
73+
outline-color 0.25s ease-in-out,
74+
box-shadow 0.25s ease-in-out;
7175
}
7276

7377
:root .github-icon,

0 commit comments

Comments
 (0)