diff --git a/app/(home-pages)/notifications/NotificationList.tsx b/app/(home-pages)/notifications/NotificationList.tsx index 30852227..81f4c94b 100644 --- a/app/(home-pages)/notifications/NotificationList.tsx +++ b/app/(home-pages)/notifications/NotificationList.tsx @@ -30,7 +30,7 @@ export function NotificationList({ if (notifications.length === 0) return ( -
+
no notifications yet...
Here, you'll find notifications about new follows, comments, mentions, and replies! diff --git a/app/(home-pages)/reader/GlobalContent.tsx b/app/(home-pages)/reader/GlobalContent.tsx index 94134cfe..67c87ec5 100644 --- a/app/(home-pages)/reader/GlobalContent.tsx +++ b/app/(home-pages)/reader/GlobalContent.tsx @@ -34,7 +34,7 @@ export const GlobalContent = (props: { if (posts.length === 0) { return ( -
+
Nothing trending right now. Check back soon!
); diff --git a/app/(home-pages)/reader/InboxContent.tsx b/app/(home-pages)/reader/InboxContent.tsx index 1c15d9c6..6d8f9169 100644 --- a/app/(home-pages)/reader/InboxContent.tsx +++ b/app/(home-pages)/reader/InboxContent.tsx @@ -109,7 +109,7 @@ export const InboxContent = (props: { export const ReaderEmpty = () => { return ( -
+
Nothing to read yet…
Subscribe to publications and find their posts here! diff --git a/app/(home-pages)/reader/NewContent.tsx b/app/(home-pages)/reader/NewContent.tsx index 9a0e7296..71cab82a 100644 --- a/app/(home-pages)/reader/NewContent.tsx +++ b/app/(home-pages)/reader/NewContent.tsx @@ -66,7 +66,7 @@ export const NewContent = (props: { if (allPosts.length === 0) { return ( -
+
No posts yet. Check back soon!
); diff --git a/app/[leaflet_id]/publish/PublishPost.tsx b/app/[leaflet_id]/publish/PublishPost.tsx index 20c3e202..9fd2e4aa 100644 --- a/app/[leaflet_id]/publish/PublishPost.tsx +++ b/app/[leaflet_id]/publish/PublishPost.tsx @@ -180,7 +180,7 @@ const PublishPostForm = ( submit(); }} > -
+
{ let uri = props.publication_uri ? new AtUri(props.publication_uri) : null; return ( -
+

Published!

{uri && props.record ? ( diff --git a/app/globals.css b/app/globals.css index 24130b0a..cdbf1a57 100644 --- a/app/globals.css +++ b/app/globals.css @@ -215,20 +215,35 @@ .pageScrollWrapper h2, .pageScrollWrapper h3, .pageScrollWrapper h4 { - font-family: var(--theme-heading-font, var(--theme-font, var(--font-quattro))); + font-family: var( + --theme-heading-font, + var(--theme-font, var(--font-quattro)) + ); } /* Scale heading sizes relative to the custom base font size */ - .pageScrollWrapper h1 { font-size: 2em; } - .pageScrollWrapper h2 { font-size: 1.625em; } - .pageScrollWrapper h3 { font-size: 1.125em; } - .pageScrollWrapper h4 { font-size: 1em; } + .pageScrollWrapper h1 { + font-size: 2em; + } + .pageScrollWrapper h2 { + font-size: 1.625em; + } + .pageScrollWrapper h3 { + font-size: 1.125em; + } + .pageScrollWrapper h4 { + font-size: 1em; + } /* Scale text size classes relative to the custom base font size. Tailwind's text-sm/text-base/text-lg compile to fixed rem values which ignore the custom base size set on .pageScrollWrapper. */ - .pageScrollWrapper .textSizeSmall { font-size: 0.875em; } - .pageScrollWrapper .textSizeLarge { font-size: 1.125em; } + .pageScrollWrapper .textSizeSmall { + font-size: 0.875em; + } + .pageScrollWrapper .textSizeLarge { + font-size: 1.125em; + } .pageScrollWrapper pre { font-family: var(--theme-font, var(--font-quattro)); @@ -243,7 +258,10 @@ .pubWrapper h2, .pubWrapper h3, .pubWrapper h4 { - font-family: var(--theme-heading-font, var(--theme-font, var(--font-quattro))); + font-family: var( + --theme-heading-font, + var(--theme-font, var(--font-quattro)) + ); } /*END FONT STYLING*/ @@ -446,13 +464,20 @@ pre.shiki { @apply ml-2; } +.container { + @apply border; + @apply border-border-light; + @apply rounded-md; + background: rgba(var(--bg-page), var(--bg-page-alpha)); +} + .transparent-container { @apply border; @apply border-border-light; @apply rounded-md; } -.container { +.frosted-container { background: rgba(var(--bg-page), 0.75); @apply border; @apply border-bg-page; @@ -571,7 +596,9 @@ pre.shiki { .footnote-side-item { max-height: 4.5em; overflow: hidden; - transition: max-height 200ms ease, mask-image 200ms ease; + transition: + max-height 200ms ease, + mask-image 200ms ease; } .footnote-side-item.has-overflow { mask-image: linear-gradient(to bottom, white 50%, transparent 100%); diff --git a/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx b/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx index 1de03e91..83a12aea 100644 --- a/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx +++ b/app/lish/[did]/[publication]/dashboard/PublishedPostsLists.tsx @@ -9,7 +9,10 @@ import { } from "./PublicationSWRProvider"; import { Fragment } from "react"; import { useParams } from "next/navigation"; -import { getPublicationURL, getDocumentURL } from "app/lish/createPub/getPublicationURL"; +import { + getPublicationURL, + getDocumentURL, +} from "app/lish/createPub/getPublicationURL"; import { SpeedyLink } from "components/SpeedyLink"; import { InteractionPreview } from "components/InteractionsPreview"; import { useLocalizedDate } from "src/hooks/useLocalizedDate"; @@ -27,7 +30,7 @@ export function PublishedPostsList(props: { if (!publication) return null; if (!documents || documents.length === 0) return ( -
+
Nothing's been published yet...
); @@ -85,11 +88,7 @@ function PublishedPostItem(props: { }} >
- +

{doc.record.title}

diff --git a/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx b/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx index c0ed9d9e..b1c68a5b 100644 --- a/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx +++ b/app/lish/[did]/[publication]/dashboard/settings/PostSettings.tsx @@ -13,39 +13,38 @@ export function PostSettings(props: { setShowInDiscover: (v: boolean) => void; }) { return ( -
-

Post Settings

- -

Discovery

- props.setShowInDiscover(!props.showInDiscover)} - > -
-
Make Public
-
- Your posts will appear in{" "} - - Leaflet Reader - {" "} - and show up in search and tags. + <> +
+

Discovery

+ props.setShowInDiscover(!props.showInDiscover)} + > +
+
Make Public
+
+ Your posts will appear in{" "} + + Leaflet Reader + {" "} + and show up in search and tags. +
-
- - + +

-

Layout

+

Post Layout

props.setShowPrevNext(!props.showPrevNext)} > -
Show Prev/Next Buttons
+
Show Prev/Next Buttons on Post

-

Interactions

+

Post Interactions

-
+ ); } diff --git a/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx b/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx index f83277c3..cfc0311e 100644 --- a/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx +++ b/app/lish/[did]/[publication]/dashboard/settings/SettingsContent.tsx @@ -15,6 +15,7 @@ import { PubThemeSetter } from "components/ThemeManager/PubThemeSetter"; import { GeneralSettings } from "./GeneralSettings"; import { PostSettings } from "./PostSettings"; import { ThemeSettings } from "./ThemeSettings"; +import { useCardBorderHidden } from "components/Pages/useCardBorderHidden"; type SettingsView = "all" | "theme"; @@ -164,3 +165,17 @@ function SettingsForm(props: { onOpenTheme: () => void }) { ); } + +export const DashboardContainer = (props: { + children: React.ReactNode; + className?: string; +}) => { + let cardBorderHidden = useCardBorderHidden(); + return ( +
+ {props.children} +
+ ); +}; diff --git a/app/lish/[did]/[publication]/subscribeSuccess/page.tsx b/app/lish/[did]/[publication]/subscribeSuccess/page.tsx index b0d572cd..deb03a81 100644 --- a/app/lish/[did]/[publication]/subscribeSuccess/page.tsx +++ b/app/lish/[did]/[publication]/subscribeSuccess/page.tsx @@ -4,7 +4,7 @@ import { RSSSmall } from "components/Icons/RSSSmall"; export default function SubscribeSuccess() { return (
-
+

You've Subscribed!

Add this custom feed to your Bluesky to get the updates from this and diff --git a/app/lish/createPub/page.tsx b/app/lish/createPub/page.tsx index bb33a11a..f4d4d510 100644 --- a/app/lish/createPub/page.tsx +++ b/app/lish/createPub/page.tsx @@ -9,7 +9,7 @@ export default async function CreatePub() { return (
-
+
{