Blog post


011.29.04 years ago6 years agoMinified + gzip package size for @economist/component-blog-post in KB



The blog post component is a simple element to show a blog post. This component is primarily for the blog post page.

Overridable variables:

You can override the following variables:

:root {
  --blog-post-color-title: green;
  --blog-post-color-flytitle: blue;
  --blog-post-color-section-link: inherit;
  --blog-post-color-section-link-hover: rebeccapurple;
  --blog-post-color-text: yellow;
  --blog-post-color-link: inherit;
  --blog-post-color-link-underline: pink;
  --blog-post-color-datetime: black;
  --blog-post-background-color-datetime: purple;

  --blog-post-flytitle-spacing: 10px;

  --blog-post-rubric-spacing: 20px;

  --blog-post-section-spacing: 20px;

  --blog-post-image-spacing: 20px;

  --blog-post-text-top-margin: 10px;

  --blog-post-color-link-visited: pink;

  --blog-post-color-blockquote: gray;
  --blog-post-color-blockquote-quotes: red;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.