diff --git a/src/_components/grid.vto b/src/_components/grid.vto index 805de6e8..6f58d6d2 100644 --- a/src/_components/grid.vto +++ b/src/_components/grid.vto @@ -38,7 +38,7 @@ >
{{ if item.kind === "prelude" }} diff --git a/src/build.vto b/src/build.vto index fd5191c7..f114ad70 100644 --- a/src/build.vto +++ b/src/build.vto @@ -109,6 +109,7 @@ examples: While you have the ability to do whatever you want in a custom facet, the existing facets are designed to work a certain way; so here's some things to keep in mind:

diff --git a/src/common/pages/dashboard.js b/src/common/pages/dashboard.js index 2154df00..29ffc812 100644 --- a/src/common/pages/dashboard.js +++ b/src/common/pages/dashboard.js @@ -185,7 +185,7 @@ function _renderList(output, listEl) {
  • ${title} diff --git a/src/styles/diffuse/page.css b/src/styles/diffuse/page.css index 07351a98..f861bcd1 100644 --- a/src/styles/diffuse/page.css +++ b/src/styles/diffuse/page.css @@ -307,8 +307,18 @@ textarea { padding: var(--space-md); position: relative; + --grid-item-gradient-opacity: 0.125; + + @media (prefers-color-scheme: dark) { + --grid-item-gradient-opacity: 0.075; + } + &::before { - background: var(--grid-item-gradient, none); + background: linear-gradient( + to bottom, + oklch(from var(--grid-item-color, transparent) l c h / var(--grid-item-gradient-opacity)), + transparent 65% + ); content: ""; inset: 0; pointer-events: none;