Skip to content

Conversation

@akshayka
Copy link
Contributor

@akshayka akshayka commented Jan 6, 2026

This PR lightens shadows throughout the notebook to reduce distraction:

  • Cells in a default status do not have shadows
  • All shadow changes on cell hover are removed

Additionally:

  • Cell movement on hover is removed, eliminating the "pop-out" effect
  • A stale (yellow) border is added to cells that need to be run, to make their status more visible
  • The "Add Cell" component at the bottom of the Cell Array is changed to use solid shadows, for consistency
  • The shadow on the footer bar is removed
* shadow when focus within
* stale border color to needs-run cells (instead of no border)
* solid shadow to AddCellButton at bottom of cell array for consistency
@vercel
Copy link

vercel bot commented Jan 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
marimo-docs Ready Ready Preview, Comment Jan 6, 2026 5:28pm
Copy link
Contributor

@Light2Dark Light2Dark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would also add this to show an 'errored shadow colour instead

  &.has-error:focus-within {
    @apply shadow-md-solid shadow-error/10;
  }
/* biome-ignore format: definition needs to be oneline or breaks variants */
--shadow-sm-solid-shade: 2px 2px 0px 0px var(--base-shadow), 0px 0px 2px 0px hsl(0deg 0% 50% / 20%);
/* biome-ignore format: definition needs to be oneline or breaks variants */
--shadow-md-solid-shade: 4px 4px 0px 0px var(--base-shadow), 0 0px 2px 0px hsl(0deg 0% 60% / 50%);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be nice to reduce the variant of shadows but if thats not possible, thats ok

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could probably get rid of some of the other ones but I didn't do a pass. This is what we use for the Cell shadows

@akshayka akshayka marked this pull request as ready for review January 6, 2026 17:27
@akshayka akshayka requested a review from manzt as a code owner January 6, 2026 17:27
@mscolnick mscolnick added the enhancement New feature or request label Jan 6, 2026
@mscolnick mscolnick merged commit ef00ec6 into main Jan 6, 2026
32 of 33 checks passed
@mscolnick mscolnick deleted the aka/no-ambient-shadows branch January 6, 2026 18:06
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.18.5-dev147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

4 participants