Skip to content

Commit

Permalink
Merge branch 'main' into MattIPv4/use-dedicated-ext-api
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 authored Feb 19, 2025
2 parents 9c8cc63 + ad54d7c commit d9f1ff4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/AmbassadorButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function AmbassadorButton(props: AmbassadorButtonProps) {
return (
<button
className={classes(
"flex shrink-0 flex-col items-center justify-start rounded-lg bg-alveus-green text-center shadow-lg outline-highlight transition-[outline,filter] hover:outline hover:brightness-125 focus:outline",
"flex shrink-0 flex-col items-center justify-start rounded-lg bg-alveus-green text-center shadow-lg outline-highlight transition-[outline,filter] hover:outline-3 hover:brightness-125 focus:outline-3",
className,
)}
id={ambassadorKey}
Expand Down
2 changes: 1 addition & 1 deletion src/components/AmbassadorCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export default function AmbassadorCard(props: AmbassadorCardProps) {
<h3 className={headingClass}>Conservation Status</h3>
<IconInfo
size={20}
className="rounded-full text-alveus-green-400 outline-highlight transition-[outline] hover:outline"
className="rounded-full text-alveus-green-400 outline-highlight transition-[outline] hover:outline-3"
/>
</div>
</Tooltip>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/overlay/components/Buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export default function Buttons<T extends ButtonsOptions = ButtonsOptions>(
<button
onClick={option.onClick}
className={classes(
"flex cursor-pointer items-center justify-center rounded-lg bg-alveus-green p-2 shadow-sm outline-highlight transition-[outline,filter] hover:outline hover:brightness-125 focus:outline",
"flex cursor-pointer items-center justify-center rounded-lg bg-alveus-green p-2 shadow-sm outline-highlight transition-[outline,filter] hover:outline-3 hover:brightness-125 focus:outline-3",
option.type === "primary" ? "h-16 w-16" : "h-12 w-12",
option.active && "outline",
option.active && "outline-3",
// If the previous type is not the same, add a margin
idx > 0 &&
optionsWithOnClick[idx - 1].type !== option.type &&
Expand Down
2 changes: 1 addition & 1 deletion src/pages/overlay/components/Toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Toggle(props: ToggleProps) {
<span className="relative">
<input
type="checkbox"
className="peer block h-6 w-6 cursor-pointer appearance-none rounded-lg border-none bg-alveus-tan-100 outline-highlight transition-[outline] group-focus-within:outline group-hover:outline checked:bg-alveus-tan-200"
className="peer block h-6 w-6 cursor-pointer appearance-none rounded-lg border-none bg-alveus-tan-100 outline-highlight transition-[outline] group-focus-within:outline-3 group-hover:outline-3 checked:bg-alveus-tan-200"
onChange={onChangeNative}
checked={value}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/overlay/components/overlay/Ambassadors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default function Ambassadors(props: OverlayOptionProps) {
}}
className={classes(
"w-full",
activeAmbassador.key === key && "outline outline-highlight",
activeAmbassador.key === key && "outline-3 outline-highlight",
)}
/>
))}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/panel/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function Nav() {
>
<IconInfo
size={20}
className="rounded-full outline-highlight transition-[outline] group-hover:outline"
className="rounded-full outline-highlight transition-[outline] group-hover:outline-3"
/>
</button>

Expand Down

0 comments on commit d9f1ff4

Please sign in to comment.