damieng/silk-companion 问题修复 & 功能扩展

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

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

damieng/silk-companion

Composer 安装命令:

composer require damieng/silk-companion

包简介

Silk-Companion icon set

README 文档

README

NPM version Bower version Packagist version

Build Status

About

Silk companion icon set #1 - "More Silk!" Last updated 19 November 2007 Packaging by T1st3

Description

The FamFamFam Silk icon set is a very large, consistent set of well-drawn icons that has proven to be popular with both applications and web sites.

On a number of occasions I have found myself wanting more icons in the same style. This companion set represents what I needed but also what I felt like adding.

Some are new icons in the same style, some are alternative sizes/colours of the existing icons and some are new compositions of the elements.

CSS spritesheets

You can insert the icons directly into your HTML with a common IMG tag:

    <img alt="Connect" src="dist/png/folder_connect.png" width="16" height="16">

In addition to the icons by themselves, this project also ships a CSS spritesheet for the icon-pack. This spritesheet allows to load the entire icon-pack in just 1 image, and thus reduce HTTP calls.

This is what it actually looks:

Spritesheet

All the positioning of the icons inside this alone image is made through CSS, which allows you to just add block-type tags with the proper class and get the same result:

    <div class="silk-companion folder_connect"></div>

Just remember to add the CSS stylesheet to the HEAD of your HTML page!

Packages

NPM

npm install silk-companion

Bower

bower install silk-companion

Composer / Packagist

silk-companion on Packagist

Build (the whole project or your custom project)

We use Gulp to build the project, so if you want to re-build or customize this project, you'll need Gulp.

After gulp is installed, and your CLI is pointed to your work directory, first install the dependencies:

     npm install

then, you can run the gulp build task to build the project:

     gulp build

What the build task does

First, it takes PNG files from the src folder, and pastes them to the dist folder.

Then it creates a spritesheet from the PNG images located in the src folder, and thus creates the sprite folder in dist.

If, for example you just want bell_silver and page_break icons in a spritesheet, you just have to fork this project, point your CLI to the working directory, empty the src directory, except bell_silver and page_break icons, and then run the gulp build task.

You'll get the proper spritesheet and copies of the icons directly in the dist folder.

Licence

The icons are dual licensed under Creative Commons Attribution 2.5 License and Creative Commons Attribution 3.0 License.

Packaging files are licensed under the MIT license.

The Original Silk readme this work is based upon:

Silk icon set 1.3

_________________________________________
Mark James
http://www.famfamfam.com/lab/icons/silk/
_________________________________________

This work is licensed under a
Creative Commons Attribution 2.5 License.
[ http://creativecommons.org/licenses/by/2.5/ ]

This means you may use it for any purpose,
and make any changes you like.
All I ask is that you include a link back
to this page in your credits.

Are you using this icon set? Send me an email
(including a link or picture if available) to
mjames@gmail.com

Any other questions about this icon set please
contact mjames@gmail.com

damieng/silk-companion 适用场景与选型建议

damieng/silk-companion 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 20 次下载、GitHub Stars 达 37, 最近一次更新时间为 2015 年 03 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「png」 「gif」 「famfamfam」 「silk」 「icon」 「img」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 damieng/silk-companion 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 damieng/silk-companion 我们能提供哪些服务?
定制开发 / 二次开发

基于 damieng/silk-companion 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 37
  • 点击次数: 25
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 37
  • Watchers: 3
  • Forks: 5
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-27