Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// dark theme colors
$bg: #222;
$gray: #888;
$gray-dark: #555;
$text-color: #fafafa;

body,
ul,
li,
Expand All @@ -14,8 +20,8 @@ p {
}

body {
background: #fafafa;
color: #555;
background: $bg;
color: $text-color;
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
line-height: 1.4;
}
Expand All @@ -34,10 +40,10 @@ body {
}

.todo-list {
background: white;
border: 1px solid #e6e6e6;
background: $gray-dark;
border: 1px solid transparent;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0,0,0,.06);
box-shadow: 0 1px 3px rgba(0,0,0,.1);
margin: 15px 0 150px;
}

Expand All @@ -49,13 +55,13 @@ body {

+ .new_todo,
+ .todo-list-item {
border-top: 1px solid #e6e6e6
border-top: 1px solid rgba(0,0,0,.3);
}
}

.button-complete {
background: #fff;
border: 3px solid #e6e6e6;
background: $gray-dark;
border: 3px solid rgba(0,0,0,.3);
border-radius: 6px;
cursor: pointer;
flex: 0 0 auto;
Expand All @@ -65,7 +71,7 @@ body {
}

.button-edit {
color: #888;
color: $gray;
font-size: 15px;
margin-left: auto;
position: relative;
Expand All @@ -82,12 +88,11 @@ body {
}

.notification {
background: #fff;
border: 1px solid #e6e6e6;
background: $gray-dark;
border: 1px solid transparent;
border-radius: 6px;
border-width: 1px;
box-shadow: 0 1px 3px rgba(0,0,0,.06);
color: #555;
display: flex;
padding: 15px;
}
Expand All @@ -103,4 +108,4 @@ body {

.small {
font-size: 13px;
}
}