[bug] fix inital theme accent colour not being neutral

This commit is contained in:
zombieFox 2020-05-08 11:07:55 +01:00
parent b4e0779f6d
commit 6e231e4154
5 changed files with 7 additions and 7 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "nightTab", "name": "nightTab",
"version": "5.31.1", "version": "5.31.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "nightTab", "name": "nightTab",
"version": "5.31.1", "version": "5.31.2",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -1,9 +1,9 @@
:root { :root {
/* theme */ /* theme */
--theme-root-font-size: 14px; --theme-root-font-size: 14px;
--theme-accent-r: 250; --theme-accent-r: 25;
--theme-accent-g: 130; --theme-accent-g: 25;
--theme-accent-b: 0; --theme-accent-b: 25;
--theme-accent: var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b); --theme-accent: var(--theme-accent-r), var(--theme-accent-g), var(--theme-accent-b);
--theme-accent-accessible-threshold: 0.5; --theme-accent-accessible-threshold: 0.5;
--theme-accent-accessible-r: calc(var(--theme-accent-r) * 0.50); --theme-accent-accessible-r: calc(var(--theme-accent-r) * 0.50);

View File

@ -1,6 +1,6 @@
var version = (function() { var version = (function() {
var current = "5.31.1"; var current = "5.31.2";
var name = "Zonked Tarsier"; var name = "Zonked Tarsier";

View File

@ -2,7 +2,7 @@
"name": "nightTab", "name": "nightTab",
"short_name": "nightTab", "short_name": "nightTab",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"version": "5.31.1", "version": "5.31.2",
"manifest_version": 2, "manifest_version": 2,
"chrome_url_overrides": { "chrome_url_overrides": {
"newtab": "index.html" "newtab": "index.html"