mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-27 02:24:22 +01:00
[design] change theme control order
This commit is contained in:
parent
9aa6887e64
commit
8a234de5df
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"version": "5.6.0",
|
"version": "5.7.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "nightTab",
|
"name": "nightTab",
|
||||||
"version": "5.6.0",
|
"version": "5.7.0",
|
||||||
"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": {
|
||||||
|
@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
@@include("./theme/saved.html")
|
@@include("./theme/saved.html")
|
||||||
|
|
||||||
@@include("./theme/style.html")
|
|
||||||
|
|
||||||
@@include("./theme/fonts.html")
|
@@include("./theme/fonts.html")
|
||||||
|
|
||||||
|
@@include("./theme/style.html")
|
||||||
|
|
||||||
@@include("./theme/color.html")
|
@@include("./theme/color.html")
|
||||||
|
|
||||||
@@include("./theme/accent.html")
|
@@include("./theme/accent.html")
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
<p class="control-theme-color-helper form-helper-item">Text and form elements use shades from the right.</p>
|
<p class="control-theme-color-helper form-helper-item">Text and form elements use shades from the right.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-helper">
|
<div class="form-helper">
|
||||||
<p class="control-theme-color-helper form-helper-item">For a light look switch to the Light Style and then select a Shade colour.</p>
|
<p class="control-theme-color-helper form-helper-item">For a light look switch to the Light Style and then select a Primary colour.</p>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="form-wrap">
|
<div class="form-wrap">
|
||||||
|
@ -61,8 +61,8 @@
|
|||||||
<div class="menu-subnav menu-subnav-theme">
|
<div class="menu-subnav menu-subnav-theme">
|
||||||
<a href="#menu-content-theme-preset" class="menu-nav-sub button button-small" tabindex="-1">Preset</a>
|
<a href="#menu-content-theme-preset" class="menu-nav-sub button button-small" tabindex="-1">Preset</a>
|
||||||
<a href="#menu-content-theme-saved" class="menu-nav-sub button button-small" tabindex="-1">Saved</a>
|
<a href="#menu-content-theme-saved" class="menu-nav-sub button button-small" tabindex="-1">Saved</a>
|
||||||
<a href="#menu-content-theme-style" class="menu-nav-sub button button-small" tabindex="-1">Style</a>
|
|
||||||
<a href="#menu-content-theme-fonts" class="menu-nav-sub button button-small" tabindex="-1">Fonts</a>
|
<a href="#menu-content-theme-fonts" class="menu-nav-sub button button-small" tabindex="-1">Fonts</a>
|
||||||
|
<a href="#menu-content-theme-style" class="menu-nav-sub button button-small" tabindex="-1">Style</a>
|
||||||
<a href="#menu-content-theme-color" class="menu-nav-sub button button-small" tabindex="-1">Colour</a>
|
<a href="#menu-content-theme-color" class="menu-nav-sub button button-small" tabindex="-1">Colour</a>
|
||||||
<a href="#menu-content-theme-accent" class="menu-nav-sub button button-small" tabindex="-1">Accent</a>
|
<a href="#menu-content-theme-accent" class="menu-nav-sub button button-small" tabindex="-1">Accent</a>
|
||||||
<a href="#menu-content-theme-radius" class="menu-nav-sub button button-small" tabindex="-1">Radius</a>
|
<a href="#menu-content-theme-radius" class="menu-nav-sub button button-small" tabindex="-1">Radius</a>
|
||||||
|
@ -4416,21 +4416,6 @@ var control = (function() {
|
|||||||
render.class();
|
render.class();
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
style: [{
|
|
||||||
element: ".control-theme-style-dark",
|
|
||||||
path: "theme.style",
|
|
||||||
type: "radio",
|
|
||||||
func: function() {
|
|
||||||
theme.style.dark();
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
element: ".control-theme-style-light",
|
|
||||||
path: "theme.style",
|
|
||||||
type: "radio",
|
|
||||||
func: function() {
|
|
||||||
theme.style.light();
|
|
||||||
}
|
|
||||||
}],
|
|
||||||
fonts: [{
|
fonts: [{
|
||||||
element: ".control-theme-font-display-name",
|
element: ".control-theme-font-display-name",
|
||||||
path: "theme.font.display.name",
|
path: "theme.font.display.name",
|
||||||
@ -4650,6 +4635,21 @@ var control = (function() {
|
|||||||
render.update.control.menu();
|
render.update.control.menu();
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
style: [{
|
||||||
|
element: ".control-theme-style-dark",
|
||||||
|
path: "theme.style",
|
||||||
|
type: "radio",
|
||||||
|
func: function() {
|
||||||
|
theme.style.dark();
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
element: ".control-theme-style-light",
|
||||||
|
path: "theme.style",
|
||||||
|
type: "radio",
|
||||||
|
func: function() {
|
||||||
|
theme.style.light();
|
||||||
|
}
|
||||||
|
}],
|
||||||
color: [{
|
color: [{
|
||||||
element: ".control-theme-color-rgb-color",
|
element: ".control-theme-color-rgb-color",
|
||||||
path: "theme.color.rgb",
|
path: "theme.color.rgb",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
var version = (function() {
|
var version = (function() {
|
||||||
|
|
||||||
var current = "5.6.0";
|
var current = "5.7.0";
|
||||||
|
|
||||||
var name = "Zonked Tarsier";
|
var name = "Zonked Tarsier";
|
||||||
|
|
||||||
|
@ -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.6.0",
|
"version": "5.7.0",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"chrome_url_overrides": {
|
"chrome_url_overrides": {
|
||||||
"newtab": "index.html"
|
"newtab": "index.html"
|
||||||
|
Loading…
Reference in New Issue
Block a user