* add sample theme

* Update functional-samples/sample.theme/manifest.json

Co-authored-by: Oliver Dunk <oliverdunk@google.com>

* update chrome url in readme

---------

Co-authored-by: Oliver Dunk <oliverdunk@google.com>
This commit is contained in:
patrick kettner 2024-04-18 18:14:51 -04:00 коммит произвёл GitHub
Родитель 4313186bc9
Коммит 2b4e05a900
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 42 добавлений и 0 удалений

Двоичные данные
functional-samples/sample.theme/Cached Theme.pak Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -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

Просмотреть файл

@ -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]
}
}
}