Socket
Socket
Sign inDemoInstall

@heathmont/moon-global

Package Overview
Dependencies
Maintainers
134
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 ---


Version published
Weekly downloads
448
decreased by-10.76%
Maintainers
134
Weekly downloads
 
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 10 May 2024

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