Socket
Socket
Sign inDemoInstall

@servicetitan/anvil-fonts

Package Overview
Dependencies
0
Maintainers
0
Versions
133
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
5.4K
decreased by-8.11%
Maintainers
0
Created
Weekly downloads
 

Readme

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

Last updated on 21 Jun 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc