From 4cb56824f6141f7581f77583b6c52dcbcbb85a75 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Sun, 27 Aug 2023 17:21:17 -0400 Subject: [PATCH] change CSS to dark theme --- client/src/main.ts | 1 - client/src/style.scss | 33 +++++++++ client/src/views/NewTrackView.vue | 113 ++++++++++++++++-------------- 3 files changed, 93 insertions(+), 54 deletions(-) diff --git a/client/src/main.ts b/client/src/main.ts index 90cdedc..6b3f153 100644 --- a/client/src/main.ts +++ b/client/src/main.ts @@ -2,7 +2,6 @@ import { createApp } from 'vue' import './style.scss' import router from './router' import { state } from "./state"; -import 'bulma/css/bulma.css' import App from './App.vue' diff --git a/client/src/style.scss b/client/src/style.scss index e69de29..5ceccce 100644 --- a/client/src/style.scss +++ b/client/src/style.scss @@ -0,0 +1,33 @@ +$background: hsl(0, 0%, 29%); // Bulma's $dark-grey +$body-background-color: hsl(0, 0%, 21%); // Bulma's $grey-darker +$text: hsl(0, 0%, 96%); // Bulma's $white-ter +$text-light: hsl(0, 0%, 98%); // Bulma's $white-bis +$text-strong: hsl(0, 0%, 93%); // Bulma's $grey-lightest + + +// must be after assignments! +@import '../node_modules/bulma/bulma.sass'; + +.modal-card-body { + background-color: $body-background-color; +} +.modal-card-head { + border-bottom: 1px solid $primary; +} + +.modal-card-foot { + border-top: 1px solid $primary; +} + +.textarea, .table, .input { + background-color: $background; + border-color: $primary; +} + +.tr, .th { + border: 1px solid $primary; +} + +.navbar { + background-color: $background; +} diff --git a/client/src/views/NewTrackView.vue b/client/src/views/NewTrackView.vue index a15e26a..5413cab 100644 --- a/client/src/views/NewTrackView.vue +++ b/client/src/views/NewTrackView.vue @@ -31,60 +31,67 @@ const submit = async () => { \ No newline at end of file