pfefferle/openwebicons 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pfefferle/openwebicons

Composer 安装命令:

composer require pfefferle/openwebicons

包简介

OpenWeb Icons

README 文档

README

npm npm npm

OpenWeb Icons

The OpenWeb Icons is a web-font that gives you scalable vector icons/logos of some open communities, standards or projects.

It includes the Creative Commons-, HTML5- and Microformats-icons for example. Use them to show your love for the Open Web!

Installation

npm (npmjs.org)

$ npm install openwebicons

Usage

Include the CSS in your project:

<link rel="stylesheet" href="node_modules/openwebicons/css/openwebicons.min.css">

Then use icons with CSS classes:

<i class="icon-html5"></i>
<i class="icon-mastodon"></i>
<i class="icon-activitypub"></i>
<i class="icon-fediverse"></i>

For colored variants, append -colored:

<i class="icon-html5-colored"></i>
<i class="icon-mastodon-colored"></i>

Building from Source

npm install
npm run build

This generates fonts, SCSS variables, CSS files, and the demo page.

Build Steps

Command Description
npm run build:fonts Generate font files from SVGs + docs HTML via fantasticon
npm run build:scss Generate sass/_vars.scss from icons.json
npm run build:css Compile SCSS to CSS (expanded + minified)
npm run build:docs Copy CSS + fonts to docs/ for GitHub Pages
npm run build Run all of the above in sequence

Contributing

Adding a new icon:

  1. Add your SVG to svg/ (viewBox "-10 0 1034 1024", fill="currentColor")
  2. Add an entry to icons.json with the next available codepoint and optional color
  3. Run npm run build
  4. Commit the SVG, icons.json, and all generated output files
  5. Open a PR

Project Page

Browse all icons: https://pfefferle.dev/openwebicons/

NPM

统计信息

  • 总下载量: 58
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 850
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 850
  • Watchers: 62
  • Forks: 107
  • 开发语言: CSS

其他信息

  • 授权协议: OFL-1.1
  • 更新时间: 2014-04-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固