Skip to content

Releases: streamich/code-colors-react

v3.3.0

07 Dec 16:44
Compare
Choose a tag to compare

3.3.0 (2024-12-07)

Features

  • 🎸 remove bold class decorations and make red bg lighter (e389fc4)

v3.2.1

10 Oct 10:10
Compare
Choose a tag to compare

3.2.1 (2024-10-10)

Bug Fixes

  • πŸ› bump dependencies (ac869a3)

v3.2.0

30 May 21:17
Compare
Choose a tag to compare

3.2.0 (2024-05-30)

Features

  • 🎸 add squiggly underline to "debugger" (b633dff)
  • bump code-colors dependency (c40348a)

v3.1.0

27 May 20:06
Compare
Choose a tag to compare

3.1.0 (2024-05-27)

Bug Fixes

  • πŸ› bump code-colors (8b63ae4)
  • πŸ› bump code-colors (ae4d6fc)

Features

  • 🎸 add a light-weight way to decorate tokens (cc5d210)
  • 🎸 add default styling (1a7d9fa)
  • 🎸 add theming support to (ad8ced4)
  • 🎸 cleanup styling (5add555)
  • 🎸 cleanup theme (3fc7fdb)
  • 🎸 create component (8289d50)
  • 🎸 do not underline template string punctuation (d9dc595)
  • 🎸 improve color palette (a4af02f)
  • 🎸 improve generated markup (0efc3a7)
  • 🎸 improve highlighting colors (ec0783f)
  • 🎸 improve React component (df4be2d)
  • 🎸 improve styling (8675c64)
  • 🎸 make red squiggly semi transparent (9925544)
  • 🎸 progress on color theme (1a0025d)
  • 🎸 provide language to the decorator (6ddd3ba)
  • 🎸 render red squigglies under banned keywords (74e5567)
  • 🎸 tweak colors (cea75f9)

v3.0.0

25 May 08:26
Compare
Choose a tag to compare

3.0.0 (2024-05-25)

Features

  • 🎸 bump another major (e3a6c62)

BREAKING CHANGES

  • 🧨 bump another major

v1.0.0

25 May 08:09
Compare
Choose a tag to compare

1.0.0 (2024-05-25)

Bug Fixes

  • πŸ› avoid React list keys (dae75ee)
  • πŸ› bump code-colors (30af478)
  • πŸ› bump code-colors dependency (07ecae8)
  • πŸ› make "as" prop optional (ef217f4)
  • πŸ› use correct tokenization method (12176ae)

Features

  • 🎸 allow to pass through element attributes (7a7efd4)
  • 🎸 bump code-colors dependency (5951d11)
  • 🎸 implement coloring React components (b190e34)
  • 🎸 improve highlighting rendering (9c1da1d)
  • 🎸 make WebWorker work (d2fcc63)
  • 🎸 merge [className] props and remove trailing spaces (3f178b9)
  • 🎸 recursively render nodes (86f9726)
  • 🎸 update React component generation (7298ea9)
  • 🎸 use code-colors- CSS prefix (986798a)

BREAKING CHANGES

  • 🧨 release major

Initial release

02 Jul 19:11
Compare
Choose a tag to compare

Installation

npm i code-colors-react

Usage

import {ColorTokens} from 'code-colors-react';

<pre>
  <ColorTokens code={"console.log('hello world');"} lang={'js'} />
</pre>