react-syntax-highlighter-catppuccin

0.0.4 • Public • Published

React Syntax highlighter cattpuccin

NPM License NPM Version

Catppuccin themes for React syntax highlighter.

Getting started

Install react-syntax-highlighter-catppuccin with your preferred package-manager.

pnpm i -D react-syntax-highlighter-catppuccin

After import your preferred theme.

import latte from 'react-syntax-highlighter-catppuccin/latte';
import macchiato from 'react-syntax-highlighter-catppuccin/macchiato';
import frappe from 'react-syntax-highlighter-catppuccin/frappe';
import mocha from 'react-syntax-highlighter-catppuccin/mocha';

and use inside your component.

<ReactSyntaxHighlighter
  // ...
  style={macchiato} // or any different flavor
>

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i react-syntax-highlighter-catppuccin

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

12.1 kB

Total Files

10

Last publish

Collaborators

  • scuderia-fe