【WP】Chrome主题diy
来源:互联网 发布:盐城网络买花花店 编辑:程序博客网 时间:2024/05/27 21:01
经常使用的浏览器是chrome,但是在Chrome网上应用店(https://chrome.google.com/webstore/category/themes)下载安装的主题都不是很喜欢,故找了一些相关资料,diy一个主题,简单的自定义壁纸。
A theme is a special kind of extension that changes the way the browser looks. Themes are packaged like regular extensions, but they don’t contain JavaScript or HTML code.
可以看到,官网(https://developer.chrome.com/extensions/themes)是这么说的:主题是特殊的扩展,它改变浏览器的外观。主题的文件打包规则类似扩展的文件打包,但是不包含js或html代码。
只有一个Manifest文件和图片资源,而Manifest文件使用JSON格式保存数据。
Chrome扩展都包含一个Manifest文件——manifest.json,这个文件可以告诉Chrome关于这个扩展的相关信息,它是整个扩展的入口,也是Chrome扩展必不可少的部分。【引】
Here is an example manifest.json file for a theme:
colors 颜色
Colors are in RGB format.
images 图片
Image resources use paths relative to the root of the extension.
properties 属性
This field lets you specify properties such as background alignment, background repeat, and an alternate logo.
tints 色彩
You can specify tints to be applied to parts of the UI such as buttons, the frame, and the background tab. Google Chrome supports tints, not images, because images don’t work across platforms and are brittle in the case of adding new buttons.
下面看个例子:
效果如上图。
源码:
GitHub下载:https://github.com/devwang-com/devwang-theme
- 【WP】Chrome主题diy
- wp主题制作
- wp-主题资源
- wp学习之主题制作
- wp清晰笑话itouxiao主题
- wp中文博客iterduo主题
- WP主题如何支持WooCommerce主题
- 制作wp主题遇到问题汇总
- 修改WP默认主题Twenty Ten字体
- atom DIY platformio-ide-terminal主题
- DIY chrome浏览器漫画翻页插件
- 中关村-DIY浏览器之Chrome基础
- 推荐3款热门特惠(幻灯、WP插件、主题等等)
- WordPress主题制作教程[壹] - 了解WP&结构&索引
- WP论坛WordPress主题免费下载(1)
- WP论坛WordPress主题免费下载(2)
- wp
- WP
- Developer Training for Spark and Hadoop
- iOS面试题
- servr
- C语言(6)------基本数据类型之浮点型数据类型
- test
- 【WP】Chrome主题diy
- 在Ubuntu系统中安装Redis数据库服务器(附Redis常用的命令)
- 求两个排好序的数组的中位数 - 二分法
- Android学习1
- Activity四种启动模式
- 在mooc的Python路
- 【WP】Json抓包
- 单个进程最大线程数
- oracle学习笔记名词篇