Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/components/badge/Badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
align-items: center;
padding: 4px 8px;
border-radius: 4px;
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
white-space: nowrap;
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/button/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
gap: 8px;
border: 1px solid transparent;
border-radius: 8px;
font: 500 14px var(--font-ui);
font: 500 0.875rem var(--font-ui);
cursor: pointer;
transition: filter 0.15s;
}
Expand Down Expand Up @@ -33,7 +33,7 @@
.button--s {
height: 36px;
padding: 0 14px;
font-size: 13px;
font-size: 0.8125rem;
}

/* Type */
Expand Down Expand Up @@ -61,6 +61,6 @@
/* Liten teller, f.eks. «Min lapp 08» */
.button__count {
font-family: var(--font-mono);
font-size: 12px;
font-size: 0.75rem;
opacity: 0.8;
}
6 changes: 3 additions & 3 deletions frontend/src/components/categoryCard/CategoryCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
.category-card__top {
display: flex;
justify-content: space-between;
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-muted);
Expand All @@ -44,7 +44,7 @@

.category-card__name {
display: block;
font-size: 20px;
font-size: 1.25rem;
font-weight: 500;
letter-spacing: -0.02em;
color: var(--text-primary);
Expand All @@ -53,7 +53,7 @@
.category-card__description {
display: block;
margin-top: 4px;
font-size: 13px;
font-size: 0.8125rem;
color: var(--text-secondary);
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/filterChip/FilterChip.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
border-radius: 4px;
background: var(--bg-tint);
color: var(--text-brand);
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
cursor: pointer;
Expand All @@ -21,7 +21,7 @@
}

.filter-chip__close {
font: 400 14px var(--font-ui);
font: 400 0.875rem var(--font-ui);
line-height: 1;
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/filterRow/FilterRow.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@

.filter-row__name {
flex: 1;
font: 400 14px var(--font-ui);
font: 400 0.875rem var(--font-ui);
color: var(--text-primary);
}

.filter-row__count {
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
color: var(--text-muted);
}
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/header/Header.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}

.header__link {
font: 500 11px var(--font-mono);
font: 500 0.6875rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;

Expand Down Expand Up @@ -141,7 +141,7 @@

.header__logo .logo {
gap: 5px;
font-size: 13px;
font-size: 0.8125rem;
}

.header__logo .logo__icon {
Expand All @@ -154,7 +154,7 @@
}

.header__list-button {
font-size: 10px;
font-size: 0.625rem;
padding-left: 7px;
padding-right: 7px;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/logo/Logo.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
display: inline-flex;
align-items: center;
gap: 12px;
font: 600 18px var(--font-ui);
font: 600 1.125rem var(--font-ui);
letter-spacing: -0.02em;
color: var(--text-primary);
text-decoration: none;
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/components/navigationMenu/NavigationMenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
border-radius: 6px;
background: transparent;
color: var(--text-primary);
font-size: 28px;
font-size: 1.75rem;
cursor: pointer;
}

Expand All @@ -64,7 +64,7 @@
.navigation-menu__eyebrow {
margin: 0 0 12px;
color: var(--text-accent);
font: 500 11px var(--font-mono);
font: 500 0.6875rem var(--font-mono);
letter-spacing: 0.06em;
}

Expand All @@ -83,7 +83,7 @@
min-height: 44px;
padding: 0 10px;
border-radius: 6px;
font: 500 13px var(--font-ui);
font: 500 0.8125rem var(--font-ui);
text-decoration: none;
color: var(--text-primary);
}
Expand All @@ -96,7 +96,7 @@
.navigation-menu__links a span:first-child,
.navigation-menu__unavailable span:first-child {
color: var(--text-accent);
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
}

.navigation-menu__links a span:last-child {
Expand All @@ -109,7 +109,7 @@
}

.navigation-menu__unavailable span:last-child {
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
color: var(--text-muted);
}

Expand All @@ -126,12 +126,12 @@
margin-top: auto;
padding: 20px 10px 0;
color: var(--text-accent);
font: 500 12px var(--font-mono);
font: 500 0.75rem var(--font-mono);
}

.navigation-menu__footer span {
color: var(--text-muted);
font-size: 10px;
font-size: 0.625rem;
}

