@codedrop/post

post component

Usage no npm install needed!

<script type="module">
  import codedropPost from 'https://cdn.skypack.dev/@codedrop/post';
</script>

README

@codedrop/post

npm

Post

A blog post, rich text styles and post layout

Installation

npm install @codedrop/post --save-dev

How to use

CSS

  • PostCSS workflow: @import '@codedrop/post';
  • Native CSS: @import url('dist/post.css');
  • Link tag: <link href="dist/post.css" rel="stylesheet" type="text/css">

Developer notes

To use with default values:

@import '@codedrop/post';

To override variables in a project:

@import '@codedrop/constants';

@import 'path/to/local/project/vars.css';

@import '@codedrop/post/src/_post.css';

.post {
  /* Overrides */
}