Basement Grotesque 开源项目使用教程

Basement Grotesque 开源项目使用教程

basement-grotesqueThe basement grotesque typeface.项目地址:https://gitcode.com/gh_mirrors/ba/basement-grotesque

1. 项目目录结构及介绍

basement-grotesque/
├── LICENSE
├── README.md
├── fonts/
│   ├── BasementGrotesque-Black_web.woff
│   ├── BasementGrotesque-Black_web.woff2
│   └── BasementGrotesque-Black.otf
├── src/
│   ├── index.html
│   └── styles.css
└── package.json
  • LICENSE: 项目的开源许可证文件。
  • README.md: 项目的介绍文档,包含项目的基本信息和使用说明。
  • fonts/: 存放字体文件的目录,包含不同格式的字体文件。
  • src/: 项目的源代码目录,包含HTML和CSS文件。
  • package.json: 项目的配置文件,包含项目的依赖和脚本信息。

2. 项目的启动文件介绍

项目的启动文件是 src/index.html,这是一个基本的HTML文件,用于展示字体效果。文件内容如下:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Basement Grotesque</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <h1>Basement Grotesque</h1>
    <p>This is a sample text using the Basement Grotesque font.</p>
</body>
</html>

3. 项目的配置文件介绍

项目的配置文件是 package.json,它包含了项目的依赖和脚本信息。文件内容如下:

{
  "name": "basement-grotesque",
  "version": "1.0.0",
  "description": "A display typeface inspired by the expressiveness of early 19th-century grotesque typefaces.",
  "main": "src/index.html",
  "scripts": {
    "start": "open src/index.html"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/basementstudio/basement-grotesque.git"
  },
  "keywords": [
    "font",
    "grotesque",
    "display"
  ],
  "author": "basement studio",
  "license": "OFL-1.1",
  "bugs": {
    "url": "https://github.com/basementstudio/basement-grotesque/issues"
  },
  "homepage": "https://github.com/basementstudio/basement-grotesque#readme"
}
  • name: 项目的名称。
  • version: 项目的版本号。
  • description: 项目的描述。
  • main: 项目的入口文件。
  • scripts: 项目的脚本命令,start 命令用于启动项目。
  • repository: 项目的代码仓库信息。
  • keywords: 项目的关键词。
  • author: 项目的作者。
  • license: 项目的许可证。
  • bugs: 项目的Bug跟踪地址。
  • homepage: 项目的主页地址。

basement-grotesqueThe basement grotesque typeface.项目地址:https://gitcode.com/gh_mirrors/ba/basement-grotesque

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

史恋姬Quimby

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值