VS Code Extensions
C

csslit

by csslit

VS Code support for csslit.

Downloads

1

Rating

(0)

Version

0.0.6

Last updated

Jul 20, 2026

CSS syntax highlighting, completions, and hovers inside csslit tagged template literals.

import { css } from "csslit";

const button = css`
  color: white;
  background: rebeccapurple;

  &:hover {
    background: indigo;
  }
`;

css.global`
  body {
    margin: 0;
  }
`;

Highlighting works in JavaScript, JSX, TypeScript, TSX, HTML scripts, Angular, Astro, Marko, MDX, Svelte, Vue, and TSRX. Completions and hovers work in JavaScript, TypeScript, and TSRX files.

Source and issues: github.com/csslit/csslit

Related extensions