From cf46d9a5dde398ad99069ef89420f0eca4cf202a Mon Sep 17 00:00:00 2001 From: PaddiM8 Date: Mon, 4 Jan 2021 00:38:59 +0100 Subject: [PATCH] Set up kalk_web development environment --- kalk_web/package.json | 2 +- kalk_web/public/index.html | 14 ++++++++++++-- kalk_web/src/KalkCalculator.svelte | 11 +++-------- kalk_web/src/main-dev.ts | 11 ----------- kalk_web/webpack.config.ts | 5 ++--- 5 files changed, 18 insertions(+), 25 deletions(-) delete mode 100644 kalk_web/src/main-dev.ts diff --git a/kalk_web/package.json b/kalk_web/package.json index ab639de..596cd09 100644 --- a/kalk_web/package.json +++ b/kalk_web/package.json @@ -60,4 +60,4 @@ "browserslist": [ "defaults" ] -} +} \ No newline at end of file diff --git a/kalk_web/public/index.html b/kalk_web/public/index.html index 02bc170..2eaeb1d 100644 --- a/kalk_web/public/index.html +++ b/kalk_web/public/index.html @@ -8,13 +8,23 @@ Svelte app - - + + +
+ +
\ No newline at end of file diff --git a/kalk_web/src/KalkCalculator.svelte b/kalk_web/src/KalkCalculator.svelte index 1c186c9..9efc631 100644 --- a/kalk_web/src/KalkCalculator.svelte +++ b/kalk_web/src/KalkCalculator.svelte @@ -8,6 +8,7 @@ export let hintColor = "#9c9c9c"; export let linkColor = "cornflowerblue"; export let backgroundColor = "#424242"; + export let textColor = "white"; let outputLines: string[] = []; let outputElement: HTMLElement; @@ -169,12 +170,9 @@