Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: docs/theme_creation_guide.md

Issue 1592403002: update obsolete code.google.com documentation links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatting Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/linux_sandboxing.md ('k') | extensions/common/api/declarative_web_request.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #summary A guide and a reference for creating themes using extensions.
jam 2016/01/20 15:54:34 where did this come from?
Mostyn Bramley-Moore 2016/01/20 16:58:26 I found the contents of the original URL on the wa
jam 2016/01/26 23:13:11 sorry for delay, i didn't see this reply earlier.
Mostyn Bramley-Moore 2016/01/27 10:06:22 Removed this, and the reference to the doc.
2 #labels Themes,Phase-Implementation
3
4 <wiki:toc max_depth="3" />
5 =Theme Creation Guide=
6
7 The Google Chrome Extensions Help Docs provided some info on how to create theme as an extension, but for a pure designer, the details of the `*`.cc file can be overwhelming and confusing. Also, having a clear documentation, enables a new d esigner to start designing on the go! (Also makes life easier... he he he).
8
9 Experimenting with the creation of theme and the possible UI elements that could be themed helped create this help document(working progress).It would be helpfu l if *people contribute* to this document in any possible way, that would make i t a good Theme Creation Guide!
10 ----
11 *So how do you create a theme for Google chrome?*
12
13 *Things you'll need to create a theme*
14 # A basic text editor (preferably one that shows line numbers-because on packa ging a theme, Chrome might point out the error in the control file - manifest.js on, if any. It is recommended using Notepad++ which is a free and very useful ed itor!).
15 # An image editor - preferably an advance editor that can allow you to create good content (Using simple editors can do the job of creating themes, but very s loppy ones! It is recommended to use Photoshop, alternatively you may use the fr ee editors like Gimp and Paint.net, [http://sixrevisions.com/graphics-design/10- excellent-open-source-and-free-alternatives-to-photoshop/ click here]).
16 # If you are using Photoshop, you can download [http://www.chromium.org/user-e xperience/visual-design/chrome_0.2_psd.zip this Chrome window design] which is b roken down in layers, and makes it easy to visualize what the theme should look like.
17 # Some creative ideas about what the theme is going to look like - the colors, patterns and design.
18 # Package your theme and publish it in one of the following ways -
19 # [https://chrome.google.com/webstore/developer/dashboard Upload] the theme t o the [https://chrome.google.com/webstore/ Chrome Web Store]
20 # Use Chrome to package it by yourself. More information can be found [http:/ /code.google.com/chrome/extensions/hosting.html here]
21 # Package it by yourself. More information can be found [http://code.google.c om/chrome/extensions/packaging.html here].
22
23 _Now that you have the needed tools, let's get started._
24
25 First create a folder with the name of the theme, inside it you need to create a folder (usually named _images_, but it's your choice).
26
27 _Then you need to create two things:_
28 The first part is to create the images (PNG images) needed for the theme and put them in the _images_ folder (in the next section you'll see a list of images th at can be created for a theme), then create a file named "manifest.json", it nee ds to be inside the theme folder (here is an example file [http://src.chromium.o rg/viewvc/chrome/trunk/src/chrome/test/data/extensions/theme/manifest.json?revis ion=72690&view=markup manifest.json], open it with basic text editor to see the contents and remember that all notation in this file is in *lower case*)
29
30 Then we package the theme and test it.
31
32 There are a number of things that can be themed in Chrome.
33
34 (See [#Description_of_Elements Description of Elements] section for detailed exp lanation.)
35
36 ===Image Elements===
37 _Image elements are defined under the "images" section in the manifest.json file ._
38
39 ||Number||Description||manifest.json Notation ||Recommended Size (W x H)||
40 ||1||The frame of the chrome browser/the area that is behind the tabs.||[#theme_ frame "theme_frame"]||∞ x 80||
41 ||1. 1||The same area as above, only that this represents the inactive state.||[ #theme_frame_inactive "theme_frame_inactive"]|| ||
42 ||1. 2||The same area under the incognito mode, when the window is active||[#the me_frame_incognito "theme_frame_incognito"]|| ||
43 ||1. 3||The same area but in the incognito mode, when the window is inactive.||[ #theme_frame_incognito_inactive "theme_frame_incognito_inactive"]|| ||
44 ||2||This represents both the current tab and the toolbar together||[#theme_tool bar "theme_toolbar"]||∞ x 120||
45 ||3||This is the area that covers the tabs that are not active||[#theme_tab_back ground "theme_tab_background"]||∞ x 65||
46 ||3. 1||The same thing as above, but used for the incognito mode||[#theme_tab_ba ckground_incognito "theme_tab_background_incognito"]|| ||
47 ||4||(Not yet confirmed) The tab background for something!||[#theme_tab_backgrou nd_v "theme_tab_background_v"]|| ||
48 ||5||This is the theme's inner background-the large white space is covered by th is||[#theme_ntp_background "theme_ntp_background"]||Recommended Minimum Size for images 800 x 600 ||
49 ||6||This is the image that appears at the top left of the frame||[#theme_frame_ overlay "theme_frame_overlay"]||1100 x 40||
50 ||6. 1||Same as above but displayed when window is inactive||[#theme_frame_overl ay_inactive "theme_frame_overlay_inactive"]|| ||
51 ||7||This is the area that covers the toolbar buttons||[#theme_button_background "theme_button_background"]||30 x 30||
52 ||8||This is the image that will be displayed in the 'theme created by' section| |[#theme_ntp_attribution "theme_ntp_attribution"]|| ||
53 ||9||The background for the window control buttons (close, maximize, etc.,)||[#t heme_window_control_background "theme_window_control_background"]|| ||
54
55
56 ===Color Elements===
57 _Color elements are defined under the "colors" section in the manifest.json file ._
58
59 Colors are entered as RGB values, some elements can contain opacity value also.
60 e.g. `"ntp_section" : [15, 15, 15, 0.6]`
61
62
63 ||Number || Description ||manifest.json Notation||
64 ||10||The color of the frame, that covers the smaller outer frame||[#Frame "fram e"]||
65 ||10. 1||The color of the same element, but in inactive mode||[#Frame_inactive " frame_inactive"]||
66 ||10. 2||The color of the same element, but in incognito mode||[#Frame_incognito "frame_incognito"]||
67 ||10. 3||The color of the same element, but in incognito, inactive mode||[#Frame _incognito_inactive "frame_incognito_inactive"]||
68 ||10. 4||The color of the toolbar background (visible by pressing Ctrl+B)||[#too lbar "toolbar"]||
69 ||11||The color of text, in the title of current tab||[#tab_text "tab_text"]||
70 ||12||The color of text, in the title of all inactive tabs||[#tab_background_tex t "tab_background_text"]||
71 ||13||The color of the bookmark element's text||[#bookmark_text "bookmark_text"] ||
72 ||14||The theme's inner background color||[#ntp_background "ntp_background"]||
73 ||14. 1||The color of all the text that comes in the inner background area||[#nt p_text "ntp_text"]||
74 ||14. 2||The color of the links that appear in the background area||[#ntp_link " ntp_link"]||
75 ||14. 3||The color of the underline of all links in the background area||[#ntp_l ink_underline "ntp_link_underline"]||
76 ||14. 4||The color of the section frames when mouse over||[#ntp_header "ntp_head er"]||
77 ||14. 5||The color of Recently closed tabs area's bg and frame of quick links||[ #ntp_section "ntp_section"]||
78 ||14. 6||The color of text in the section||[#ntp_section_text "ntp_section_text" ]||
79 ||14. 7||The color of the links that appear in the section area||[#ntp_section_l ink "ntp_section_link"]||
80 ||14. 8||The color of underline of links in the section area||[#ntp_section_link _underline "ntp_section_link_underline"]||
81 ||15||Unconfirmed yet-The color of the window control buttons (close, maximize, etc.)||[#control_background "control_background"]||
82 ||16||The background color of all the toolbar buttons||[#button_background "butt on_background"]||
83
84 ===Tint Elements===
85 Tint elements change the hue, saturation and lightness of images.
86
87 _Tint elements come under the "tints" section in the manifest.json file._
88
89 ||Number||Description||manifest.json Notation||
90 ||17||The color tint that can be applied to various buttons in chrome||[#buttons "buttons"]||
91 ||18||The color tint that can be applied to the frame of chrome||[#frame "frame" ]||
92 ||18. 1||The color tint that is applied when the chrome window is inactive||[#fr ame_inactive "frame_inactive"]||
93 ||18. 2||The color tint to the frame-in incognito mode||[#frame_incognito "frame _incognito"]||
94 ||18. 3||Same as above, but when the window is inactive (and in incognito mode)| |[#frame_incognito_inactive "frame_incognito_inactive"]||
95 ||19||The color tint of the inactive tabs in incognito mode||[#background_tab "b ackground_tab"]||
96
97 ===UI Property Elements===
98 _Property elements come under the "properties" section in the manifest.json file ._
99
100 ||Number||Description||manifest.json Notation||
101 ||20||The property that tells the alignment of the inner backrground image||[#nt p_background_alignment "ntp_background_alignment"]||
102 ||21||This property specifies if the above background should be repeated||[#ntp_ background_repeat "ntp_background_repeat"]||
103 ||22||This lets you select the type of google chrome header you want||[#ntp_logo _alternate "ntp_logo_alternate"]||
104
105 _Phew! lots of things to theme! Actually not!_
106
107 These are the elements that google chrome allows a user to theme, but it's the u ser's whish to decide what elements are going to be edited. The things that you don't need changed can be left alone (in case of which those elements will have their default value/image).Remember that each element goes into it's own section in the manifest file - color elements should be listed under "colors", image el ements under "images" and so on.
108
109 _Let's go through the elements one by one._
110
111 ==Description of Elements==
112
113 ===Basic Theme Elements===
114 _These elements are the starting point, by using only them, you can quickly crea te a basic theme._
115
116 * ==== theme_frame====
117
118 This is an image, this image represents the area behind the tabs. There is no st rict dimensions for this image, the rest of the area in the frame that is not co vered by this image is covered by the color element [#Frame frame]. It would be helpful to know that this image by default repeats along the x-axis. Hence if y ou create a small square image, it will be automatically repeated along x-axis-w hich means you can create patterns if you use short sized images.
119
120 Remember this image doesn't repeat along-y, hence make sure it is long enough to cover the toolbar area-anything over 80px height is good, usually with grading alpha transparency at the bottom so that the image blends with the "frame" color .(you can create a large sized frame image, that extends and coveres the frame b orders too)
121
122 Else you might see a small seperation to the extreme top left of the frame, when the window is in restored mode due to the wrong size of the image.
123
124 Alternatively one can decide to create an image with loooong width-long enough t hat the image repetition is not seen-this method allowes you to create one conti nuous design for the frame-but this method might slow down the loading time of t he theme since large resolution screens require image of larger width (or else y ou'll see the repetition of the image).Note that if you don't include this image , the default frame of chrome-the blue one is displayed, the color element [#Fra me "frame"] doesn't override this.
125
126 * ====theme_toolbar====
127
128 This is an image that covers the area of the current tab and the toolbar below i t:
129
130 Make sure this image is over 119px in height because the find bar( which appears when you press Ctrl+F )shares the tool bar image, the width is up to you. Simil ar to the theme_frame, this image also tiles along the x-axis so you have the op tion to create pattern or create a looong width image for the toolbar. Remember that the toolbar contains some buttons and when the bookmarks are visible (CMD+B or Ctrl+B), they too occupy space in the toolbar:
131
132 So don't make the design too much crowded, or else the toolbar will not be visua lly appealing. Usually for the toolbar, a square, tiling image is preferred, whi ch might be a gradient or just plain color.
133
134 * ====theme_tab_background====
135
136 This is an image, this represents the tabs - all the inactive tabs.
137
138 usually a less saturated image of theme_toolbar is used for this. You may also d esign something else, but make sure that the design enables the user to distingu ish the inactive tabs from the active one!
139 This image also tiles default in x-axis and the height of this can be around 65p x , the width is up to you.
140
141 * ====theme_ntp_background====
142 This is the image that is displayed at the large white space in the browser, in the new tab page, it can contain a background image that contains alpha transpar ency( the default page that contains various quick access elements-see the help image).Note that the notation ntp represents new tab page, hence all elements wh ich contain ntp in the notation will correspond to some element inside the new t ab page.
143
144 There are two ways you can create the inner background for the browser-use a lar ge image without repetition/tiling or use a small image that repeats in x-axis a nd/or y-axis.(see [#ntp_background_repeat ntp_background_repeat])
145
146 There is also option for you to select the alignment of this image, by default t he image is center aligned, but you may choose to align it the way you want.(see [#ntp_background_alignment ntp_background_alignment])
147
148 ===Advanced Theme Elements===
149 _Use these to create a more advanced theme._
150 * ====theme_frame_inactive====
151
152 This is an image, representing the area behind the tabs, when the chrome window is out of focus/inactive.
153
154 All that is applicable to [#theme_frame theme_frame], applies to this. Usually t o avoid making the theme heavy, you can go for [#frame_inactive frame_inactive] tint, to show that the window is inactive-it's efficient than creating a whole n ew image. But it's up to the designer to decide, if it's going to be an image se perately for the inactive state or there is going to be a colo tint when the win dow is inactive.
155
156 * ====theme_frame_incognito====
157
158 This is similar to the [#theme_frame theme_frame], but this image represents the frame of a window in incognito mode. You may choose to redesign the image speci ally for the incognito mode or ignore this, so that whatever you made for [#them e_frame theme_frame] will be tinted (see [#frame_incognito frame_incognito]) and used in incognito mode (it's by default that it gets a dark tint in incognito m ode).
159
160 * ====theme_frame_incognito_inactive====
161
162 This is also an image, similar to theme_frame_inactive, but this image is for th e inactive frame of a window in incognito mode.(see [#frame_incognito_inactive f rame_incognito_inactive])
163
164 * ====theme_tab_background_incognito====
165
166 This is an image, that represents the inactive tabs, in the incognito mode. Alte rnatively one can use the tinting [#background_tab background_tab], to effect in active tabs in incognito mode, but there is a slight problem that some may want to avoid - even if you tint the inactive tabs of the incognito window, the inact ive tabs are made transparent (by default). Hence they'll show the area behind t hem. i.e. the frame. If you want to avoid this, you can include this image.
167
168 * ====theme_tab_background_v====
169
170 Until now, the role of this image is a mystery, that someone needs to unlock!
171
172 * ====theme_frame_overlay====
173
174 This is the image that will be displayed at the top left corner of the frame, o ver the [#theme_frame theme_frame] image.Also this image doesn't repeat by defau lt.Hence this image may be used in case you don't want the frame area design to repeat.Similar to the theme_frame ,anything over 80px height is good, usually wi th grading alpha transparency at the bottom so that the image blends with the "f rame" color.
175
176 * ====theme_frame_overlay_inactive====
177
178 This is similar to [#theme_frame_overlay theme_frame_overlay], but will be displ ayed when the browser window is inactive.If you do not include this image, theme _frame_overlay image will be darkly tinted and used by default-to denote the ina ctive frame.
179
180 * ====theme_button_background====
181
182 This is the image that specifies the background for various buttons(stop,refresh ,back,forward,etc.,) in the toolbar.This image is optional, if you do not includ e this image, the color element [#button_background button_background] overrides the button's background color.
183
184 Whatever image you give for this, the browser leaves off two pixels at top and l eft of the image and mapps a square 25px image to the buttons as background.And the icon/symbol of the button(stop,refresh,back,forward,etc.,) is displayed at t he center.
185
186 * ====theme_ntp_attribution====
187 This is the image that is displayed at the bottom right corner of the new tab pa ge.Chrome automatically puts a heading "Theme created by" and below that display s whatever image you give as theme_ntp_attribution.
188
189 A good practice is to create a small png file enough for an aurthor name(and con tact if needed) with alpha transparency background.Making large and more color i ntense image will attract view, but will make the theme a bit heavier(the file s ize of the theme may increase with bigger png file) but it's your choice anyway.
190
191 * ====theme_window_control_background====
192
193 This is the image that specifies the background for the window control buttons(m inimize,maximize,close and new tab).This image is also not necessary until you d esperatly need to change the control button background.If the image is included, the browser leaves off 1px at the top and left of image and maps a 16px height button from it, the width varies according to buttons though.
194
195 If this image is not included, the control buttons assume the background color s pecified in the color element button_background.
196
197 <wiki:comment> NOTE: The following three section headings Frame,Frame_inactive,F rame_incognito,Frame_incognito_inactive - all these contain capitalised F inten tionally so that internal page navigation is possible</wiki:comment>
198
199 * ====Frame====
200
201 This is a color element, that specifies the color of the frame area of the brows er(the area behind the tabs + the border).It occupies the area that is not cover ed by the [#theme_frame theme_frame] image.
202 The format to specify this element in the manifest.json file is : `"frame" : [R, G,B]`
203
204 * ====Frame_inactive====
205
206 This is a color element, that specifies the color of the frame area of the brows er but when the window is inactive/out of focus (the area behind the tabs + the border).It occupies the area that is not covered by the [#theme_frame theme_fram e] image.
207 The format to specify this element in the manifest.json file is : `"frame_inacti ve" : [R,G,B]`
208
209 * ====Frame_incognito====
210
211 This is a color element similar to [#Frame "frame"] ,but under the incognito mod e.
212
213 * ====Frame_incognito_inactive====
214
215 This is a color element similar to [#Frame_inactive "frame_inactive"] ,but under the incognito mode.
216
217 * ====toolbar====
218
219 This is a color element that specifies the background color of the bookmarks bar , that is visible only in the new tab page,when you press the shortcut keys Ctrl +B or CMD+B.And it contains a 1px border whose color is defined by [#ntp_header ntp_header].Also this element can contain an opacity value that effects transpar ency of this bar.Note that opacity value are float values that ranges from 0 to 1, 0 being fully transparent and 1 being fully opaque.
220
221 The format to specify this element in the manifest.json file is : `"toolbar" : [ R,G,B,opacity]`
222
223 Eg. `"toolbar" : [25, 154, 154, 0.5]`
224
225 Note that this element also specifies color value of the background for floating the status bar(in the bottom of page).It's found that using opacity values for this element makes the status bar transparent, but the text inside it will conta in a opaque background of same color-hence area without the text will be transpa rent
226
227 * ====tab_text====
228
229 This is a color element that specifies the color of the title text of the curren t tab(tab title name of current tab).
230
231 * ====tab_background_text====
232
233 This is a color element that specifies the color of the title text of all the in active tabs/out of focus tabs.
234
235 * ====bookmark_text====
236 This is a color element that specifies the color of the text of bookmarks in the toolbar and the text for the download bar that appears at the bottom.
237 Note : During a download, the text color indicating the number of MB downloaded is not configurable
238
239 * ====ntp_background====
240
241 This is a color element that specifies the color of the background of the new ta b page(covers all areas that is not mapped by [#theme_ntp_background theme_ntp_b ackground]).Usually if a alpha transparency is employed in the image element the me_ntp_background, make sure that ntp_background is such that it matches that im age element.
242
243 * ====ntp_text====
244
245 This is a color element that specifies the color of all the text that appears in the new tab page.(tips, quick access lables,etc.,).
246
247 * ====ntp_link====
248
249 This is a color element that specifes the color of all the links that may appear in the new tab page.(currently the links under list view and links of tips that appear at the bottom of new tab page takes it's color from this)
250
251 * ====ntp_link_underline====
252
253 This is a color element that specifies the color of the underline of all links i n the new tab page(the color of underline of the ntp_link element).
254
255 * ====ntp_header====
256
257 This is a color element that specifies the color for the frame of quick link but tons, when one hovers the mouse over it.It also specifies the 1px border color o f the [#toolbar toolbar] element ,the ntp_section element and the color of three small buttons in the new tab page-thumbnail view,list view,change page layout.
258
259 * ====ntp_section====
260
261 This is a color element that specifies the color for the border of the quick lin k buttons(see help image) and also the background color for the recently closed bar that appears above the tips area.Similar to the [#toolbar toolbar] element, this can als contain opacity value.
262
263 * ====ntp_section_text====
264
265 This is a clolor element that specifies the color of all the text that appears i n the section area.(currently onl the text "Recently closed" derives it's color from this)
266
267 * ====ntp_section_link====
268
269 This is a color element that specifies the color of all the links that appear in the section area.Currently all the links in the "Recently closed" bar take thei r color from this.
270
271 * ====ntp_section_link_underline====
272
273 This is a color element that specifies the color of underlines of all the links that appear in the section area.(underlines the ntp_section_link element)
274
275 * ====control_background====
276
277 This should specify the color of the control buttons of window-minimize,maximize and close.But I couldn't confirm that.It seems that the following element overr ides it.
278
279 * ====button_background====
280
281 This is a color element that specifies the color for the background of all the b uttons in the toolbar area(back,forward, bookmark,etc.,).This element too can co ntain opacity values like the [#toolbar toolbar], which will affect the opacity of the window control buttons( minimize,maximize,close).
282
283 The following are tint elements.The tint element [#buttons buttons] is the most common one, but you may include other elements too. Before moving on to those, o ne must know how the tins work.The tint elements are used to assign color tints to certain elements of the browser area.The value of the tint is in floating val ues ranging from 0 to 1. Eg, `"buttons" : [0.3,0.5,0.5]` (the values range from 0 to 1, hence even 0.125 or 0.65 represent a color).
284
285 * Here the first value represents the hue value, for which 0 means red an d 1 means red
286
287 * The next is saturation value that lets you set vibrancy of the color,he re 0 means completely desaturated and 1 means fully saturated.
288
289 * The next value is lightness/brightness value.Here 0 means least bright and 1 means most bright
290 
291 * ====buttons====
292
293 This is a tint element, that is used to specify a color tint for icons inside al l the buttons in the toolbar (back, forward, refresh, etc.).
294
295 * ====frame====
296
297 This is a tint element, that is used to specify a color tint for the frame area. Whatever image you've created for the frame area will be tinted with a color tha t you specify here.
298
299 * ====frame_inactive====
300
301 This is a tint element, similar to the tint element frame, but the tint is appli ed when the window is inactive/out of focus.
302
303 * ====frame_incognito====
304
305 This is a tint element, that is used to specify a color tint for the frame area in incognito mode.Whatever image you've created for the frame area will be tinte d with a color that you specify here.
306
307 * ====frame_incognito_inactive====
308
309 This is a tint element, that is used to specify a color tint for the frame area in incognito mode, but when the window is inactive/out of focus.
310
311 * ====background_tab====
312
313 This is a tint element,that specifies the color tint of the inactive tabs in inc ognito mode.
314
315 * ====ntp_background_alignment====
316
317 This is a property element, that is used to control the alignment property of th e image element [#theme_ntp_background theme_ntp_background].The value for this element is entered as follows:
318 `"ntp_background_alignment" : "VALUE"`
319
320 In the place of VALUE, you can enter either "top","bottom","left" or "right".Fur ther you can use combinations like "left top","right bottom",etc., The differenc e is that using only "left", aligns the background image to the left center of t he new tab page.While using "left top" aligns the image to the top left corner o f the new tab page.
321 Eg, `"ntp_background_alignment" : "left bottom"`
322 _(Note that the default alignment of the background image is center)._
323
324 * ====ntp_background_repeat====
325
326 This is a property element, that is used to control the repetition of the image element [#theme_ntp_background theme_ntp_background].It is specified as:
327
328 `"ntp_background_repeat" : "VALUE"`
329
330 In the place of VALUE, you can enter either "repeat","no-repeat","repeat-x" or " repeat-y" .Depending upon the image you've created as the background you can cho ose to repeat the image along x-axis or y-axis or turn repeat off, since repeat is on by default!.
331
332 * ====ntp_logo_alternate====
333
334 This is a propety element that specifies what header of Google chrome you wnat f or your theme.It is specified as follows:
335
336 `"ntp_logo_alternate" : VALUE`
337
338 Note that this element's value should not be entered in double quotes!.In the pl ace of VALUE you can enter 0 or 1.Choosing 0 will give you a colorful Google Chr ome header logo inside the new tab page.Choosing 1 will give you an all white Go ogle Chrome header logo inside the new tab page.
339
340 ===Packaging===
341
342 That ends the description of various theme elements.Once you've the images neede d, and after creating the manifest.json file, you are ready to test your theme.I n the latest beta version, you'ev the option to package the theme into an extens ion.To do this follow these steps(to know more about packaging visit [http://cod e.google.com/chrome/extensions/packaging.html this link] ):
343 # Open the Chrome browser (it has to be the lates beta version).
344 # In the options menu (click the wrench in toolbar).
345 # Choose the Tools submenu, then Extensions.
346 # In the page that appears, click on the "Pack extension" button.
347 # You'll be asked to browse and locate the extension root directory-remember th e folder we created with the theme name?, the root directory is that one.
348 # In the dialog box that comes up, Click ok.
349
350 Now the theme has been packaged into an extension ( if there were errors in the manifest.json file, you'll be notified before the extension is created, and the extention will not be packaged until the error is rectified).Now open the extens ion file in chrome(it's located next to the root folder), you'll be asked if you want to continue-click continue and you'll se your theme.Once satisfied with th e theme, you need to create a zip file of the root directory and submit to the [ https://chrome.google.com/extensions extensions gallery].
OLDNEW
« no previous file with comments | « docs/linux_sandboxing.md ('k') | extensions/common/api/declarative_web_request.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698