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

slidev-theme-kotlin

v0.0.8

Published

A [Slidev](https://sli.dev) theme designed for Kotlin presentations, featuring the Kodee mascot with smooth animations and Kotlin-optimized syntax highlighting.

Readme

Slidev Theme Kotlin

A Slidev theme designed for Kotlin presentations, featuring the Kodee mascot with smooth animations and Kotlin-optimized syntax highlighting.

Overview

This theme provides a professional presentation template tailored for Kotlin developers. It includes:

  • Kodee Mascot Integration: Animated Kodee character with multiple variants (greeting, wink, wave, jumping, sitting, drinking, heart, in-love, welcome, winter, tiny)
  • Magic Move Animations: Smooth transitions for Kodee between slides with configurable size and position
  • Kotlin Syntax Highlighting: Custom Shiki configuration optimized for Kotlin code
  • Multiple Layouts: Pre-built layouts including default, cover, and intro
  • Kotlin Branding: Official Kotlin logos for both light and dark modes
  • JetBrains Fonts: Uses Inter for sans-serif and JetBrains Mono for code

Requirements

  • Node.js: >= 18.0.0
  • Package Manager: npm (or pnpm with shamefully-hoist=true)

Installation

Install the theme in your Slidev project:

npm install slidev-theme-kotlin

Usage

Basic Setup

Add the theme to your slides' frontmatter:

---
theme: kotlin
transition: view-transition
---

# Your Presentation Title

Using Kodee Mascot

Add Kodee to any slide by including the kodee configuration in the slide's frontmatter:

---
kodee:
  variant: greeting
  size: large
  position: featured
---

# Your Slide Content

Kodee Configuration Options

  • variant: Choose from available Kodee images

    • greeting - Kodee waving hello
    • wink - Kodee winking
    • wave - Kodee waving
    • jumping - Kodee jumping with joy
    • sitting - Kodee sitting down
    • drinking - Kodee with a drink
    • heart - Kodee with a heart
    • in-love - Kodee in love
    • welcome - Kodee welcoming
    • winter - Kodee in winter attire
    • tiny - Tiny Kodee
  • size: Control Kodee's size

    • small - 200x200px (default)
    • large - 600x600px (500x500px for wave variant)
    • medium - TODO: Not yet implemented
  • position: Control Kodee's placement

    • corner - Bottom right corner (default)
    • featured - Prominently displayed on slide
    • custom - Use with x and y coordinates

Custom Positioning

For precise control, use custom positioning:

---
kodee:
  variant: greeting
  position: custom
  x: 100
  y: 200
  scale: 1.2
---

Development

Available Scripts

# Start development server with example presentation
npm run dev

# Build the example presentation for production
npm run build

# Export presentation to PDF
npm run export

# Export presentation as PNG screenshots
npm run screenshot

Running the Example

The repository includes example.md demonstrating all theme features:

npm run dev

This will open the example presentation in your browser with hot-reload enabled.

Project Structure

.
├── components/          # Vue components
│   ├── Kodee.vue       # Main Kodee mascot component with animations
│   └── KodeeWrapper.vue # Wrapper component for Kodee integration
├── layouts/            # Slidev layout templates
│   ├── cover.vue       # Cover slide layout
│   ├── default.vue     # Default slide layout
│   └── intro.vue       # Introduction slide layout
├── public/             # Static assets
│   ├── kodee-*.svg     # Kodee mascot variants (11 variants)
│   └── kotlin-logo*.svg # Kotlin logos (light/dark modes)
├── setup/              # Slidev setup files
│   └── shiki.ts        # Syntax highlighting configuration for Kotlin
├── styles/             # Theme styles
│   ├── index.ts        # Style entry point
│   └── layout.css      # Layout styles
├── debug.js            # Utility script for enumerating Shiki Kotlin tokens
├── example.md          # Example presentation demonstrating theme features
├── package.json        # Package configuration and dependencies
└── LICENSE             # Apache License 2.0

Environment Variables

No environment variables are currently required for this theme.

Testing

No automated tests are currently configured for this theme.

Configuration

Theme Defaults

The theme is configured with the following defaults in package.json:

{
  "slidev": {
    "colorSchema": "both",
    "defaults": {
      "fonts": {
        "sans": "Inter",
        "mono": "JetBrains Mono"
      }
    }
  }
}

Layouts

The theme provides three layouts:

  1. default - Standard slide layout with optional Kodee
  2. cover - Cover slide for presentation title
  3. intro - Introduction slide layout

Use layouts by specifying them in slide frontmatter:

---
layout: cover
---

# Presentation Title

Dependencies

Runtime Dependencies

  • @slidev/types (^52.2.5) - Slidev type definitions

Development Dependencies

  • @slidev/cli (^52.2.5) - Slidev command-line interface

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Credits

  • Kodee Mascot: Official Kotlin mascot by JetBrains
  • Kotlin Logos: Official Kotlin branding by JetBrains
  • Slidev: Presentation framework by Anthony Fu

Links


Made with ❤️ for the Kotlin community