Skip to content

Commit ead230f

Browse files
committed
update btn component
1 parent 47dbe9a commit ead230f

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/sections/programme.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ const placeholders = Array.from({ length: placeholderCount }, (_, i) => ({
217217
border-radius: 2px;
218218
color: var(--color-section-bg, #080f1a);
219219
background: var(--color-accent, #f0c040);
220-
font-size: 0.9rem;
220+
font-size: 1rem;
221221
font-weight: 700;
222222
text-decoration: none;
223223
transition: opacity 0.2s;
@@ -318,7 +318,7 @@ const placeholders = Array.from({ length: placeholderCount }, (_, i) => ({
318318
border: 1px solid var(--event-color);
319319
border-radius: 2px;
320320
color: var(--event-color);
321-
font-size: 0.9rem;
321+
font-size: 1rem;
322322
text-decoration: none;
323323
transition: opacity 0.2s;
324324
background: transparent;

src/components/sections/updates/updates.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ const cards = await Promise.all(
106106
border: 1px solid var(--color-accent, #f0c040);
107107
border-radius: 2px;
108108
font-weight: 700;
109-
font-size: 0.9rem;
109+
font-size: 1rem;
110110
text-decoration: none;
111111
transition: opacity 0.2s ease;
112112
}

src/components/ui/Button.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ const {
2323
2424
const resolvedIsExternal = isExternal ?? url?.startsWith("http");
2525
26-
const baseClasses = "button-link font-bold text-base px-8 py-3 rounded-sm inline-flex items-center justify-center leading-4 transition-colors duration-200 not-prose border";
27-
const primaryClasses = "bg-button text-button-text hover:bg-button-hover border-transparent";
26+
const baseClasses = "button-link font-bold text-base px-8 py-3 rounded-sm inline-flex items-center justify-center leading-6 transition-colors duration-200 not-prose border";
27+
const primaryClasses = "bg-button text-button-text hover:bg-button-hover border-button";
2828
const secondaryClasses = "bg-primary text-white hover:bg-primary-hover border-transparent";
2929
const clearClasses = "bg-transparent text-primary hover:bg-transparent hover:text-text-inverted border-transparent";
3030
const outlineClasses = "border-gray-500 text-gray-700 hover:bg-gray-100 hover:bg-button-hover";

0 commit comments

Comments
 (0)