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 🙏

© 2024 – Pkg Stats / Ryan Hefner

slidev-theme-unicorn

v1.1.2

Published

A Unicorn theme for Slidev

Downloads

39

Readme

slidev-theme-unicorn

NPM version

A Unicorn theme for Slidev.

This theme is based on dawntraoz.com website design.

Live demo: https://unicorn-theme.dawntraoz.com/

Install

Add the following frontmatter to your slides.md. Start Slidev then it will prompt you to install the theme automatically.

Learn more about how to use a theme.

Layouts

This theme provides the following layouts:

Common properties

By default any layout will contain a header and a footer expecting:

---
logoHeader: 'https://www.dawntraoz.com/images/logo.svg'
website: 'dawntraoz.com'
handle: 'dawntraoz'
---

If you don't add this property it will be an empty slide expecting your content:

With properties | Without properties :-------------------------:|:-------------------------: introDark | introLight


Intro intro

Usage:

  • Add intro in the layout field.
  • Add your profile image in the introImage field.
---
layout: intro
introImage: 'https://img2.storyblok.com/312x312/filters:format(webp)/f/79165/400x400/1082ff0d24/dawntraoz-alba-silvente.jpg'
---

Dark | Light :-------------------------:|:-------------------------: introDark | introLight


Default cover

Cover is the default layout when none is specified.

Usage:

---
layout: cover
---

Dark | Light :-------------------------:|:-------------------------: introDark | introLight


Presentation cover-logos

Usage:

  • Add cover-logos in the layout field.
  • Add an Array of logo URLs in the logos field.
---
layout: cover-logos
logos: [
  'https://img2.storyblok.com/588x0/filters::format(webp)/f/86387/x/21aa32ed18/logo-normal.svg',
  'https://nuxtjs.org/logos/nuxt-emoji.png',
]
---

Dark | Light :-------------------------:|:-------------------------: introDark | introLight


Table of contents table-contents

Usage:

  • Add table-contents in the layout field.
  • Add an Array of hexadecimal colours in the gradientColors field to fill the illustration.
---
layout: table-contents
gradientColors: ['#8EC5FC', '#E0C3FC']
---

Dark (added gradient) | Light (default gradient) :-------------------------:|:-------------------------: introDark | introLight


New section slide new-section

Always in dark version

Usage:

  • Add new-section in the layout field.
---
layout: new-section
---

Dark | Light :-------------------------:|:-------------------------: introDark | introLight


Image Centered image-center

The content will be place before the image, you can add a title, subtitle to give context to the image.

---
layout: image-center
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
imageWidth: '450'
imageHeight: '950'
---

Dark | Light :-------------------------:|:-------------------------: introDark | introLight


Text centered center

---
layout: center
---

Dark | Light :-------------------------:|:-------------------------: introDark | introLight


Contributing

  • pnpm install
  • pnpm dev to start theme preview of example.md
  • Edit the example.md and style to see the changes
  • pnpm export to generate the preview PDF
  • pnpm screenshot to generate the preview PNG