Skip to content

The IDE you know, rebuilt in Rust. IntelliJ IDEA–style keymap, tool windows and search-everywhere in a fast native app: editor, code insight, debugger, Git, terminal, database and HTTP clients for 60+ languages.

651 B
Raw Blame
/* Editor gutter color swatches. */
.gutter :global(.cm-gutterElement) {
  display: flex;
  align-items: center;
  justify-content: center;
}
.swatch {
  width: 12px;
  height: 12px;
  box-sizing: border-box;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-small);
  overflow: hidden;
}
.swatch > span {
  display: block;
  width: 100%;
  height: 100%;
}
.editable {
  cursor: pointer;
}
.editable:hover {
  border-color: var(--fg-muted);
}
/* The native color input only anchors the system picker. */
.picker {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}