diff --git a/src/App.vue b/src/App.vue index 4e0f5da..cc9f782 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,6 +3,8 @@ import { RouterLink, RouterView } from 'vue-router' import HelloWorld from './components/Welcome.vue' import { store } from './store.js' import {clearSession} from "./store.js"; +import FatalError from "./components/FatalError.vue"; + /** * Logout the user. */ @@ -25,6 +27,10 @@ function logOut() { About Log Out + + + + diff --git a/src/assets/base.css b/src/assets/base.css index f3a7b7c..cbeb30a 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -39,6 +39,9 @@ --color-input: rgba(0,0,0,.85); --color-input-border-focus: rgba(0,0,0,.2); --color-error-text: darkred; + --color-item-background: white; + --color-item-text: rgb(33, 53, 71); + --item-box-shadow: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07); } @media (prefers-color-scheme: dark) { @@ -56,6 +59,9 @@ --color-input: rgba(255,255,255,.8); --color-input-border-focus: rgba(0,0,0,.4); --color-error-text: red; + --color-item-background: #242424; + --color-item-text: white; + --item-box-shadow: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07); } } diff --git a/src/assets/img/check-gray.svg b/src/assets/img/check-gray.svg new file mode 100644 index 0000000..e3a611d --- /dev/null +++ b/src/assets/img/check-gray.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/img/check-green.svg b/src/assets/img/check-green.svg new file mode 100644 index 0000000..ee864e3 --- /dev/null +++ b/src/assets/img/check-green.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/main.scss b/src/assets/main.scss index e96ad6e..f4260d9 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -81,6 +81,14 @@ a, color: white; border-color: #1890ff; } + &.btn-large { + font-size: 1.25rem; + padding: 6px 25px; + } +} + +.btn-container { + margin: 30px 0; } form .error { diff --git a/src/components/TodoRoot.vue b/src/components/TodoRoot.vue index 78959ef..33d3e8b 100644 --- a/src/components/TodoRoot.vue +++ b/src/components/TodoRoot.vue @@ -6,21 +6,50 @@ --> - ToDo List + - + + ToDo List + - - - - - - - + + + + Show completed + + + + List: + + All + {{ item.title }} + - + + + + + + + + + + + + + + + + + + + + Add Item + + +