diff --git a/.changeset/chilled-impalas-wonder.md b/.changeset/chilled-impalas-wonder.md new file mode 100644 index 000000000..28df12950 --- /dev/null +++ b/.changeset/chilled-impalas-wonder.md @@ -0,0 +1,5 @@ +--- +"nostrudel": minor +--- + +Add option to change primary color for theme diff --git a/src/components/relay-url-input.tsx b/src/components/relay-url-input.tsx index 350f06cc1..67f1432d0 100644 --- a/src/components/relay-url-input.tsx +++ b/src/components/relay-url-input.tsx @@ -1,9 +1,7 @@ import { Badge, - Box, Button, Flex, - Highlight, IconButton, Input, InputGroup, @@ -17,13 +15,13 @@ import { ModalHeader, ModalOverlay, ModalProps, - Text, useDisclosure, } from "@chakra-ui/react"; import { useState } from "react"; import { useAsync } from "react-use"; import { unique } from "../helpers/array"; import { RelayIcon, SearchIcon } from "./icons"; +import { safeRelayUrl } from "../helpers/url"; function RelayPickerModal({ onSelect, @@ -60,9 +58,8 @@ function RelayPickerModal({ {filteredRelays.map((url) => ( - +