Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Commit 675dc5a

Browse files
committed
Fix loading ring dark mode
1 parent b1b6d27 commit 675dc5a

File tree

3 files changed

+27
-21
lines changed

3 files changed

+27
-21
lines changed

Diff for: .prettierrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
trailingComma: 'es5',
3+
tabWidth: 2,
4+
semi: true,
5+
singleQuote: true,
6+
}

Diff for: res/css/dark-theme.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
html {
2-
--lighter-tone-bg: #2F3845;
2+
--lighter-tone-bg: #2f3845;
33
--normal-tone-bg: #252c36;
44
--darker-tone-bg: #1d2229;
5-
--icon-mode: "white";
5+
--icon-mode: 'white';
66
--shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
77
--accent-tone-10: rgba(195, 117, 60, 0.1);
88
--foreground-tone-10: rgba(255, 255, 255, 0.1);
@@ -27,13 +27,13 @@ html {
2727
}
2828

2929
.logo {
30-
background-image: url("../icons/Tauten-logo-white.svg");
30+
background-image: url('../icons/Tauten-logo-white.svg');
3131
}
3232

3333
.back {
34-
background-image: url("../icons/arrow_back_white_24dp.svg");
34+
background-image: url('../icons/arrow_back_white_24dp.svg');
3535
}
3636

37-
.loading {
37+
.loadingring {
3838
background-image: url(../icons/Loadingring-white.svg);
39-
}
39+
}

Diff for: res/css/dark-theme.scss

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
@use "sass:color";
1+
@use 'sass:color';
22

33
html {
4-
--lighter-tone-bg: #2F3845;
5-
--normal-tone-bg: #252c36;
6-
--darker-tone-bg: #1d2229;
7-
--icon-mode: "white";
8-
--shadow: 0 4px 4px #{rgba(black, 0.15)};
9-
@for $i from 1 through 10 {
10-
--accent-tone-#{$i*10}: #{rgba(#c3753c, $i * 0.1)};
11-
--foreground-tone-#{$i*10}: #{rgba(white, $i * 0.1)};
12-
}
4+
--lighter-tone-bg: #2f3845;
5+
--normal-tone-bg: #252c36;
6+
--darker-tone-bg: #1d2229;
7+
--icon-mode: 'white';
8+
--shadow: 0 4px 4px #{rgba(black, 0.15)};
9+
@for $i from 1 through 10 {
10+
--accent-tone-#{$i*10}: #{rgba(#c3753c, $i * 0.1)};
11+
--foreground-tone-#{$i*10}: #{rgba(white, $i * 0.1)};
12+
}
1313
}
1414

1515
.logo {
16-
background-image: url("../icons/Tauten-logo-white.svg");
16+
background-image: url('../icons/Tauten-logo-white.svg');
1717
}
1818

1919
.back {
20-
background-image: url("../icons/arrow_back_white_24dp.svg");
20+
background-image: url('../icons/arrow_back_white_24dp.svg');
2121
}
2222

23-
.loading {
24-
background-image: url(../icons/Loadingring-white.svg);
25-
}
23+
.loadingring {
24+
background-image: url(../icons/Loadingring-white.svg);
25+
}

0 commit comments

Comments
 (0)