aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/bots
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/src/routes/bots')
-rw-r--r--web/pw-server/src/routes/bots/[bot_name].svelte7
-rw-r--r--web/pw-server/src/routes/bots/new.svelte1
2 files changed, 4 insertions, 4 deletions
diff --git a/web/pw-server/src/routes/bots/[bot_name].svelte b/web/pw-server/src/routes/bots/[bot_name].svelte
index 3532e38..cf8c42a 100644
--- a/web/pw-server/src/routes/bots/[bot_name].svelte
+++ b/web/pw-server/src/routes/bots/[bot_name].svelte
@@ -118,6 +118,7 @@
</div>
<style lang="scss">
+ @import "src/styles/variables.scss";
.container {
width: 800px;
max-width: 80%;
@@ -146,18 +147,16 @@
margin-bottom: $header-space-above-line;
}
- $borderColor: rgba(27, 31, 36, 0.25);
-
.btn-container {
padding: 24px;
text-align: center;
}
.btn-view-more {
- color: rgb(9, 105, 218);
+ color: $btn-text-color;
font-size: 14px;
text-decoration: none;
padding: 6px 16px;
- border: 1px solid $borderColor;
+ border: 1px solid $btn-border-color;
border-radius: 5px;
}
diff --git a/web/pw-server/src/routes/bots/new.svelte b/web/pw-server/src/routes/bots/new.svelte
index 7cb7229..c243fe1 100644
--- a/web/pw-server/src/routes/bots/new.svelte
+++ b/web/pw-server/src/routes/bots/new.svelte
@@ -16,6 +16,7 @@
async function createBot() {
saveErrors = [];
+ // TODO: how can we handle this with the new ApiClient?
let response = await fetch("/api/bots", {
method: "POST",
headers: {