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

@myuw-web-components/myuw-app-styles

Package Overview
Dependencies
Maintainers
6
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myuw-web-components/myuw-app-styles

This HTML import contains custom CSS properties that are consumed by other components in the myuw-web-components space.

  • 1.2.2
  • Source
  • npm
  • Socket score

Version published
Maintainers
6
Created
Source

MyUW App Styles

This HTML import contains custom CSS properties that are consumed by other components in the myuw-web-components space.

How to use

Add the app styles script to your document:

<script type="module" src="https://unpkg.com/@myuw-web-components/myuw-app-styles@^1?module"></script>
<script nomodule src="https://unpkg.com/@myuw-web-components/myuw-app-styles@^1"></script>

To avoid flashing unstyled text, this component also uses FontFaceObserver to determine when UW-Madison theme fonts are loaded and updates <body> with the attribute myuw-font-loaded

Theming

The default theme is based on UW-Madison red and other colors from the UW-Madison brand guidelines for web. You don't have to do anything special to use this theme.

To use the "UW-Madison White" theme, add the "uw-madison-white-theme" class to your page's body element, like so:

<body class="uw-madison-white-theme">
    <!-- ... -->
</body>

FAQs

Package last updated on 12 Sep 2018

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