Skip to content

Commit 878cba0

Browse files
authored
Merge pull request #7 from RunnableDemo/revert-6-dark-theme
Revert "Add dark theme"
2 parents 1d0fce9 + a9bf8e3 commit 878cba0

File tree

1 file changed

+12
-17
lines changed

1 file changed

+12
-17
lines changed

app/assets/stylesheets/application.scss

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
// dark theme colors
2-
$bg: #222;
3-
$gray: #888;
4-
$gray-dark: #555;
5-
$text-color: #fafafa;
6-
71
body,
82
ul,
93
li,
@@ -20,8 +14,8 @@ p {
2014
}
2115

2216
body {
23-
background: $bg;
24-
color: $text-color;
17+
background: #fafafa;
18+
color: #555;
2519
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
2620
line-height: 1.4;
2721
}
@@ -40,10 +34,10 @@ body {
4034
}
4135

4236
.todo-list {
43-
background: $gray-dark;
44-
border: 1px solid transparent;
37+
background: white;
38+
border: 1px solid #e6e6e6;
4539
border-radius: 6px;
46-
box-shadow: 0 1px 3px rgba(0,0,0,.1);
40+
box-shadow: 0 1px 3px rgba(0,0,0,.06);
4741
margin: 15px 0 150px;
4842
}
4943

@@ -55,13 +49,13 @@ body {
5549

5650
+ .new_todo,
5751
+ .todo-list-item {
58-
border-top: 1px solid rgba(0,0,0,.3);
52+
border-top: 1px solid #e6e6e6
5953
}
6054
}
6155

6256
.button-complete {
63-
background: $gray-dark;
64-
border: 3px solid rgba(0,0,0,.3);
57+
background: #fff;
58+
border: 3px solid #e6e6e6;
6559
border-radius: 6px;
6660
cursor: pointer;
6761
flex: 0 0 auto;
@@ -71,7 +65,7 @@ body {
7165
}
7266

7367
.button-edit {
74-
color: $gray;
68+
color: #888;
7569
font-size: 15px;
7670
margin-left: auto;
7771
position: relative;
@@ -88,11 +82,12 @@ body {
8882
}
8983

9084
.notification {
91-
background: $gray-dark;
92-
border: 1px solid transparent;
85+
background: #fff;
86+
border: 1px solid #e6e6e6;
9387
border-radius: 6px;
9488
border-width: 1px;
9589
box-shadow: 0 1px 3px rgba(0,0,0,.06);
90+
color: #555;
9691
display: flex;
9792
padding: 15px;
9893
}

0 commit comments

Comments
 (0)