Skip to content

Commit 88a3c05

Browse files
committed
[design] improve menu nav colour contrast
1 parent 01dc2c2 commit 88a3c05

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nightTab",
3-
"version": "5.13.0",
3+
"version": "5.14.0",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
55
"main": "index.js",
66
"scripts":{

‎src/css/menu.css‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
}
160160

161161
.menu-nav{
162-
background-color:rgba(var(--theme-color-02),0.25);
162+
background-color:rgb(var(--theme-color-02));
163163
grid-column-start:1;
164164
grid-column-end:2;
165165
grid-row-start:1;
@@ -216,7 +216,7 @@
216216
}
217217

218218
.menu-subnav{
219-
background-color:rgb(var(--theme-color-02));
219+
background-color:rgb(var(--theme-color-03));
220220
display: flex;
221221
flex-direction: column;
222222
flex-wrap: nowrap;
@@ -247,6 +247,15 @@
247247
justify-content: flex-start;
248248
}
249249

250+
.menu-nav-sub:focus,
251+
.menu-nav-sub:hover{
252+
background-color:rgb(var(--theme-color-04));
253+
}
254+
255+
.menu-nav-sub:active{
256+
background-color:rgb(var(--theme-color-05));
257+
}
258+
250259
.menu-nav-sub:after,
251260
.menu-nav-sub:after{
252261
background-color: transparent;

‎src/js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
varversion=(function(){
22

3-
varcurrent="5.13.0";
3+
varcurrent="5.14.0";
44

55
varname="Zonked Tarsier";
66

‎src/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nightTab",
33
"short_name": "nightTab",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
5-
"version": "5.13.0",
5+
"version": "5.14.0",
66
"manifest_version": 2,
77
"chrome_url_overrides":{
88
"newtab": "index.html"

0 commit comments

Comments
(0)