/* Shared fills for cards, tiles, rows, and pills, loaded by templates/layout.html.
   A component paints background: var(--fill); markup picks the color with one
   .fill-{name} class. The names are FILLS in tools/site_builder/palette.py, and
   tools/site_builder/skins.py checks that this list matches it exactly. */

.fill-canvas { --fill: var(--color-canvas); }
.fill-french { --fill: var(--color-french); }
.fill-spanish { --fill: var(--color-spanish); }
.fill-limestone { --fill: var(--color-limestone); }
.fill-sage { --fill: var(--color-sage); }
.fill-violet { --fill: var(--color-violet); }
.fill-ochre { --fill: var(--color-ochre); }
.fill-slate { --fill: var(--color-slate); }
.fill-sand { --fill: var(--color-sand); }

/* Diagonal arrow on a navigation card. Filled cards keep their fill on hover, so the
   arrow steps toward its destination instead. */
.nav-arrow {
  flex: none;
  width: var(--nav-icon-size);
  height: var(--nav-icon-size);
  color: var(--color-text);
  transition: transform 0.35s var(--ease-standard);
}

a:hover .nav-arrow,
a:focus-visible .nav-arrow {
  transform: translate(2px, -2px);
}
