v1.1.0 — Brand token adoption (teal header, Inter font)
Replace blue gradient header + focus states with teal brand tokens. Font → Inter. Dark mode teal scale.
This commit is contained in:
@@ -3,6 +3,11 @@
|
|||||||
All notable changes to Peptide Reconstitution Calculator are documented here.
|
All notable changes to Peptide Reconstitution Calculator are documented here.
|
||||||
Format: [Semantic Versioning](https://semver.org/).
|
Format: [Semantic Versioning](https://semver.org/).
|
||||||
|
|
||||||
|
## [1.1.0] — 2026-04-26
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- `assets/css/calculator.css`: adopted brand tokens — header gradient → teal (was blue), focus states → teal, results panel → teal-50, font → Inter; dark mode updated to teal scale
|
||||||
|
|
||||||
## [1.0.0] — 2026-04-17
|
## [1.0.0] — 2026-04-17
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
.prc-calculator {
|
.prc-calculator {
|
||||||
max-width: 640px;
|
max-width: 640px;
|
||||||
margin: 2rem auto;
|
margin: 2rem auto;
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
|
font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||||
border: 1px solid #e2e8f0;
|
border: 1px solid #e2e8f0;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
.prc-calculator__header {
|
.prc-calculator__header {
|
||||||
padding: 1.25rem 1.5rem;
|
padding: 1.25rem 1.5rem;
|
||||||
background: linear-gradient(135deg, #1e40af, #3b82f6);
|
background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
|
|
||||||
.prc-field__input:focus {
|
.prc-field__input:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: #3b82f6;
|
border-color: var(--teal-500);
|
||||||
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
|
box-shadow: 0 0 0 3px rgba(27, 138, 146, 0.15);
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
.prc-results {
|
.prc-results {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
border-top: 1px solid #e5e7eb;
|
border-top: 1px solid #e5e7eb;
|
||||||
background: #f0f9ff;
|
background: var(--teal-50);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-results--hidden {
|
.prc-results--hidden {
|
||||||
@@ -137,7 +137,7 @@
|
|||||||
margin: 0 0 1rem 0;
|
margin: 0 0 1rem 0;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #1e40af;
|
color: var(--teal-700);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-results__grid {
|
.prc-results__grid {
|
||||||
@@ -158,8 +158,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card--primary {
|
.prc-result-card--primary {
|
||||||
border-color: #3b82f6;
|
border-color: var(--teal-500);
|
||||||
background: #eff6ff;
|
background: var(--teal-50);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card__value {
|
.prc-result-card__value {
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card--primary .prc-result-card__value {
|
.prc-result-card--primary .prc-result-card__value {
|
||||||
color: #1e40af;
|
color: var(--teal-700);
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prc-calculator__header {
|
.prc-calculator__header {
|
||||||
background: linear-gradient(135deg, #1e3a8a, #2563eb);
|
background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-field__label {
|
.prc-field__label {
|
||||||
@@ -223,8 +223,8 @@
|
|||||||
|
|
||||||
.prc-field__input:focus {
|
.prc-field__input:focus {
|
||||||
background: #1f2937;
|
background: #1f2937;
|
||||||
border-color: #60a5fa;
|
border-color: var(--teal-400);
|
||||||
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
|
box-shadow: 0 0 0 3px rgba(27, 138, 146, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-field__unit,
|
.prc-field__unit,
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prc-results__title {
|
.prc-results__title {
|
||||||
color: #60a5fa;
|
color: var(--teal-400);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card {
|
.prc-result-card {
|
||||||
@@ -251,8 +251,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card--primary {
|
.prc-result-card--primary {
|
||||||
background: #172554;
|
background: var(--teal-900);
|
||||||
border-color: #2563eb;
|
border-color: var(--teal-600);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card__value {
|
.prc-result-card__value {
|
||||||
@@ -260,7 +260,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card--primary .prc-result-card__value {
|
.prc-result-card--primary .prc-result-card__value {
|
||||||
color: #93c5fd;
|
color: var(--teal-300);
|
||||||
}
|
}
|
||||||
|
|
||||||
.prc-result-card__label {
|
.prc-result-card__label {
|
||||||
|
|||||||
Reference in New Issue
Block a user