Skip to content

Commit

Permalink
fix: wrong colors
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenbupe committed Aug 17, 2024
1 parent 2029fba commit cdecbdf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/ExpandableHoloJobCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function ExpandableHoloJobCards({
<motion.div
layoutId={`card-${active.id}-${id}`}
ref={ref}
className="relative w-full max-w-[500px] flex flex-col h-full md:h-fit md:max-h-[90%] flex flex-col bg-card/90 sm:rounded-[48px] overflow-hidden sm:border sm:outline outline-[1px] outline-card"
className="relative w-full max-w-[500px] flex flex-col h-full md:h-fit md:max-h-[90%] flex flex-col bg-card/90 sm:rounded-[48px] overflow-hidden sm:border sm:outline outline-[1px] outline-black"
>
{animation}
<motion.button
Expand All @@ -79,7 +79,7 @@ export function ExpandableHoloJobCards({
duration: 0.05,
},
}}
className="flex absolute top-6 left-6 items-center justify-center bg-card rounded-full h-6 w-6 outline outline-[1px] outline-card border"
className="flex absolute top-6 left-6 items-center justify-center bg-card rounded-full h-6 w-6 outline outline-[1px] outline-black border"
onClick={() => setActive(null)}
>
<CloseIcon />
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const links = [
>
<header
class={cn(
"border border-t-transparent border-x-transparent outline outline-[1px] outline-card mx-0 [mask-image:linear-gradient(to_right,transparent,black_40px,black_calc(100%_-_40px),transparent)]",
"border border-t-transparent border-x-transparent outline outline-[1px] outline-black mx-0 [mask-image:linear-gradient(to_right,transparent,black_40px,black_calc(100%_-_40px),transparent)]",
"transition-all duration-300 ease-in-out rounded-2xl rounded-t-none rounded-l-none rounded-r-none p-3 px-6 md:px-10 self-stretch backdrop-filter backdrop-blur-lg"
)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/HoloCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const HoloCard = ({
}
}}
>
<div className="h-full grid will-change-transform origin-center transition-transform duration-[var(--duration)] ease-[var(--easing)] delay-[var(--delay)] [transform:rotateY(var(--r-x))_rotateX(var(--r-y))] rounded-[var(--radius)] border outline outline-[1px] outline-card hover:[--opacity:0.6] hover:[--duration:200ms] hover:[--easing:linear] hover:filter-none overflow-hidden opacity-95 hover:opacity-100">
<div className="h-full grid will-change-transform origin-center transition-transform duration-[var(--duration)] ease-[var(--easing)] delay-[var(--delay)] [transform:rotateY(var(--r-x))_rotateX(var(--r-y))] rounded-[var(--radius)] border outline outline-[1px] outline-black hover:[--opacity:0.6] hover:[--duration:200ms] hover:[--easing:linear] hover:filter-none overflow-hidden opacity-95 hover:opacity-100">
<div className="w-full h-full grid [grid-area:1/1] mix-blend-soft-light [clip-path:inset(0_0_0_0_round_var(--radius))]">
<div className={cn("h-full w-full bg-card", className)}>
{children}
Expand Down
4 changes: 2 additions & 2 deletions src/sections/About.astro
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ import nameToSpeech from "../assets/name-to-speech.mp3";
].map((item) => (
<li class="relative group text-primary mt-2 ml-2 flex items-center">
<Icon
name="tabler:chevron-right"
name="tabler:arrow-right"
class="absolute left-0 transform -translate-x-4 opacity-0 group-hover:opacity-100 group-hover:translate-x-0 transition-all duration-300 ease-out"
/>
<Icon
name="tabler:chevron-right"
name="tabler:arrow-right"
class="inline opacity-100 group-hover:opacity-0 group-hover:translate-x-8 transition-all duration-300"
/>
<span class="ml-2">{item}</span>
Expand Down

0 comments on commit cdecbdf

Please sign in to comment.