New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@insurity/unity

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@insurity/unity

Foundational files for Insurity's design system, Unity

unpublished
latest
npmnpm
Version
2.3.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Unity Design System

Foundational styles, fonts, icons, etc. for Insurity's design system, Unity.

Usage

Styles

There is only one style file to load, either css/styles.css or css/styles.scss depending on which flavor you need / prefer.
This file contains a normalizer, token css/scss variables, typography, and general styles.

import "[path]/css/styles.(s)css";
<link rel="stylesheet" href="[path]/css/styles.(s)css">

Icons

Unity uses a custom set of icons designed specifically for Insurity's suite of insurance applications. There are three things to load:

  • The style.css file
import "[path]/unity-icons/style.css";
<link rel="stylesheet" href="[path]/unity-icons/style.css">
  • The svgxuse.min.js file
import "[path]/unity-icons/svgxuse.min.js";
<script href="[path]/unity-icons/svgxuse.min.js"></script>
  • The contents of the symbol-defs.svg file need to be the first thing inside the <body> element.

Fonts

Unity uses two fonts, Proxima Nova (licensed) and Source Sans Pro (open-source).
The fonts are loaded in [path]/css/_typography.scss which compiles into the [path]/css/styles.(s)css file.

  • The necessary Proxima Nova fonts were purchased and are included locally.
  • Source Sans Pro is free and loaded remotely via Google Fonts.

FAQs

Package last updated on 13 Feb 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