Skip to content

Commit 17d0f5c

Browse files
authored
Merge pull request #15 from novuhq/design-fixes
feat: small border adjustments
2 parents 577abf3 + 23eb6de commit 17d0f5c

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

src/app/components/PlaygroundFormContainer.tsx

+31-5
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,16 @@ const PlaygroundFormContainer = () => {
2525
const { handleSubmit, isLoading } = useNotificationForm();
2626

2727
return (
28-
<Flex position="relative" width="100%" maxW="600px" height="100%" minHeight="400px">
28+
<Flex
29+
position="relative"
30+
width="100%"
31+
maxW="600px"
32+
height="100%"
33+
minHeight="400px"
34+
padding="1px"
35+
borderRadius="18px"
36+
backgroundImage="radial-gradient(97.19% 102.87% at 95.42% -2.87%, #6B7DB3 6.8%, #1F2437 65.55%)"
37+
>
2938
<Image
3039
src="/images/dots.svg"
3140
alt=""
@@ -47,8 +56,6 @@ const PlaygroundFormContainer = () => {
4756
/>
4857
<Flex
4958
width="100%"
50-
borderWidth="1px"
51-
borderColor="#6B7DB3"
5259
borderRadius="18px"
5360
boxShadow="lg"
5461
bg="linear-gradient(180deg, #1B2137 -0.49%, #111522 48.7%)"
@@ -76,14 +83,33 @@ const PlaygroundFormContainer = () => {
7683
borderRadius="17px"
7784
/>
7885

79-
<VStack spacing={4} alignItems="stretch" flexGrow={1} height="100%">
86+
<VStack
87+
spacing={4}
88+
alignItems="stretch"
89+
flexGrow={1}
90+
height="100%"
91+
position="relative"
92+
zIndex={10}
93+
>
8094
<Tabs
8195
height="calc(100% - 80px)"
8296
onChange={(index) => {
8397
setSelectedTheme(themes[index]);
8498
}}
8599
>
86-
<TabList borderBottom="1px solid #30385A">
100+
<TabList
101+
borderBottom="none"
102+
position="relative"
103+
_before={{
104+
content: "''",
105+
position: "absolute",
106+
bottom: 0,
107+
left: 0,
108+
right: 0,
109+
height: "1px",
110+
backgroundImage: "linear-gradient(90deg, #2C3353 57.33%, #3B4884 100%)",
111+
}}
112+
>
87113
{themes.map((theme) => (
88114
<Tab
89115
key={theme.id}

src/theme/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const theme = extendTheme({
9696
background: "transparent",
9797
color: "white",
9898
borderRadius: "4px",
99-
border: "1px solid rgba(255, 255, 255, 0.7)",
99+
border: "1px solid rgba(255, 255, 255, 0.4)",
100100
transition: "background color 0.2s",
101101
_hover: {
102102
background: "white",

0 commit comments

Comments
 (0)