blob: 663ef9486e793f8ae36f4264f1539266c0ffa8dc [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_SEARCH_CHROME_COLORS_ICON_TEMPLATE_H_
#define CHROME_COMMON_SEARCH_CHROME_COLORS_ICON_TEMPLATE_H_
// Template for the icon svg.
// $1 - primary color
// $2 - secondary color
// $3 - active tab text color
const char kChromeColorsIconTemplate[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
"<svg width=\"176px\" height=\"120px\" viewBox=\"0 0 176 120\" "
"version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" "
"xmlns:xlink=\"http://www.w3.org/1999/xlink\">"
" <title>theme-oceanic</title>"
" <desc>Created with Sketch.</desc>"
" <g id=\"theme-oceanic\" stroke=\"none\" stroke-width=\"1\" "
"fill=\"none\" fill-rule=\"evenodd\">"
" <path d=\"M4,0 L172,0 C174.209139,-4.05812251e-16 176,1.790861 "
"176,4 L176,80 L0,80 L0,4 C-2.705415e-16,1.790861 1.790861,4.05812251e-16 "
"4,0 Z\" id=\"window-frame\" fill=$1 fill-rule=\"nonzero\"></path>"
" <path d=\"M0,80 L176,80 L176,116 C176,118.209139 174.209139,120 "
"172,120 L4,120 C1.790861,120 2.705415e-16,118.209139 0,116 L0,80 Z\" "
"id=\"window-frame\" fill=$2 fill-rule=\"nonzero\"></path>"
" <path d=\"M8.60546875,45 L8.60546875,27 C8.60546875,22.581722 "
"12.1871908,19 16.6054688,19 L70.1908482,19 C74.6091262,19 "
"78.1908482,22.581722 78.1908482,27 L78.1908482,45 L176,45 L176,80 "
"L3.55271368e-13,80 L3.55271368e-13,45 L8.60546875,45 Z\" id=\"toolbar\" "
"fill=$2 fill-rule=\"nonzero\"></path>"
" <rect id=\"omnibox\" fill=\"#F2F3F5\" fill-rule=\"nonzero\" "
"x=\"9\" y=\"52\" width=\"126\" height=\"21\" rx=\"10.5\"></rect>"
" <path d=\"M153.428571,56 C156.977143,56 159.857143,58.88 "
"159.857143,62.4285714 C159.857143,65.9771429 156.977143,68.8571429 "
"153.428571,68.8571429 C149.88,68.8571429 147,65.9771429 147,62.4285714 "
"C147,58.88 149.88,56 153.428571,56 Z M153.428571,57.9285714 "
"C152.361429,57.9285714 151.5,58.79 151.5,59.8571429 C151.5,60.9242857 "
"152.361429,61.7857143 153.428571,61.7857143 C154.495714,61.7857143 "
"155.357143,60.9242857 155.357143,59.8571429 C155.357143,58.79 "
"154.495714,57.9285714 153.428571,57.9285714 Z M153.428571,67.0571429 "
"C155.035714,67.0571429 156.456429,66.2342857 157.285714,64.9871429 "
"C157.266429,63.7078571 154.707857,63.0071429 153.428571,63.0071429 "
"C152.142857,63.0071429 149.590714,63.7078571 149.571429,64.9871429 "
"C150.400714,66.2342857 151.821429,67.0571429 153.428571,67.0571429 Z "
"M23.2548828,36 L22.2929688,36 L18.8701172,30.5019531 "
"L18.8408203,30.5117188 L18.8408203,36 L17.8789062,36 "
"L17.8789062,28.890625 L18.8408203,28.890625 L22.2636719,34.3789062 "
"L22.2929688,34.3691406 L22.2929688,28.890625 L23.2548828,28.890625 "
"L23.2548828,36 Z M27.2295423,36.1025391 C26.4938615,36.1025391 "
"25.9087437,35.8575871 25.4741712,35.3676758 C25.0395987,34.8777645 "
"24.8223157,34.2421914 24.8223157,33.4609375 L24.8223157,33.2460938 "
"C24.8223157,32.4941369 25.046109,31.8683293 25.4937024,31.3686523 "
"C25.9412958,30.8689754 26.4710757,30.6191406 27.0830579,30.6191406 "
"C27.7959521,30.6191406 28.3346837,30.8339822 28.6992688,31.2636719 "
"C29.063854,31.6933615 29.2461438,32.2662725 29.2461438,32.9824219 "
"L29.2461438,33.5830078 L25.8184095,33.5830078 L25.803761,33.6074219 "
"C25.8135267,34.1152369 25.9421061,34.5327132 26.1895032,34.8598633 "
"C26.4369003,35.1870134 26.7835765,35.3505859 27.2295423,35.3505859 "
"C27.5550647,35.3505859 27.8407064,35.3041997 28.0864759,35.2114258 "
"C28.3322453,35.1186519 28.5446455,34.9908862 28.7236829,34.828125 "
"L29.0996595,35.453125 C28.9108564,35.6386728 28.6618355,35.7932937 "
"28.3525891,35.9169922 C28.0433428,36.0406907 27.6689976,36.1025391 "
"27.2295423,36.1025391 Z M27.0830579,31.3759766 C26.7607907,31.3759766 "
"26.4857283,31.5118802 26.2578626,31.7836914 C26.0299969,32.0555027 "
"25.8900243,32.3964823 25.8379407,32.8066406 L25.8477063,32.8310547 "
"L28.2842298,32.8310547 L28.2842298,32.7041016 C28.2842298,32.3264955 "
"28.1833193,32.0107435 27.9814954,31.7568359 C27.7796715,31.5029284 "
"27.4801953,31.3759766 27.0830579,31.3759766 Z M31.8829127,34.0761719 "
"L31.9952173,34.7158203 L32.0245142,34.7158203 L32.161233,34.0761719 "
"L33.2159205,30.7167969 L33.9874048,30.7167969 L35.0469752,34.0761719 "
"L35.1983423,34.7890625 L35.2276392,34.7890625 L35.3692408,34.0761719 "
"L36.1993189,30.7167969 L37.1563502,30.7167969 L35.623147,36 "
"L34.8467798,36 L33.826272,32.7822266 L33.6065455,31.8837891 "
"L33.5772486,31.8886719 L33.3672877,32.7822266 L32.3614283,36 "
"L31.5850611,36 L30.051858,30.7167969 L31.0088892,30.7167969 "
"L31.8829127,34.0761719 Z M42.2638722,29.4423828 L42.2638722,30.7167969 "
"L43.2648487,30.7167969 L43.2648487,31.4296875 L42.2638722,31.4296875 "
"L42.2638722,34.6376953 C42.2638722,34.8850924 42.3151412,35.0592443 "
"42.4176808,35.1601562 C42.5202203,35.2610682 42.6561239,35.3115234 "
"42.8253956,35.3115234 C42.8807344,35.3115234 42.941769,35.3050131 "
"43.0085011,35.2919922 C43.0752332,35.2789713 43.1346401,35.2626954 "
"43.1867237,35.2431641 L43.3136769,35.9023438 C43.2420619,35.9609378 "
"43.1370825,36.0089516 42.9987355,36.0463867 C42.8603884,36.0838218 "
"42.7212296,36.1025391 42.581255,36.1025391 C42.190628,36.1025391 "
"41.8797587,35.9845389 41.6486378,35.7485352 C41.4175169,35.5125314 "
"41.3019581,35.1422551 41.3019581,34.6376953 L41.3019581,31.4296875 "
"L40.4621144,31.4296875 L40.4621144,30.7167969 L41.3019581,30.7167969 "
"L41.3019581,29.4423828 L42.2638722,29.4423828 Z M47.9035707,36 "
"C47.8710184,35.840494 47.8457908,35.6997076 47.8278871,35.5776367 "
"C47.8099834,35.4555658 47.799404,35.3326829 47.7961488,35.2089844 "
"C47.6171115,35.4628919 47.3835526,35.6752921 47.0954652,35.8461914 "
"C46.8073778,36.0170907 46.4973223,36.1025391 46.1652894,36.1025391 "
"C45.6151565,36.1025391 45.1960526,35.9617527 44.9079652,35.6801758 "
"C44.6198778,35.3985989 44.4758363,35.0104191 44.4758363,34.515625 "
"C44.4758363,34.0110652 44.6800986,33.6163751 45.0886293,33.331543 "
"C45.49716,33.0467108 46.0513536,32.9042969 46.7512269,32.9042969 "
"L47.7961488,32.9042969 L47.7961488,32.3818359 C47.7961488,32.0725896 "
"47.7017487,31.8276376 47.5129457,31.6469727 C47.3241427,31.4663077 "
"47.0572182,31.3759766 46.7121644,31.3759766 C46.4029181,31.3759766 "
"46.1514558,31.4549146 45.9577699,31.612793 C45.764084,31.7706714 "
"45.6672426,31.9602854 45.6672426,32.1816406 L44.7492738,32.1816406 "
"L44.7395082,32.1523438 C44.7199768,31.7682272 44.9014529,31.4166683 "
"45.2839418,31.0976562 C45.6664307,30.7786442 46.1604036,30.6191406 "
"46.7658754,30.6191406 C47.3648367,30.6191406 47.8466027,30.7713201 "
"48.2111879,31.0756836 C48.575773,31.3800471 48.7580629,31.818682 "
"48.7580629,32.3916016 L48.7580629,34.9355469 C48.7580629,35.1243499 "
"48.7678284,35.3066397 48.7873598,35.4824219 C48.8068911,35.658204 "
"48.842698,35.8307283 48.8947816,36 L47.9035707,36 Z M46.306891,35.296875 "
"C46.6552,35.296875 46.9693245,35.2073577 47.2492738,35.0283203 "
"C47.5292231,34.849283 47.711513,34.6442069 47.7961488,34.4130859 "
"L47.7961488,33.5537109 L46.7170473,33.5537109 C46.3296755,33.5537109 "
"46.01962,33.6513662 45.7868715,33.8466797 C45.5541229,34.0419932 "
"45.4377504,34.2714831 45.4377504,34.5351562 C45.4377504,34.7695324 "
"45.5109918,34.9550774 45.6574769,35.0917969 C45.803962,35.2285163 "
"46.0204312,35.296875 46.306891,35.296875 Z M54.8713942,33.5585938 "
"C54.8713942,34.3203163 54.6882906,34.9347307 54.3220778,35.4018555 "
"C53.955865,35.8689802 53.4521266,36.1025391 52.8108473,36.1025391 "
"C52.4625383,36.1025391 52.1598069,36.0349942 51.9026442,35.8999023 "
"C51.6454815,35.7648105 51.4322674,35.565431 51.2629958,35.3017578 "
"L51.1458083,36 L50.3596754,36 L50.3596754,28.3828125 "
"L51.3215895,28.3828125 L51.3215895,31.3417969 C51.487606,31.1074207 "
"51.6934958,30.928386 51.9392653,30.8046875 C52.1850348,30.680989 "
"52.472304,30.6191406 52.8010817,30.6191406 C53.4521266,30.6191406 "
"53.959934,30.8795547 54.3245192,31.4003906 C54.6891044,31.9212266 "
"54.8713942,32.6064411 54.8713942,33.4560547 L54.8713942,33.5585938 Z "
"M53.9094801,33.4560547 C53.9094801,32.8505829 53.7979904,32.35661 "
"53.5750075,31.9741211 C53.3520246,31.5916322 53.0126725,31.4003906 "
"52.5569411,31.4003906 C52.2607156,31.4003906 52.0108809,31.4728183 "
"51.8074294,31.6176758 C51.6039778,31.7625333 51.4420328,31.95703 "
"51.3215895,32.2011719 L51.3215895,34.4912109 C51.445288,34.7516289 "
"51.607233,34.9550774 51.8074294,35.1015625 C52.0076257,35.2480476 "
"52.2607156,35.3212891 52.5667067,35.3212891 C53.0191829,35.3212891 "
"53.3560936,35.1601579 53.5774489,34.8378906 C53.7988042,34.5156234 "
"53.9094801,34.0891954 53.9094801,33.5585938 L53.9094801,33.4560547 Z\" "
"id=\"icon-text\" fill=$3 fill-rule=\"nonzero\"></path>"
" <path d=\"M154.833333,30.1666667 L158.166667,30.1666667 "
"C158.626904,30.1666667 159,30.5397627 159,31 C159,31.4602373 "
"158.626904,31.8333333 158.166667,31.8333333 L154.833333,31.8333333 "
"L154.833333,35.1666667 C154.833333,35.626904 154.460237,36 154,36 "
"C153.539763,36 153.166667,35.626904 153.166667,35.1666667 "
"L153.166667,31.8333333 L149.833333,31.8333333 C149.373096,31.8333333 "
"149,31.4602373 149,31 C149,30.5397627 149.373096,30.1666667 "
"149.833333,30.1666667 L153.166667,30.1666667 L153.166667,26.8333333 "
"C153.166667,26.373096 153.539763,26 154,26 C154.460237,26 "
"154.833333,26.373096 154.833333,26.8333333 L154.833333,30.1666667 Z\" "
"id=\"Combined-Shape\" fill=$3></path>"
" </g>"
"</svg>";
#endif // CHROME_COMMON_SEARCH_CHROME_COLORS_ICON_TEMPLATE_H_