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

@servicetitan/anvil-fonts

Package Overview
Dependencies
Maintainers
5
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@servicetitan/anvil-fonts

The Design System is the single source of truth which groups all the elements that will allow the teams to design, realize and develop ServiceTitan products. It contains tools for designers & developers, patterns, reusable components, guidelines, and more

  • 14.1.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

Anvil Fonts

The Design System is the single source of truth which groups all the elements that will allow the teams to design, realize and develop ServiceTitan products. It contains tools for designers & developers, patterns, reusable components, guidelines, and more.

Installing fonts

If webpack is configured to support font files, they should be imported into the build automatically by importing the included CSS file.

import '@servicetitan/anvil-fonts/dist/css/anvil-fonts.css';

Including fonts manually

If webpack is not configured to include font files in the build, you can do this manually by copying the files to your target and importing a Less or SASS file.

cp ./node_modules/@servicetitan/anvil-fonts/dist/fonts/* [target fonts directory]

Less
@anvil-font-path: '../Fonts';
@import 'node_modules/@servicetitan/anvil-fonts/dist/less/anvil-fonts.less;
SCSS
$anvil-font-path: '../Fonts';
@import 'node_modules/@servicetitan/anvil-fonts/dist/scss/anvil-fonts.scss;

FAQs

Package last updated on 22 Apr 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