Compilation of chrome skin and chrome

Source: Internet
Author: User

Compilation of chrome skin and chrome

Paste Reprinted from: http://www.uhdesk.com /? P = 59

Chrome skin compiling materials



ThemeCreationGuide


Guide and use the extended creation topic. Reference


 


Subject,


Phase Implementation


Update
Passed in October 16, 2014
Phist... @ Chromium.org


Topic creation Guide
Image elements
Color Element
Color Element
UI element attributes
Element description
Basic Theme Elements
Advanced theme Elements
Packaging
Topic creation Guide


Google Chrome extension help files provide some information about how to create a topic as an extension, but for a pure designer, *. cc files in details can be overwhelming and confusing. In addition, there is a clear document for new designers to start designing! (Making life easier ...... He and he ).


And create theme, and may be tried by the theme UI element to help establish this help document (work in progress ). It is, if a helpful person makes a donation to this file in any way possible, it will make it a good topic creation guide!


How do you create a Google Chrome browser?


You need to create theme things


A basic text editor (preferably a display line number, because packaging a topic may control the file in Chrome to indicate an error-manifest. in json, if any Notepad ++ it uses is a free and useful editing recommendation! ).
Image editor -! It is best to use an editor in advance to create good content. (You can use a simple editor to create a topic. However, it is recommended that you use Photoshop, or you can use a free editor, for example, GIMP and Paint.net, click here ).
If you are using Photoshop, you can download the browser window design to break down layers and easily visualize what the theme should look like.
Some creative ideas are what theme will be like-color, pattern and design.
Package Your topic and publish it in one of the following ways-
Upload the topic to the Chrome online App Store
Use Chrome to package it by yourself. For more information, see
Pack it by yourself. For more information, see here.
Now, let's get started with the necessary tools.


First, create a folder, the name of the topic, in which you need to create a folder (usually named image, but it is your choice ).


Then you need to create two things: the first part is to create the desired theme image (PNG Image) and put them in the image folder (in the next section, you will see the list topic for the created image), and then create a manifest named. json file, which requires the topic folder (here is the manifest. json, the basic text editor opens it and looks at the content. Remember that all comments in this file are in a low level)


Then, we package theme and test.


There are many things that can be done on the Chrome topic.


(See the element to describe the detailed explanation .)


Image elements


The manifest. json file under the image element is defined in the "image" section.


Number Description manifest. json recommended symbol size (width x height)
1. The/framework of the Chrome browser is the area behind the tag. "Theme_frame" ∞ × 80
1. 1 is the same area and above. Only this indicates the inactive status. "Theme_frame_inactive"
1 2 in stealth mode, in the same region, when the window is activated "theme_frame_incognito"
1. 3 in the same region, but in non-trace mode, when the window is inactive. "Theme_frame_incognito_inactive"
2. This is the combination of the current label and toolbar "theme_toolbar" ∞ × 120
3. This is the area "theme_tab_background" ∞ × 65 covering inactive wings.
3 1 The Same Thing is used in the stealth mode "theme_tab_background_incognito"
4 (unconfirmed) tab background! "Theme_tab_background_v"
5. This is the internal background of the theme_ntp_background. The white space is the minimum size of the image recommended in this "theme_ntp_background": 800 × 600.
6. This is the image "theme_frame_overlay" that appears in the upper left corner of the frame 1100 × 40.
When the window is not active, the same as above, but "theme_frame_overlay_inactive" is displayed"
7. This is to overwrite the "theme_button_background" area in the toolbar button 30 × 30.
8. This is the "theme_ntp_attribution" image of the "created topic" displayed in the Section"
9 The background is the window control button (close, maximize, and so on) "theme_window_control_background"
Color Element


The "color" section in the manifest. json file under the color element is defined.


The color input is an RGB value, and some elements can contain opacity values. For example, "ntp_section": [0.6, 15,]


Number Description characters in manifest. json
10 The Color of the frame, covering a small frame "frame"
10. 1 the same element color, but in the inactive mode "frame_inactive"
10. 2 The Color of the same element, but in the stealth mode "frame_incognito"
10. 3 The same element color, but in stealth, inactive mode "frame_incognito_inactive"
10. 4 toolbar background color (press Ctrl + B to see) "toolbar"
11 text color, in the current tab title "tab_text"
12 text color, the title "tab_background_text" on all inactive tabs"
13 The text color of the BOOKMARK_TEXT Element"
14 The internal background color of the topic is ntp_background"
The color "ntp_text" attached to all texts of 1.1"
14. 2 link, the color "ntp_link" appears in the background area"
14. 3 The Color of the underline of all links in the background area is "ntp_link_underline"
14. The color of the 4-part frame. When the mouse moves to "ntp_header"
14. 5 recently closed label area BG color and quick link box "ntp_section"
14. 6 color "ntp_section_text" in the text section"
14. 7 links, the color "ntp_section_link" appears in some areas"
14. 8 The color "ntp_section_link_underline" in the area of the link underline"
The Windows control button of 15 is not confirmed to have no color (close, maximize, etc.) "control_background"
16 The background color "button_background" of all toolbar buttons"
Color Element


Tone elements change the color, saturation, and brightness of an image.


The color element of the "color" section in the manifest. json file.


Number Description characters in manifest. json
17 The "button" that can be applied to various buttons in chrome"
18 The Tone "frame" of frames that can be added to chrome"
18. 1 The Color of the app "frame_inactive" when the Chrome Window is not active"
18. 2 color tones, "frame_incognito" in stealth mode"
18. 3 is the same as above, but when the window is inactive (in the no-trace mode) "frame_incognito_inactive"
19 Invalid Tag "background_tab" in stealth mode"
UI element attributes


Element of the property rights section in the manifest. json file.


Number Description characters in manifest. json
20. It tells the alignment attribute "ntp_background_alignment" of the backrground image"
21. This attribute is specified. In the preceding context, "ntp_background_repeat" should be repeated"
22. This allows you to select the type "ntp_logo_alternate" of the Google browser header you want"
Success! Theme of many things! Actually not!


These are the elements that Google Chrome allows for a user's theme, but they are used to determine which elements will be edited. You do not need to change the items that can be left alone (in this case, these elements will have their default values/graphs ). Remember that each element enters its own part of the configuration file-the color element should be listed in "color", in the Image Element "image" and so on.


Let's use the element one by one.


Element description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.