#15381·bokeh

Add a way to give more feedback to users about custom CSS definitions validity

Author: dalthvizCreated Aug 27, 2026Updated Aug 27, 2026
LabelsTRIAGE

Given the complexity of this CSS, it would be nice to figure out how we can bring some feedback to the user at least about its syntax validity and preferably more, e.g. auto prefixing. I know that libraries exist in the broad vDOM ecosystem that utilize

typescript
const stylesheet = css`
  select:open {
     &:not([multiple]), &:not([size]) {
       &.bk-input {
         height: auto;
         appearance: none;
         -webkit-appearance: none;
         background-image: var(--bokeh-icon-chevron-up);
         background-position: right 0.5em center;
         background-size: 16px 16px;
         background-repeat: no-repeat;
         padding-right: calc(var(--padding-horizontal) + 8px);
       }
    }
 }
`

syntax and even provide IDE extensions for syntax highlighting. That's of course would be a topic for a separate issue to explore.

Originally posted by @mattpap in https://github.com/bokeh/bokeh/issues/15307#issuecomment-5190261102