# prism-material-themes

> Themes for the Prism syntax highlighting library based on the Material color scheme

Latest version **1.0.5** (published 2024-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install prism-material-themes
pnpm add prism-material-themes
yarn add prism-material-themes
bun add prism-material-themes
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2024-09-02 |
| First published | 2019-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 18.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Kai Cataldo |
| Maintainers | kaicataldo |
| Keywords | styles, theme, themes, prism, material, syntax, highlighting |

## Links

- npm: https://www.npmjs.com/package/prism-material-themes
- Repository: https://github.com/kaicataldo/prism-material-themes
- Homepage: https://github.com/kaicataldo/prism-material-themes#readme
- Issues: https://github.com/kaicataldo/prism-material-themes/issues
- Funding: https://github.com/sponsors/kaicataldo
- npm.io page: https://npm.io/package/prism-material-themes

## Alternatives

- [@oh-my-pi/pi-natives](https://npm.io/package/@oh-my-pi/pi-natives.md) — 51.8K weekly downloads
- [@capgo/capacitor-light-sensor](https://npm.io/package/@capgo/capacitor-light-sensor.md) — 3.0K weekly downloads
- [@heyhuynhgiabuu/pi-diff](https://npm.io/package/@heyhuynhgiabuu/pi-diff.md) — 492 weekly downloads
- [@lotsa/verdant-lang-asm](https://npm.io/package/@lotsa/verdant-lang-asm.md) — 38 weekly downloads
- [new-era-syntax](https://npm.io/package/new-era-syntax.md) — 20 weekly downloads

## Recent versions

- 1.0.5 (latest) — 2024-09-02
- 1.0.4 — 2020-01-28
- 1.0.3 — 2019-11-15
- 1.0.2 — 2019-11-14
- 1.0.1 — 2019-11-14
- 1.0.0 — 2019-11-14

## README

# Prism Material Themes 

[![npm](https://img.shields.io/npm/v/prism-material-themes?color=%231615e6&style=flat-square)](https://www.npmjs.com/package/prism-material-themes)

This repository contains the source code for themes for the Prism syntax highlighting library based on the wonderful [Material theme](https://material-theme.site/)!

## Installation

The themes are available on `npm`:

```sh
npm install prism-material-themes
```

## Usage

The themes are located in the package's `themes/` directory in the form of CSS files. 

### Copy and include as asset manually

You can copy the theme you'd like to use into your project and use it like so:

```html
<!DOCTYPE html>
<html>
  <head>
    ...
    <link href="themes/material-default.css" rel="stylesheet" />
  </head>
  <body>
    ...
    <script src="prism.js"></script>
  </body>
</html>
```

### Import using a bundler like webpack 

```js
import 'prism-material-themes/themes/material-default.css';
```

## Screenshots

### Material Default (`material-default.css`)

<img src="screenshots/material-default.png" alt="Screenshot of Material Default theme" title="Material Default (`material-default.css`)" width="600px">

### Material Darker (`material-darker.css`)

<img src="screenshots/material-darker.png" alt="Screenshot of Material Darker theme" title="Material Darker (`material-darker.css`)" width="600px">

### Material Lighter (`material-lighter.css`)

<img src="screenshots/material-lighter.png" alt="Screenshot of Material Lighter theme" title="Material Lighter (`material-lighter.css`)" width="600px">

### Material Ocean (`material-ocean.css`)

<img src="screenshots/material-ocean.png" alt="Screenshot of Material Ocean theme" title="Material Ocean (`material-ocean.css`)" width="600px">

### Material Palenight (`material-palenight.css`)

<img src="screenshots/material-palenight.png" alt="Screenshot of Material Palenight theme" title="Material Palenight (`material-palenight.css`)" width="600px">

---
_Source: https://npm.io/package/prism-material-themes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
