))}
diff --git a/src/app/trending/index.tsx b/src/app/trending/index.tsx
index 284e9ea6..52dc4905 100644
--- a/src/app/trending/index.tsx
+++ b/src/app/trending/index.tsx
@@ -3,7 +3,7 @@ import { TrendingProfiles } from '@app/trending/components/trendingProfiles';
export function TrendingScreen() {
return (
-
+
diff --git a/src/index.css b/src/index.css
index 57d3e5af..229c68cd 100644
--- a/src/index.css
+++ b/src/index.css
@@ -19,7 +19,7 @@ button {
}
.ProseMirror p.is-empty::before {
- @apply text-zinc-500;
+ @apply text-white/50;
content: attr(data-placeholder);
float: left;
height: 0;
diff --git a/src/shared/composer/composer.tsx b/src/shared/composer/composer.tsx
index 7ba47db7..a8b7e956 100644
--- a/src/shared/composer/composer.tsx
+++ b/src/shared/composer/composer.tsx
@@ -14,7 +14,6 @@ import { CancelIcon, LoaderIcon, PlusCircleIcon } from '@shared/icons';
import { MentionNote } from '@shared/notes';
import { useComposer } from '@stores/composer';
-import { FULL_RELAYS } from '@stores/constants';
import { usePublish } from '@utils/hooks/usePublish';
import { useImageUploader } from '@utils/hooks/useUploader';
@@ -45,7 +44,7 @@ export function Composer() {
Image.configure({
HTMLAttributes: {
class:
- 'rounded-lg w-2/3 h-auto border border-zinc-800 outline outline-2 outline-offset-0 outline-zinc-700 ml-1',
+ 'rounded-lg w-2/3 h-auto border border-white/10 outline outline-2 outline-offset-0 outline-white/20 ml-1',
},
}),
],
@@ -54,7 +53,7 @@ export function Composer() {
attributes: {
class: twMerge(
'scrollbar-hide markdown break-all max-h-[500px] overflow-y-auto outline-none pr-2',
- `${reply.id ? '!min-h-42' : '!min-h-[100px]'}`
+ `${reply.id ? '!min-h-42' : '!min-h-[120px]'}`
),
},
},
@@ -88,13 +87,13 @@ export function Composer() {
if (reply.id && reply.pubkey) {
if (reply.root && reply.root.length > 1) {
tags = [
- ['e', reply.root, FULL_RELAYS[0], 'root'],
- ['e', reply.id, FULL_RELAYS[0], 'reply'],
+ ['e', reply.root, 'wss://relayable.org', 'root'],
+ ['e', reply.id, 'wss://relayable.org', 'reply'],
['p', reply.pubkey],
];
} else {
tags = [
- ['e', reply.id, FULL_RELAYS[0], 'reply'],
+ ['e', reply.id, 'wss://relayable.org', 'reply'],
['p', reply.pubkey],
];
}
@@ -131,7 +130,7 @@ export function Composer() {
clearReply()}
- className="absolute right-3 top-3 inline-flex h-6 w-6 items-center justify-center gap-2 rounded bg-zinc-800 px-2 hover:bg-zinc-700"
+ className="absolute right-3 top-3 inline-flex h-6 w-6 items-center justify-center rounded bg-white/10 px-2"
>
-
+
)}
@@ -159,15 +158,15 @@ export function Composer() {
diff --git a/src/shared/composer/modal.tsx b/src/shared/composer/modal.tsx
index ac8287f0..f3a0e4f8 100644
--- a/src/shared/composer/modal.tsx
+++ b/src/shared/composer/modal.tsx
@@ -1,5 +1,4 @@
-import { Dialog, Transition } from '@headlessui/react';
-import { Fragment } from 'react';
+import * as Dialog from '@radix-ui/react-dialog';
import { useHotkeys } from 'react-hotkeys-hook';
import { Button } from '@shared/button';
@@ -27,64 +26,39 @@ export function ComposerModal() {
useHotkeys(COMPOSE_SHORTCUT, () => toggle(true));
return (
- <>
-
-
-