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

mono-fractal

v1.1.2

Published

A Fractal subtheme, built upon the default Mandelbrot theme.

Downloads

73

Readme

Mono

A Fractal subtheme, built upon the default Mandelbrot theme.

Mono screenshot

Features

  • Minimalist & clean styling giving greater clarity
  • Typography updates
  • Component notes displayed more prominently
  • Tabbed 'View', 'HTML', and 'Context' area made more user friendly & accessible
  • More 'baked-in' styling for Documentation pages
  • A solid foundation which can be easily installed into your existing Fractal project or used as part of the Fratomic starter project (See below)

Installing from Scratch

Installing Fractal

  1. Follow the instructions on how to install Fractal.
  2. Follow the instructions on 'Getting Started'.

Note - if you rename the Documentation file 01-index.md that comes with the base install of Fractal, the UI library will use the homepage included with the theme you are using whether that be Mandelbrot or Mono.

Installing Mono Subtheme

You can now install the Mono subtheme using a command line tool from your project root directory using your method of choice.

via NPM:

npm install --save mono-fractal

via the GitHub repo:

npm install --save git+https://[email protected]/ninety-six/mono-fractal.git

Setting up your Fractal install to use Mono

In the setup file for your project you can require and use the subtheme:

// fractal.config.js
'use strict';

const fractal = module.exports = require('@frctl/fractal').create();
const webUITheme = require('mono-fractal')({});

// ... project setup and configuration

fractal.web.theme(webUITheme); // use the sub-classed theme

The Mono subtheme can be configured using many of the same options as the Mandelbrot theme. Any styles and scripts added will be merged into their respective array of files so you need not specify the themes default stylesheet and script but they will always be included.

Note - On Windows, a conflicting command-line application prevents you from running Fractal commands from the project's root directory (where your fractal.js config file will live). To work around this you can rename your config file fractal.config.js and then enter the following code to your package.json file:

"fractal": {
    "main": "fractal.config.js"
}

Fratomic

If you're wanting to give your Fractal-based project a leg up, I have also developed a great set of folders & files that can be used as an awesome starter point for your Fractal UI component library utilising this Mono theme. It's features include:

  • Use of Twig as the templating engine
  • Component folder structure based on Atomic Design principles
  • Folder structure that works with Fractal
  • Markup, config and markdown files for typography, buttons, form elements and tables included
  • Statuses for components & documentation pages improved
  • Template export function included

You can find out more about Fratomic here.