Socket
Book a DemoInstallSign in
Socket

@castiron/global-styles

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@castiron/global-styles

A somewhat flexible set of base stylings as styled-components' createGlobalStyle

1.0.4
latest
Source
npmnpm
Version published
Maintainers
4
Created
Source

@castiron/global-styles

A set of resets and base styles in the form of a styled-componentscreateGlobalStyle module.

Usage

This package was created to help you scaffold global styles on a new project. Beyond a handful of declarations to normalize user agent styles (/base/resets), most of the rest of this package simply demonstrates how you may want to architect and declare base styles on your project. As such, you probably want to copy and paste /src into your project theme and build from there. At minimum, you'll want to update the values for CSS custom properties in /src/root.js.

If you really want to import this package directly, you can do this instead:

  • yarn add @castiron/global-styles
  • import GlobalStyles from "@castiron/global-styles

FAQs

Package last updated on 12 Jan 2023

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.