diff --git a/src/App.svelte b/src/App.svelte index 46701c9..511d8cf 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -4,12 +4,22 @@ import ResizeHandle from './lib/ResizeHandle.svelte'; import NoteDetail from './lib/NoteDetail.svelte'; import StatusBar from './lib/StatusBar.svelte'; + + import { fullScreen } from './lib/store'; -
- - - - - -
+
+ {#if !$fullScreen} +
+

nvAux

+

Capture and retrieve ideas at the speed of thought with nvAux, the in-the-zone, aint-nobody-stopping-me note-taking app for creative professionals.

+
+ {/if} +
+ + + + + +
+
diff --git a/src/lib/StatusBar.svelte b/src/lib/StatusBar.svelte index 273b974..a2cd988 100644 --- a/src/lib/StatusBar.svelte +++ b/src/lib/StatusBar.svelte @@ -1,3 +1,30 @@ -
-nvAux v0.1.5 + + +
+
nvAux v0.1.5
+
+ +
+
{format(time, 'hh:mm:ss a')}
diff --git a/src/lib/store.js b/src/lib/store.js index 96b77a4..7c2f9d7 100644 --- a/src/lib/store.js +++ b/src/lib/store.js @@ -80,6 +80,7 @@ export const noteList = writable([]); export const noteListHeight = writable(storedNoteListHeight); export const selectedNote = writable({}); export const bodyText = writable(''); +export const fullScreen = writable(false); omniText.subscribe(v => { if (v === '') { diff --git a/src/lib/style.css b/src/lib/style.css index f4482f2..2fa840b 100644 --- a/src/lib/style.css +++ b/src/lib/style.css @@ -12,7 +12,7 @@ a { color: inherit; text-decoration: inherit; } button, input, optgroup, select, textarea { padding: 0; line-height: inherit; color: inherit; } pre, code, kbd, samp { font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } -html, body { background-color: #151618; margin: 0; padding: 0; font-family: Verdana, Geneva, Tahoma, sans-serif; font-size: 0.9rem; height: 100%; width: 100%; overflow: hidden;} +html, body { margin: 0; padding: 0; font-family: Verdana, Geneva, Tahoma, sans-serif; font-size: 0.9rem; height: 100vh; width: 100vw; overflow: hidden;} .absolute { position: absolute; } .bg-gray-200 { background-color: #edf2f7; } .bg-gray-800 { background-color: #2d3748; } @@ -31,7 +31,6 @@ html, body { background-color: #151618; margin: 0; padding: 0; font-family: Verd .h-screen { height: 100vh; } .hidden { display: none; } .items-center { align-items: center; } -.items-center { align-items: center; } .justify-between { justify-content: space-between; } .justify-center { justify-content: center; } .justify-end { justify-content: flex-end; } @@ -61,8 +60,24 @@ html, body { background-color: #151618; margin: 0; padding: 0; font-family: Verd .truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .w-full { width: 100%; } .w-screen { width: 100vw; } -.btn { - padding: 3px 10px; - border-radius: 3px; - font-size: 14px; +.btn { padding: 3px 10px; border-radius: 3px; font-size: 14px; } + + +body { + background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); + background-size: 400% 400%; + animation: gradient 15s ease infinite; + height: 100vh; +} + +@keyframes gradient { + 0% { + background-position: 0% 50%; + } + 50% { + background-position: 100% 50%; + } + 100% { + background-position: 0% 50%; + } }