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

@ones-design/fonts

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ones-design/fonts

ONES Design

  • 3.0.0-canary.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
101
increased by461.11%
Maintainers
0
Weekly downloads
 
Created
Source

import { Meta } from '@storybook/blocks'

Font 字体

字体是体系化界面设计中最基本的构成之一。

字体家族

ONES Design 的字体家族中优先使用系统默认的界面字体,同时提供了一套利于屏显的备用字体库,来维护在不同平台以及浏览器的显示下,字体始终保持良好的易读性和可读性,体现了友好、稳定和专业的特性。它们包括:

名称描述
D-DIN Pro作用于数字字体

在使用它们之前,你需要安装 @ones-design/fonts 字体库:

npm install @ones-design/fonts

然后在 js 或 css 入口文件顶部引入它:

JS / TS

import '@ones-design/fonts'

CSS

@import '@ones-design/fonts';

现在可以在任意的 CSS 中使用这些字体:

.demo {
  font-family: 'D-DIN Pro';
}

Keywords

FAQs

Package last updated on 08 Oct 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