release: v0.19.0
Release v0.19.0. See the `## [0.19.0] — 2026-09-29` section of [CHANGELOG.md](https://github.com/ralksta/immich-folio/blob/dev/CHANGELOG.md) for the full list. Highlights: client proofing links (#683), custom content pages (#738), asset picker search (#740), concurrent-edit detection (#742), env-locked settings (#739), an accessibility baseline (#741), three security fixes with advisories (#737, #755, #759), and a pre-release quality pass (#780–#797). --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: ralksta <ralksta@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Ralf <rohlenbo79@gmail.com> Co-authored-by: Paul Thies <110185070+ImScheinox@users.noreply.github.com> Co-authored-by: lancetm714 <108419425+lancetm714@users.noreply.github.com> Co-authored-by: Lance Martin <lancetaylor95@gmail.com>
This commit is contained in:
@@ -74,16 +74,32 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
width: 100%;
|
||||
padding: 0.6rem 0.75rem;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
background: none;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
transition: background 0.1s;
|
||||
}
|
||||
|
||||
.picker-item:hover:not(.used) {
|
||||
.picker-item:hover:not(.used),
|
||||
.picker-item:focus-visible {
|
||||
background: var(--admin-bg-elevated);
|
||||
}
|
||||
|
||||
.picker-item:focus-visible {
|
||||
outline: var(--admin-focus-ring);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
|
||||
.picker-item:focus-visible .picker-select-badge {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.picker-item.used {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
|
||||
@@ -106,25 +106,32 @@
|
||||
align-items: flex-end;
|
||||
background: var(--admin-bg-elevated);
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* --admin-primary never existed, so every bar fell back to a fixed blue;
|
||||
the accent is what the top-pages bars below use. */
|
||||
.bar-fill {
|
||||
width: 100%;
|
||||
background: var(--admin-primary, #3b82f6);
|
||||
border-radius: 6px 6px 0 0;
|
||||
background: var(--admin-accent);
|
||||
border-radius: 6px;
|
||||
transition: height 0.3s ease;
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Above the bar, not inside it: inside, a short bar cut its number in half
|
||||
and an empty day had nowhere to put its 0. The chart's padding-top leaves
|
||||
room above the tallest bar. */
|
||||
.bar-val {
|
||||
position: absolute;
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
margin-bottom: 3px;
|
||||
font-size: 0.65rem;
|
||||
font-weight: 600;
|
||||
color: #fff;
|
||||
margin-top: 4px;
|
||||
line-height: 1;
|
||||
color: var(--admin-text-secondary);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.bar-label {
|
||||
|
||||
@@ -20,15 +20,16 @@
|
||||
padding: 0.75rem;
|
||||
}
|
||||
|
||||
/* A warning, so --admin-warning: the accent is red under studio-modern. */
|
||||
.order-editor-notice {
|
||||
margin: 0 0 0.75rem;
|
||||
padding: 0.5rem 0.7rem;
|
||||
border-radius: 6px;
|
||||
font-size: 0.78rem;
|
||||
line-height: 1.4;
|
||||
color: var(--admin-accent);
|
||||
border: 1px solid rgba(245, 158, 11, 0.3);
|
||||
background: rgba(245, 158, 11, 0.05);
|
||||
color: var(--admin-warning);
|
||||
border: 1px solid color-mix(in srgb, var(--admin-warning) 30%, transparent);
|
||||
background: color-mix(in srgb, var(--admin-warning) 5%, transparent);
|
||||
}
|
||||
|
||||
.order-editor-section + .order-editor-section {
|
||||
@@ -91,15 +92,27 @@
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
/* A button, so the tail can be pinned from the keyboard. */
|
||||
.order-tile-unpinned {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.order-tile-unpinned:hover {
|
||||
.order-tile-unpinned:hover,
|
||||
.order-tile-unpinned:focus-visible {
|
||||
opacity: 1;
|
||||
border-color: var(--admin-border);
|
||||
}
|
||||
|
||||
.order-tile:focus-visible {
|
||||
outline: var(--admin-focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.order-tile-index {
|
||||
position: absolute;
|
||||
bottom: 4px;
|
||||
@@ -110,7 +123,7 @@
|
||||
font-size: 0.68rem;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
color: #000;
|
||||
color: var(--admin-on-accent);
|
||||
background: var(--admin-accent);
|
||||
}
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
background: var(--admin-accent);
|
||||
color: #000;
|
||||
color: var(--admin-on-accent);
|
||||
font-size: 0.7rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -167,3 +167,85 @@
|
||||
margin-top: 0.3rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* ── Search and multi-select (#602) ────────────────────────── */
|
||||
|
||||
.asset-picker-search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.6rem 1rem;
|
||||
border-bottom: 1px solid var(--admin-border);
|
||||
color: var(--admin-text-muted);
|
||||
}
|
||||
|
||||
.asset-picker-search-input {
|
||||
flex: 1;
|
||||
padding: 0.45rem 0.7rem;
|
||||
background: var(--admin-bg-input);
|
||||
border: 1px solid var(--admin-border);
|
||||
border-radius: 6px;
|
||||
color: var(--admin-text);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.asset-picker-search-input:focus-visible {
|
||||
outline: var(--admin-focus-ring);
|
||||
outline-offset: 1px;
|
||||
border-color: var(--admin-border-focus);
|
||||
}
|
||||
|
||||
/* Tiles are buttons now; reset what the browser gives a button. */
|
||||
button.asset-picker-tile {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.asset-picker-tile:focus-visible {
|
||||
outline: var(--admin-focus-ring);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.asset-picker-tile:disabled:not(.used) {
|
||||
opacity: 0.55;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.asset-picker-tile.selected {
|
||||
border-color: var(--admin-accent);
|
||||
box-shadow: 0 0 0 2px var(--admin-accent);
|
||||
}
|
||||
|
||||
.asset-picker-order-badge {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
padding: 0 6px;
|
||||
border-radius: 11px;
|
||||
background: var(--admin-accent);
|
||||
color: var(--admin-on-accent);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.asset-picker-selection {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.6rem 1rem;
|
||||
border-top: 1px solid var(--admin-border);
|
||||
font-size: 0.85rem;
|
||||
color: var(--admin-text-secondary);
|
||||
}
|
||||
|
||||
.asset-picker-selection > span {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ h3 .svg-icon {
|
||||
|
||||
.album-tile-btn:hover {
|
||||
background: var(--admin-accent);
|
||||
color: #000;
|
||||
color: var(--admin-on-accent);
|
||||
border-color: var(--admin-accent);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
padding: 0.1rem 0.5rem;
|
||||
border-radius: 999px;
|
||||
background: var(--admin-accent);
|
||||
color: #fff;
|
||||
color: var(--admin-on-accent);
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
92
app/admin/styles/proofing.css
Normal file
92
app/admin/styles/proofing.css
Normal file
@@ -0,0 +1,92 @@
|
||||
/* The client proofing view (Admin → Proofing). Builds on the analytics panels. */
|
||||
|
||||
.proofing-create-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 0 1rem;
|
||||
}
|
||||
|
||||
.proofing-card-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.proofing-card-title {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.proofing-card-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.proofing-card-body {
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.proofing-badge {
|
||||
font-size: 0.7rem;
|
||||
font-weight: 500;
|
||||
padding: 0.1rem 0.5rem;
|
||||
border-radius: 999px;
|
||||
border: 1px solid var(--admin-border);
|
||||
color: var(--admin-text-secondary);
|
||||
}
|
||||
|
||||
.proofing-badge--submitted {
|
||||
border-color: var(--admin-success);
|
||||
color: var(--admin-success);
|
||||
}
|
||||
|
||||
.proofing-badge--expired {
|
||||
border-color: var(--admin-warning);
|
||||
color: var(--admin-warning);
|
||||
}
|
||||
|
||||
.proofing-card--expired {
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.proofing-picks {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.proofing-pick {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.proofing-pick img {
|
||||
width: 100%;
|
||||
aspect-ratio: 1;
|
||||
object-fit: cover;
|
||||
border-radius: 4px;
|
||||
background: var(--admin-bg-input);
|
||||
}
|
||||
|
||||
.proofing-pick-name {
|
||||
font-size: 0.7rem;
|
||||
color: var(--admin-text-muted);
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
@@ -183,7 +183,7 @@
|
||||
padding: 0.05rem 0.4rem;
|
||||
border-radius: 999px;
|
||||
background: var(--admin-accent);
|
||||
color: #fff;
|
||||
color: var(--admin-on-accent);
|
||||
font-family: var(--admin-font-label);
|
||||
font-size: 0.68rem;
|
||||
text-align: center;
|
||||
@@ -214,17 +214,34 @@
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
/* In the sidebar foot the dropdown opens upwards and to the right. */
|
||||
/* In the sidebar foot the dropdown opens upwards, as wide as the foot. The
|
||||
sidebar scrolls (overflow-y: auto), which clips sideways too: a fixed 280px
|
||||
panel lost its values past the 232px column. */
|
||||
.admin-sidebar .status-dropdown {
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
left: 0;
|
||||
right: auto;
|
||||
right: 0;
|
||||
margin: 0 0 0.5rem;
|
||||
width: 280px;
|
||||
width: auto;
|
||||
border-radius: var(--admin-radius);
|
||||
}
|
||||
|
||||
.admin-sidebar .status-item {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.admin-sidebar .status-val {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* The collapsed sidebar does not clip (overflow: visible below), so the panel
|
||||
keeps its width and opens out of the 64px column. */
|
||||
.admin-app.is-collapsed .admin-sidebar .status-dropdown {
|
||||
right: auto;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
.admin-sidebar-actions {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -656,6 +673,7 @@
|
||||
|
||||
.confirm-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
margin-top: 1.4rem;
|
||||
@@ -836,6 +854,82 @@
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* Content pages in the structure list (#722): a document icon and a PAGE tag
|
||||
tell them apart from subpages at a glance. */
|
||||
.pb-row-tag {
|
||||
padding: 0 0.35rem;
|
||||
border-radius: 2px;
|
||||
background: var(--admin-bg-elevated);
|
||||
font-family: var(--admin-font-label);
|
||||
font-size: 0.58rem;
|
||||
letter-spacing: 0.12em;
|
||||
text-transform: uppercase;
|
||||
color: var(--admin-text-secondary);
|
||||
}
|
||||
|
||||
.pb-offmenu {
|
||||
min-height: 2.25rem;
|
||||
border-radius: var(--admin-radius);
|
||||
}
|
||||
|
||||
.pb-offmenu.is-over {
|
||||
outline: 1px dashed var(--admin-border-hover);
|
||||
}
|
||||
|
||||
.pb-offmenu .empty-hint {
|
||||
margin: 0;
|
||||
padding: 0.45rem 0.6rem;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.page-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
.page-panel .builder-section-header {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.page-panel textarea {
|
||||
width: 100%;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.page-panel-switches {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.page-panel-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.new-page-card {
|
||||
width: min(440px, 100%);
|
||||
}
|
||||
|
||||
.new-page-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.pb-add-row {
|
||||
display: flex;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.pb-add-row .pb-add {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.pb-add {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -868,6 +962,11 @@
|
||||
.subpage-drawer-container--inline {
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
/* The overlay sheet is 100dvh tall on a phone (subpage-sheet.css). In place,
|
||||
that height clipped everything past the first screen — album list, grid
|
||||
settings, Delete — and the footer slid over the password field. The
|
||||
sheet grows with its content and the page scrolls. */
|
||||
height: auto;
|
||||
border-radius: var(--admin-radius);
|
||||
box-shadow: none;
|
||||
animation: none;
|
||||
@@ -891,6 +990,11 @@
|
||||
position: static;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
/* Picking a row scrolls the stacked panel up (PageBuilder revealPanel). */
|
||||
.pb-panel {
|
||||
scroll-margin-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* A custom album title is marked by weight, not by the accent: red italics
|
||||
@@ -1324,3 +1428,34 @@
|
||||
min-height: 44px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ── Env-locked fields (#605) ──────────────────────────────── */
|
||||
|
||||
/* A field an environment variable overrides: the input is disabled and this
|
||||
note names the variable. Neutral pill, not the warning or accent colour —
|
||||
the lock is a fact about the deployment, not a problem. */
|
||||
.admin-env-lock {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 0.4rem;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.4;
|
||||
color: var(--admin-text-muted);
|
||||
}
|
||||
|
||||
.admin-env-lock-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
height: 20px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--admin-border-hover);
|
||||
border-radius: 999px;
|
||||
font-family: var(--admin-font-label);
|
||||
font-size: 0.62rem;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -27,8 +27,10 @@
|
||||
animation: save-bar-in 0.2s ease-out;
|
||||
}
|
||||
|
||||
/* Unsaved changes are a warning, never the accent: studio-modern makes the
|
||||
accent red, and the bar read as an error. */
|
||||
.floating-save-bar.dirty {
|
||||
border-color: var(--admin-accent);
|
||||
border-color: var(--admin-warning);
|
||||
}
|
||||
|
||||
/* Keyframes must carry the translateX(-50%) or the bar jumps horizontally. */
|
||||
@@ -47,7 +49,7 @@
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #ff9800;
|
||||
background: var(--admin-warning);
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
animation: pulse 1.5s infinite;
|
||||
@@ -56,15 +58,15 @@
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
transform: scale(0.95);
|
||||
box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
|
||||
box-shadow: 0 0 0 0 color-mix(in srgb, var(--admin-warning) 70%, transparent);
|
||||
}
|
||||
70% {
|
||||
transform: scale(1);
|
||||
box-shadow: 0 0 0 8px rgba(255, 152, 0, 0);
|
||||
box-shadow: 0 0 0 8px transparent;
|
||||
}
|
||||
100% {
|
||||
transform: scale(0.95);
|
||||
box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
|
||||
box-shadow: 0 0 0 0 transparent;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -269,6 +269,11 @@
|
||||
animation: pulse-red 1.5s infinite;
|
||||
}
|
||||
|
||||
/* The doctor found something worth a look, nothing broken: amber, still. */
|
||||
.status-badge-btn.warning .status-dot {
|
||||
background-color: var(--admin-warning);
|
||||
}
|
||||
|
||||
/* The diagnostics request itself did not run — deliberately not red, and not
|
||||
animated: an unanswered check is not a fault report. */
|
||||
.status-badge-btn.unknown .status-dot {
|
||||
@@ -640,6 +645,11 @@
|
||||
color: var(--admin-error);
|
||||
}
|
||||
|
||||
/* A consequence to know about, not an error: --admin-accent may be red (#722). */
|
||||
.admin-field-hint--warn {
|
||||
color: var(--admin-warning);
|
||||
}
|
||||
|
||||
/* A link out of a section header, e.g. to the page the section configures.
|
||||
It shows the saved state, not unsaved edits. */
|
||||
.settings-section-action {
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
font-size: 0.75rem;
|
||||
color: var(--admin-accent);
|
||||
color: var(--admin-warning);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
.hover-action-btn {
|
||||
font-size: 0.78rem;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
color: var(--admin-on-accent);
|
||||
background: var(--admin-accent, #e60012);
|
||||
padding: 0.4rem 0.85rem;
|
||||
border-radius: 20px;
|
||||
|
||||
@@ -18,8 +18,13 @@
|
||||
--admin-border-focus: #777777;
|
||||
--admin-text: #f0f0f0;
|
||||
--admin-text-secondary: #a0a0a0;
|
||||
--admin-text-muted: #707070;
|
||||
--admin-accent: #f59e0b;
|
||||
/* ≥4.6:1 on every admin surface (#0c0c0c–#222222); #707070 fell to 3.2:1. */
|
||||
--admin-text-muted: #8a8a8a;
|
||||
/* Not amber: that is --admin-warning, and with both the same every active
|
||||
marker and focus ring read as a warning. 7.7:1 on the background. */
|
||||
--admin-accent: #60a5fa;
|
||||
/* Text on an accent fill (counts, badges). */
|
||||
--admin-on-accent: #000000;
|
||||
/* Focus used to show only as a border colour change from #2e2e2e to
|
||||
#666666, a contrast of 2.37:1 where WCAG 1.4.11 asks for 3:1 against
|
||||
adjacent colours, so keyboard users could barely see where they were.
|
||||
@@ -53,8 +58,10 @@
|
||||
--admin-border-focus: #7f7f7f;
|
||||
--admin-text: #1a1a1a;
|
||||
--admin-text-secondary: #555555;
|
||||
--admin-text-muted: #888888;
|
||||
--admin-accent: #d97706;
|
||||
/* ≥4.6:1 on white and on #efefee; #888888 was 3.1–3.5:1. */
|
||||
--admin-text-muted: #6b6b6b;
|
||||
--admin-accent: #2563eb;
|
||||
--admin-on-accent: #ffffff;
|
||||
--admin-success: #16a34a;
|
||||
--admin-warning: #b45309;
|
||||
--admin-error: #dc2626;
|
||||
@@ -66,6 +73,20 @@
|
||||
--admin-overlay: rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
/* studio-modern restyles the admin in its preset file with a red accent and
|
||||
warm greys. Two of its values are corrected here, one step more specific
|
||||
(html) so the order the sheets load in does not matter: its muted text
|
||||
(#6b6b66 dark, #8a8a84 light) sat at 3.0–3.6:1, and text on its red reads
|
||||
better white (4.8:1) than black (4.4:1). */
|
||||
html[data-preset='studio-modern'] .admin-layout {
|
||||
--admin-text-muted: #8c8c86;
|
||||
--admin-on-accent: #ffffff;
|
||||
}
|
||||
|
||||
html[data-preset='studio-modern'][data-theme='light'] .admin-layout {
|
||||
--admin-text-muted: #6b6b66;
|
||||
}
|
||||
|
||||
.admin-layout {
|
||||
min-height: 100vh;
|
||||
background: var(--admin-bg);
|
||||
|
||||
Reference in New Issue
Block a user