@media (max-width: 600px) {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/noteItem/NoteItem.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

.note-item__name {
flex: 1;
font-size: 19px;
font-size: 1.1875rem;
color: var(--note-ink);
}

.note-item__count {
font-size: 17px;
font-size: 1.0625rem;
color: var(--text-secondary);
}

Expand Down
8 changes: 4 additions & 4 deletions frontend/src/components/priceRow/PriceRow.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,25 @@
}

.price-row__number {
font: 700 10px var(--font-mono);
font: 700 0.625rem var(--font-mono);
color: var(--text-accent);
}

.price-row__store {
font: 500 13px var(--font-ui);
font: 500 0.8125rem var(--font-ui);
color: var(--text-primary);
}

.price-row__difference {
justify-self: end;
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
color: var(--text-muted);
white-space: nowrap;
}

.price-row__price {
font: 600 13px var(--font-ui);
font: 600 0.8125rem var(--font-ui);
color: var(--text-primary);
text-align: right;
white-space: nowrap;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/quantityStepper/QuantityStepper.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
border: none;
background: none;
color: var(--text-muted);
font: 400 14px var(--font-ui);
font: 400 0.875rem var(--font-ui);
cursor: pointer;
}

Expand All @@ -26,7 +26,7 @@
.quantity-stepper__value {
min-width: 1ch;
text-align: center;
font: 500 11px var(--font-mono);
font: 500 0.6875rem var(--font-mono);
color: var(--text-primary);
}

Expand Down
14 changes: 7 additions & 7 deletions frontend/src/components/resultRow/ResultRow.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
.result-row--header {
padding: 12px 0;
border-bottom-color: var(--border-strong);
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-muted);
Expand All @@ -23,7 +23,7 @@
.result-row__number,
.result-row__price-per-kg,
.result-row__chain {
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--text-muted);
Expand All @@ -44,13 +44,13 @@
}

.result-row__name {
font: 500 16px var(--font-ui);
font: 500 1rem var(--font-ui);
letter-spacing: -0.01em;
color: var(--text-primary);
}

.result-row__details {
font: 500 9px var(--font-mono);
font: 500 0.5625rem var(--font-mono);
letter-spacing: 0.03em;
text-transform: uppercase;
color: var(--text-muted);
Expand All @@ -63,7 +63,7 @@
}

.result-row__price {
font: 500 18px var(--font-ui);
font: 500 1.125rem var(--font-ui);
letter-spacing: -0.02em;
color: var(--text-primary);
}
Expand All @@ -90,7 +90,7 @@
background: var(--bg-tint);
border-radius: 8px;
color: var(--text-brand);
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
}
Expand All @@ -100,7 +100,7 @@
border: none;
background: none;
color: inherit;
font: 500 16px var(--font-ui);
font: 500 1rem var(--font-ui);
cursor: pointer;
}

Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/searchfield/Searchfield.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
min-width: 0;
border: none;
background: transparent;
font: 400 14px var(--font-ui);
font: 400 0.875rem var(--font-ui);
color: var(--text-primary);
outline: none;
}
Expand All @@ -68,7 +68,7 @@
padding: 2px 6px;
border: 1px solid var(--border-hairline);
border-radius: 4px;
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
color: var(--text-muted);
}

Expand All @@ -82,5 +82,5 @@
}

.search-field--large .search-field__input {
font-size: 17px;
font-size: 1.0625rem;
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
border-radius: 6px;
background: transparent;
color: var(--text-secondary);
font: 500 10px var(--font-mono);
font: 500 0.625rem var(--font-mono);
letter-spacing: 0.06em;
text-transform: uppercase;
cursor: pointer;
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/components/shoppingListRow/ShoppingListRow.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@
}

.shopping-list-row__item {
font-size: 25px;
font-size: 1.5625rem;
color: var(--note-ink);
}

.shopping-list-row__note {
font-size: 16px;
font-size: 1rem;
color: var(--text-secondary);
}

.shopping-list-row__price {
width: 84px;
text-align: right;
font: 500 11px var(--font-mono);
font: 500 0.6875rem var(--font-mono);
letter-spacing: 0.06em;
color: var(--text-primary);
text-transform: uppercase;
Expand All @@ -47,7 +47,7 @@
border: none;
background: none;
color: var(--text-muted);
font: 500 16px var(--font-ui);
font: 500 1rem var(--font-ui);
cursor: pointer;
}

Expand Down
Loading