Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@heathmont/moon-global

Package Overview
Dependencies
Maintainers
136
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heathmont/moon-global

--- name: Global route: /global ---

  • 10.5.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
136
Created
Source

name: Global route: /global

Global

A tiny, crucial set of global styles to provide a solid and consistent foundation for our components; containing browser resets, @font-face defintions and page-level styling.

Usage

Add the global styles to the root of your application.

/* App.tsx */
import React from 'react';
import { Global } from '@heathmont/moon-global';

export const App = () => (
  <main>
    <Global styles={/* optional custom styles */} />
    {/* Your App… */}
  </main>
);

An additional polyfill is provided for further progressive enhancements such as :focus-visible.

This should be included separately within your root application file/wrapper component, as it only runs in the browser.

FAQs

Package last updated on 17 Aug 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

  • 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