npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@subroh0508/marp-theme-canvas

v0.4.1

Published

A simple Marp theme with minimal styling

Readme

Canvas

日本語 | English

npm version license

A simple and minimal Marp theme. A design that eliminates unnecessary decorations and lets you focus on your content.

Docs

subroh0508.github.io/marp-theme-canvas/

Demo

| white-canvas | black-canvas | |:---:|:---:| | Light theme with white background | Dark theme with black background | | Demo | Demo |

Features

  • 2 Theme Variants: Light mode (white-canvas) and dark mode (black-canvas)
  • 5 Page Styles: title, section, toc, agenda, display
  • CSS Variable Customization: Easily change colors and fonts from frontmatter
  • SCSS Modules: Import only the styles you need
  • GitHub-style Syntax Highlighting: Code highlighting based on prettylights
  • Multi-column Layout: Support for 2-column and 3-column layouts
  • Flex Alignment Utilities: Tailwind-style justify-content and align-items classes
  • Text Alignment Utilities: Tailwind-style text-align classes

Installation

npm

npm install @subroh0508/marp-theme-canvas

CDN / Direct Usage

You can also reference the CSS files directly via GitHub raw URL:

https://raw.githubusercontent.com/subroh0508/marp-theme-canvas/main/css/white-canvas.css
https://raw.githubusercontent.com/subroh0508/marp-theme-canvas/main/css/black-canvas.css

Usage

Basic Setup

Specify the theme in the frontmatter of your Markdown file:

---
marp: true
theme: white-canvas
paginate: true
style: |
  :root {
    --color-primary: #3b91c4;
    --color-accent: #ead7a4;
  }
---

--color-primary and --color-accent are required. The primary color is used for headings (h2), and the accent color is used for highlights (<mark>).

Theme Selection

| Theme Name | Description | |------------|-------------| | white-canvas | Light theme with white background | | black-canvas | Dark theme with black background |

Building with Marp CLI

marp --theme node_modules/@subroh0508/marp-theme-canvas/css/white-canvas.css slides.md

Page Styles

Use <!-- _class: style-name --> to switch styles for each page.

title

Style for title pages. h1 becomes the main title, and other text is displayed as metadata (presenter name, date, etc.).

<!-- _class: title -->

# Presentation Title

Presenter Name
January 2026

section

Style for section dividers. Text is displayed large and centered on the screen.

<!-- _class: section -->

Section 1: Introduction

toc

Style for table of contents pages. Lists are styled for better readability.

<!-- _class: toc -->

## Table of Contents

1. Introduction
2. Main Topic
3. Summary

agenda

Style for agenda or topics list. Items and detailed descriptions can be displayed hierarchically.

<!-- _class: agenda -->

## Today's Topics

- Topic 1
  - Detailed description
- Topic 2
  - Detailed description

display

Style for displaying short text or images prominently.

<!-- _class: display -->

Your emphasized message here

When an image is present, the font size doesn't increase, and the image is centered.

Customization

You can override CSS variables in the frontmatter style.

Key CSS Variables

Colors

| Variable | Description | white-canvas | black-canvas | |----------|-------------|--------------|--------------| | --color-primary | Primary color (h2, etc.) | Required | Required | | --color-accent | Accent color (mark) | Required | Required | | --color-black | Black | #000 | #000 | | --color-white | White | #fff | #fff | | --color-grey-lightest | Grey (lightest) | #cbd5e1 (slate-300) | #f8fafc (slate-50) | | --color-grey-lighter | Grey (lighter) | #94a3b8 (slate-400) | #f1f5f9 (slate-100) | | --color-grey-light | Grey (light) | #64748b (slate-500) | #e2e8f0 (slate-200) | | --color-grey-medium | Grey (medium) | #475569 (slate-600) | #cbd5e1 (slate-300) | | --color-grey-dark | Grey (dark) | #334155 (slate-700) | #1e293b (slate-800) | | --color-grey-darker | Grey (darker) | #1e293b (slate-800) | #0f172a (slate-900) | | --color-grey-darkest | Grey (darkest) | #0f172a (slate-900) | #020617 (slate-950) | | --color-blue | Link color | #2563eb (blue-600) | #60a5fa (blue-400) |

Fonts

| Variable | Description | Default | |----------|-------------|---------| | --font-family-base | Base font | 'Noto Sans JP', sans-serif | | --font-family-mono | Monospace font | ui-monospace, ... | | --font-size-base | Base font size | 40px |

Size & Layout

| Variable | Description | Default | |----------|-------------|---------| | --slide-padding-x | Slide horizontal padding | 80px | | --slide-padding-y | Slide vertical padding | 80px | | --ul-indent | Bullet list (ul) indent | 1.1em | | --ol-indent | Numbered list (ol) indent | 1.1em | | --ul-li-padding-left | Bullet list item (li) padding | 0.2em | | --ol-li-padding-left | Numbered list item (li) padding | 0.2em | | --image-caption-font-size | Image caption font size | var(--font-size-s) |

Customization Example

---
marp: true
theme: white-canvas
style: |
  :root {
    --color-primary: #e11d48;
    --color-accent: #fde047;
    --font-size-base: 36px;
    --slide-padding-x: 60px;
  }
---

Theme Extension

You can create your own custom theme by extending the base theme.

CSS Extension

Override CSS variables and add custom styles — no build step required.

See the CSS Extension guide and the example project.

SCSS Extension

Use SCSS features (nesting, partials, module system) for advanced theme customization.

See the SCSS Extension guide and the example project.

Development

Clone the Repository

git clone https://github.com/subroh0508/marp-theme-canvas.git
cd marp-theme-canvas
pnpm install

Commands

# Build CSS
pnpm build

# Start demo server
pnpm serve

License

MIT License