From e3a4b373fd86718efcaf6bb7b3eccb367ec50799 Mon Sep 17 00:00:00 2001 From: Ryan Reilly Date: Sun, 14 Apr 2024 07:30:59 -0400 Subject: [PATCH 1/6] Dusting off the broom... initial commit --- src/CSS/themes.css | 2 +- src/ToggleModes.ts | 2 +- src/TreeContext.ts | 1 + src/index.html | 3 +-- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/CSS/themes.css b/src/CSS/themes.css index 1c7879e7..007e361b 100644 --- a/src/CSS/themes.css +++ b/src/CSS/themes.css @@ -176,7 +176,7 @@ } /* Subrina Theme */ -[data-theme="Ocean-Pearl"] { +[data-theme="Test-With-Theme-String"] { --global-background : #ffffff; --p-text : #ffffff; --canvas-bg : #e2b3ef; diff --git a/src/ToggleModes.ts b/src/ToggleModes.ts index 27eed041..2c5a5d16 100644 --- a/src/ToggleModes.ts +++ b/src/ToggleModes.ts @@ -57,7 +57,7 @@ export function toggleHandler(): void { if (loadedAEG !== null) { TreeContext.tree.sheet = loadedAEG.sheet; } else { - throw Error("invalid cached AEG"); + throw Error("Invalidly cached AEG."); } TreeContext.toolState = drawCachedTool; redrawTree(TreeContext.tree); diff --git a/src/TreeContext.ts b/src/TreeContext.ts index fb2a9d7b..75269b57 100644 --- a/src/TreeContext.ts +++ b/src/TreeContext.ts @@ -1,6 +1,7 @@ /** * @file Describes the state of the AEGTree and other related attributes. * + * @author Ryan R * @author Anusha Tiwari */ diff --git a/src/index.html b/src/index.html index 250d88d9..351871c6 100644 --- a/src/index.html +++ b/src/index.html @@ -191,8 +191,7 @@

Selected subgraph:

-
- + From aad2f101d6c0c153664d40923afa90941c55b1d1 Mon Sep 17 00:00:00 2001 From: Ryan Reilly Date: Sun, 14 Apr 2024 07:34:34 -0400 Subject: [PATCH 2/6] Have to get my dustpan too... --- src/CSS/themes.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CSS/themes.css b/src/CSS/themes.css index 007e361b..1c7879e7 100644 --- a/src/CSS/themes.css +++ b/src/CSS/themes.css @@ -176,7 +176,7 @@ } /* Subrina Theme */ -[data-theme="Test-With-Theme-String"] { +[data-theme="Ocean-Pearl"] { --global-background : #ffffff; --p-text : #ffffff; --canvas-bg : #e2b3ef; From 3fd96adb3a3c5cefb5177daaba363093d923bcc9 Mon Sep 17 00:00:00 2001 From: Ryan Reilly Date: Sun, 14 Apr 2024 08:03:41 -0400 Subject: [PATCH 3/6] The leftover bit of dust after a sweep --- src/CSS/index.css | 4 ---- src/CSS/themes.css | 22 ---------------------- src/index.html | 1 - 3 files changed, 27 deletions(-) diff --git a/src/CSS/index.css b/src/CSS/index.css index 84c615eb..6570b1b2 100644 --- a/src/CSS/index.css +++ b/src/CSS/index.css @@ -51,11 +51,8 @@ p { box-shadow: var(--mode-btn-shadow); color: var(--mode-btn-icon-color); text-align: center; -} .toolButton:active { - transform: translateY(2px); -} .toolButtonPressed { -webkit-box-shadow: var(--mode-btn-press-shadow); @@ -156,7 +153,6 @@ p { -webkit-user-select: none; user-select: none; } - .toggle-switch { position: relative; display: block; diff --git a/src/CSS/themes.css b/src/CSS/themes.css index 1c7879e7..67c5b936 100644 --- a/src/CSS/themes.css +++ b/src/CSS/themes.css @@ -176,26 +176,4 @@ } /* Subrina Theme */ -[data-theme="Ocean-Pearl"] { - --global-background : #ffffff; - --p-text : #ffffff; - --canvas-bg : #e2b3ef; - --canvas-items : #5d95a3; - --good-placement : #ffffff; - --bad-placement : #8dc4d2; - --header-border: 2px solid #ffffff; - --header-bg : #8dc4d2; - --toolbar-border: 2px solid #ffffff; - --toolbar-bg: #8dc4d2; - --subbar-border: 2px solid #ffffff; - --subbar-bg: #8dc4d2; - --sidebar-border: 2px solid #ffffff; - --sidebar-bg: #8dc4d2; - --mode-btn-border: 2px solid #bb77ce; - --mode-btn-bg: #bb77ce;; - --mode-btn-icon-color :#ffffff; - --mode-btn-radius: 25%; - --mode-btn-hover-bg: none; - --mode-btn-shadow: none; - --mode-btn-press-shadow: inset 0px 0px 5px #ffffff; } \ No newline at end of file diff --git a/src/index.html b/src/index.html index 351871c6..bed30a1f 100644 --- a/src/index.html +++ b/src/index.html @@ -149,7 +149,6 @@ -