From 2b4e05a90063652eb1c05efea2b2dec83fbae644 Mon Sep 17 00:00:00 2001 From: patrick kettner Date: Thu, 18 Apr 2024 18:14:51 -0400 Subject: [PATCH] add sample theme (#1146) * add sample theme * Update functional-samples/sample.theme/manifest.json Co-authored-by: Oliver Dunk * update chrome url in readme --------- Co-authored-by: Oliver Dunk --- .../sample.theme/Cached Theme.pak | Bin 0 -> 562 bytes functional-samples/sample.theme/README.md | 9 +++++ functional-samples/sample.theme/manifest.json | 33 ++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 functional-samples/sample.theme/Cached Theme.pak create mode 100644 functional-samples/sample.theme/README.md create mode 100644 functional-samples/sample.theme/manifest.json diff --git a/functional-samples/sample.theme/Cached Theme.pak b/functional-samples/sample.theme/Cached Theme.pak new file mode 100644 index 0000000000000000000000000000000000000000..fd5bbc2b22777655c1087032c5aae67311c51235 GIT binary patch literal 562 zcmd6k%T2>j5Je|H2m}a(pX3!afW#7_RFHLc1PNK7kcbMVCkmhe>hLB)V#zPLIrD5n z3yiEe_xe7M#&*lf+5n%rq<`s({;dK1Mq zDIRloHB#Ve23=|axhXaP+6+(7PO)h#JhdI3109IaPLO0bI@eyZrfzv#`xOtMllQ_i z_b|b96plH^u+N;6piHMws5y&_ kHvIigX74Xdp#J!uvYgH0-`(bu@!jlx`Z&4CXAjfy3aBEpiU0rr literal 0 HcmV?d00001 diff --git a/functional-samples/sample.theme/README.md b/functional-samples/sample.theme/README.md new file mode 100644 index 00000000..a77353ac --- /dev/null +++ b/functional-samples/sample.theme/README.md @@ -0,0 +1,9 @@ +# Sample Chrome Theme + +This is a Chrome [theme](https://developer.chrome.com/docs/extensions/develop/ui/themes), that shows a number of color customization options. + +## Running this extension + +1. Clone this repository. +1. Load this directory in Chrome as an [unpacked extension](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/#load-unpacked). +1. Reset your theme on the Chrome Appearance settings panel - chrome://settings/appearance diff --git a/functional-samples/sample.theme/manifest.json b/functional-samples/sample.theme/manifest.json new file mode 100644 index 00000000..b4a5cabf --- /dev/null +++ b/functional-samples/sample.theme/manifest.json @@ -0,0 +1,33 @@ +{ + "manifest_version": 3, + "name": "Simple Theme", + "version": "1.0", + "theme": { + "colors": { + "background_tab": [255, 0, 0], + "background_tab_inactive": [0, 255, 0], + "background_tab_incognito": [0, 0, 255], + "background_tab_incognito_inactive": [255, 255, 0], + "bookmark_text": [255, 0, 255], + "button_background": [0, 255, 255], + "frame": [128, 128, 128], + "frame_inactive": [255, 128, 0], + "frame_incognito": [128, 255, 0], + "frame_incognito_inactive": [0, 128, 255], + "ntp_background": [255, 0, 128], + "ntp_header": [0, 255, 128], + "ntp_link": [128, 0, 255], + "ntp_text": [255, 255, 255], + "omnibox_background": [0, 128, 128], + "omnibox_text": [128, 128, 0], + "tab_background_text": [0, 0, 128], + "tab_background_text_inactive": [0, 128, 0], + "tab_background_text_incognito": [128, 0, 0], + "tab_background_text_incognito_inactive": [128, 128, 128], + "tab_text": [255, 255, 0], + "toolbar": [255, 0, 64], + "toolbar_button_icon": [0, 255, 64], + "toolbar_text": [64, 0, 255] + } + } +}