Socket
Socket
Sign inDemoInstall

bonaparte-theme-napoleon

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bonaparte-theme-napoleon

Bonaparte Theme


Version published
Maintainers
2
Created
Source

#Napoleon Bonaparte Theme

npm version

Napoleon is a Semantic UI inspired theme developed for editorial tools at Dow Jones.

Like common front end frameworks Napoleon provides a set of CSS classes to style HTML elements.

In addition to the traditional HTML elements, Napoleon also defines styles and classes for Bonaparte components.

Examples

Main Features

Baseline Grid

All elements and text styled with Napoleon align on a baseline grid. This allows Napoleon elements to be mixed and matched while still resulting in a clean user interface.

The baseline grid is defined as 1rem. Napoleon defines 1rem as 12px by default.

Toggle the grid in the top right corner in the kitchen sink.

Namespaced

Napoleon doesn't apply any styles to any HTML elements by default.

Resets and styling of base tags (<p>, small, <h1>–<h6>) are applied for elements within a .napoleon wrapper, or elements that have the .ui class.

Through this, Napoleon doesn't interfere with other CSS on a page.

Keywords

FAQs

Package last updated on 12 Apr 2016

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc