Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

obelix-plugin-typography

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obelix-plugin-typography

A typography.js plugin for the Obelix static site generator

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

obelix-plugin-typography

A Typography.js plugin for Obelix

This Obelix plugin generates a stylesheet based on a Typography.js configuration or theme.

Usage

Install into your project (or globally if you prefer):

npm install --save obelix-plugin-typography

If you plan on using a Typography.js theme, install that too.

Then in your obelix.edn file, configure the plugin:

{:plugins 
 {:obelix-plugin-typography
  {:fileName "typography.css"  ;; The name of the generated CSS file, defaults to typography.css
   :theme "typography-theme-fairy-gates"  ;; Optional, the Typography.js theme to use
   ;; In addition or instead of a theme, specify any Typography.js
   ;; options you want. These will override the theme settings.
   :baseFontSize 16
   :baseLineHeight 1.5
   ;; etc.
   }}}

Important: This plugin only generates the typography stylesheet. You still need to add a <link> to it in the layouts or pages you want it to be applied to.

FAQs

Package last updated on 18 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts