
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@myuw-web-components/myuw-app-styles
Advanced tools
This HTML import contains custom CSS properties that are consumed by other components in the myuw-web-components space.
This HTML import contains custom CSS properties that are consumed by other components in the myuw-web-components space.
To use the "UW-Madison White" theme, for example, import the component and add the "uw-madison-white-theme" class to your page's body element, like so:
<!-- import the module -->
<script type="module" src="https://cdn.my.wisc.edu/@myuw-web-components/myuw-app-styles@latest/myuw-app-styles.min.mjs"></script>
<!-- fallback for browsers without ES2015 module support -->
<script nomodule src="https://cdn.my.wisc.edu/@myuw-web-components/myuw-app-styles@latest/myuw-app-styles.min.js"></script>
<body class="uw-madison-white-theme">
<!-- ... -->
</body>
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
Note: The evergreen "latest" version can be used for convenience, but in production settings it is recommended to use the latest release version specifically, and upgrade only after testing!
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.
FAQs
This HTML import contains custom CSS properties that are consumed by other components in the myuw-web-components space.
The npm package @myuw-web-components/myuw-app-styles receives a total of 98 weekly downloads. As such, @myuw-web-components/myuw-app-styles popularity was classified as not popular.
We found that @myuw-web-components/myuw-app-styles demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.