🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@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 ---

latest
Source
npmnpm
Version
10.7.4
Version published
Weekly downloads
97
-76.85%
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