
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@castiron/global-styles
Advanced tools
A somewhat flexible set of base stylings as styled-components' createGlobalStyle
A set of resets and base styles in the form of a styled-components
’ createGlobalStyle
module.
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
A somewhat flexible set of base stylings as styled-components' createGlobalStyle
We found that @castiron/global-styles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.