1.0.4 • Published 6 years ago

fraktur.css v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

fraktur.css

Fraktur font as a node packaged module.

latest version build status stability downloads

Install

# npm package
$ npm install fraktur.css

The css is exported from the package.json main field and can be imported using a css bundler or copied out of node_modules as part of a larger build process.

Usage

@import 'fraktur.css';

body { font-family: Fraktur BT, serif; }

PostCSS

You can use PostCSS to inline and import this css module using the following postcss.config.js:

module.exports = (ctx) => ({
  plugins: {
    'postcss-import': { root: ctx.file.dirname }, // Inline module css
    'postcss-url': { // Copy assets from node_modules
      url: 'copy',
      useHash: true,
      assetsPath: 'assets'
    }
  }
})
$ postcss styles.css -o dist/bundle.css

Credits

See also

1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago