Skip to content

Commit ac32f61

Browse files
committed
client: slight touches
1 parent a2b2c3c commit ac32f61

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

client/src/components/layout/Header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const Header = () => {
1212
<div className="border-t border-gh-border pt-2">
1313
<h1 className="text-xl text-gh-text">Create your tech-stack card</h1>
1414
<p className="text-[.8rem] text-gh-text-secondary">
15-
Create your Tech Stack card in a few easy steps using our{" "}
16-
<span className="font-semibold text-gh-lime">options wizard</span>!
15+
Create your Tech Stack card in a{" "}
16+
<span className="font-semibold text-gh-lime">few easy steps</span>!
1717
</p>
1818
</div>
1919
</div>

client/src/components/ui/ColorInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const ColorInput = forwardRef<HTMLInputElement, ColorInputProps>(
5959

6060
<div
6161
className={cn(
62-
"color-input absolute right-0 top-[-630%] z-30 flex translate-x-[77%] flex-col gap-1 overflow-hidden rounded-md border border-gh-border bg-gh-bg shadow-md transition-all duration-150",
62+
"color-input absolute right-0 top-[-630%] z-30 flex translate-x-[77%] flex-col gap-1 overflow-hidden rounded-md border border-gh-border bg-gh-bg shadow-popup transition-all duration-150",
6363
isPickerActive
6464
? "pointer-events-auto opacity-100"
6565
: "pointer-events-none opacity-0"

client/src/components/ui/FormWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const FormWrapper = ({ title, children, className, ...props }: Props) => {
2828
e.currentTarget.reportValidity();
2929
nextPage();
3030
}}
31-
className="h-full w-full rounded-md border border-gh-border"
31+
className="h-full w-full rounded-md border border-gh-border shadow-card"
3232
{...props}
3333
>
3434
<div className="flex select-none items-center gap-4 rounded-tl-md rounded-tr-md border-b border-gh-border bg-gh-bg-secondary px-4 py-3 leading-none">

client/src/components/ui/PopupContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const PopupContainer = ({ isOpen, closePopup, children }: Props) => {
2222

2323
<div
2424
className={cn(
25-
"fixed left-1/2 top-1/2 z-50 flex w-96 -translate-x-1/2 -translate-y-1/2 flex-col gap-2 overflow-hidden rounded-md border border-gh-border bg-gh-bg shadow-sm transition-all duration-150",
25+
"fixed left-1/2 top-1/2 z-50 flex w-96 -translate-x-1/2 -translate-y-1/2 flex-col gap-2 overflow-hidden rounded-md border border-gh-border bg-gh-bg shadow-popup transition-all duration-150",
2626
isOpen
2727
? "pointer-events-auto scale-100 select-auto opacity-100"
2828
: "pointer-events-none scale-50 select-none opacity-0"

client/src/components/ui/Select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ const Select: FC<SelectProps> = ({
7878

7979
<div
8080
className={cn(
81-
"absolute left-0 top-10 border border-gh-border bg-gh-bg-secondary",
82-
"z-50 w-full overflow-hidden rounded-md shadow-md transition-all duration-100",
81+
"absolute left-0 top-10 border border-gh-border bg-gh-bg-secondary shadow-popup",
82+
"z-50 w-full overflow-hidden rounded-md transition-all duration-100",
8383
isActive
8484
? "pointer-events-auto opacity-100"
8585
: "pointer-events-none opacity-0"

client/tailwind.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ export default {
3636
segoe: ["Segoe UI", "Tahoma", "Geneva", "Verdana", "sans-serif"],
3737
dejavu: ["DejaVu Sans", "sans-serif"],
3838
},
39+
boxShadow: {
40+
popup: "0 2px 10px rgba(0,0,0,.5)",
41+
card: "1px 3px 10px rgba(0,0,0,.25)",
42+
},
3943
},
4044
},
4145
plugins: [],

0 commit comments

Comments
 (0)