From a39120f86d130062e3dbac1b07fbfb57fcb59679 Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Mon, 9 Jan 2023 22:49:18 +0000 Subject: [PATCH] introduce wildebeest colors introduce wildebeest colors to match more closely the mastodon color scheme resolves #48 --- frontend/src/components/Status/index.tsx | 12 ++++++------ .../src/components/StickyHeader/StickyHeader.tsx | 2 +- frontend/src/components/TagDetailsCard/index.tsx | 4 ++-- .../components/layout/LeftColumn/LeftColumn.tsx | 2 +- .../components/layout/RightColumn/RightColumn.tsx | 8 ++++---- frontend/src/root.tsx | 2 +- .../src/routes/[accountId]/[statusId]/index.tsx | 12 ++++++------ frontend/src/routes/explore/layout.scss | 2 +- frontend/src/routes/explore/layout.tsx | 6 +++--- frontend/src/routes/explore/links/index.tsx | 6 +++--- frontend/src/routes/explore/tags/index.tsx | 2 +- frontend/src/routes/first-login/index.tsx | 6 +++--- frontend/src/routes/layout.tsx | 6 +++--- frontend/src/routes/public/index.tsx | 4 ++-- frontend/src/routes/public/local/index.tsx | 4 ++-- frontend/src/routes/start-instance/step-1.tsx | 8 ++++---- frontend/src/styles.scss | 15 ++++++++++++++- frontend/tailwind.config.cjs | 15 ++++++++++++++- 18 files changed, 71 insertions(+), 45 deletions(-) diff --git a/frontend/src/components/Status/index.tsx b/frontend/src/components/Status/index.tsx index f1d37f4..438f4c9 100644 --- a/frontend/src/components/Status/index.tsx +++ b/frontend/src/components/Status/index.tsx @@ -22,7 +22,7 @@ export default component$((props: Props) => { const handleContentClick = $(() => nav(statusUrl)) return ( -
+
@@ -32,11 +32,11 @@ export default component$((props: Props) => { {/* TODO: this should either have an href or not being an `a` element (also consider using QwikCity's `Link` instead) */} {status.account.display_name}
-
@{status.account.username}
+
@{status.account.username}
-
+
{formatTimeAgo(new Date(status.created_at))}
@@ -49,11 +49,11 @@ export default component$((props: Props) => { {status.card && status.media_attachments.length == 0 && ( -
+
-
{status.card.title}
-
{status.card.provider_name}
+
{status.card.title}
+
{status.card.provider_name}
diff --git a/frontend/src/components/StickyHeader/StickyHeader.tsx b/frontend/src/components/StickyHeader/StickyHeader.tsx index 97b1e3a..7c0c254 100644 --- a/frontend/src/components/StickyHeader/StickyHeader.tsx +++ b/frontend/src/components/StickyHeader/StickyHeader.tsx @@ -2,7 +2,7 @@ import { component$, Slot } from '@builder.io/qwik' export default component$(() => { return ( -
+
) diff --git a/frontend/src/components/TagDetailsCard/index.tsx b/frontend/src/components/TagDetailsCard/index.tsx index 1ce4751..647aabc 100644 --- a/frontend/src/components/TagDetailsCard/index.tsx +++ b/frontend/src/components/TagDetailsCard/index.tsx @@ -17,8 +17,8 @@ export default component$((props: Props) => { return (
-
#{props.tagDetails.name}
-
{formatHistory(history)}
+
#{props.tagDetails.name}
+
{formatHistory(history)}
diff --git a/frontend/src/components/layout/LeftColumn/LeftColumn.tsx b/frontend/src/components/layout/LeftColumn/LeftColumn.tsx index b32b6d7..281046c 100644 --- a/frontend/src/components/layout/LeftColumn/LeftColumn.tsx +++ b/frontend/src/components/layout/LeftColumn/LeftColumn.tsx @@ -8,7 +8,7 @@ export default component$(() => { return (