Skip to content

Commit 4c50e5f

Browse files
committed
variant: fix inconsistent color variable naming matcornic#200
1 parent e5021f4 commit 4c50e5f

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

static/css/theme-blue.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
3232
--MENU-SEARCH-BG-color: #167ad0; /* Search field background color (by default borders + icons) */
33-
--MENU-SEARCH-BOX-color: #33a1ff; /* Override search field border color */
33+
--MENU-SEARCH-BORDER-color: #33a1ff; /* Override search field border color */
3434

3535
--MENU-SECTIONS-ACTIVE-BG-color: #20272b; /* Background color of the active section and its children */
3636
--MENU-SECTIONS-BG-color: #252c31; /* Background color of other sections */

static/css/theme-green.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
3232
--MENU-SEARCH-BG-color: #599a3e; /* Search field background color (by default borders + icons) */
33-
--MENU-SEARCH-BOX-color: #84c767; /* Override search field border color */
33+
--MENU-SEARCH-BORDER-color: #84c767; /* Override search field border color */
3434

3535
--MENU-SECTIONS-ACTIVE-BG-color: #1b211c; /* Background color of the active section and its children */
3636
--MENU-SECTIONS-BG-color: #222723; /* Background color of other sections */

static/css/theme-learn.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
3232
--MENU-SEARCH-BG-color: #764890; /* Search field background color (by default borders + icons) */
33-
--MENU-SEARCH-BOX-color: #915eae; /* Override search field border color */
33+
--MENU-SEARCH-BORDER-color: #915eae; /* Override search field border color */
3434

3535
--MENU-SECTIONS-ACTIVE-BG-color: #251f29; /* Background color of the active section and its children */
3636
--MENU-SECTIONS-BG-color: #322a38; /* Background color of other sections */

static/css/theme-neon.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
3939
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
40-
--MENU-SEARCH-BOX-color: #e0e0e0; /* Override search field border color */
40+
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
4141

4242
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* Background color of the active section and its children */
4343
--MENU-SECTIONS-BG-color: linear-gradient( 165deg, #f300b2d3 0%, #1c90f3b3 65%, #00e3d3b3 100% ); /* Background color of side bar */
@@ -71,8 +71,8 @@
7171
body a#logo,
7272
body #logo svg,
7373
body #logo svg * {
74-
color: var(--INTERNAL-MENU-SEARCH-BOX-color);
75-
fill: var(--INTERNAL-MENU-SEARCH-BOX-color) !important;
74+
color: var(--INTERNAL-MENU-SEARCH-BORDER-color);
75+
fill: var(--INTERNAL-MENU-SEARCH-BORDER-color) !important;
7676
}
7777

7878
body a#logo{

static/css/theme-red.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
--MENU-SEARCH-color: #ffffff; /* Color of search field text */
3232
--MENU-SEARCH-BG-color: #b90000; /* Search field background color (by default borders + icons) */
33-
--MENU-SEARCH-BOX-color: #ef2020; /* Override search field border color */
33+
--MENU-SEARCH-BORDER-color: #ef2020; /* Override search field border color */
3434

3535
--MENU-SECTIONS-ACTIVE-BG-color: #2b2020; /* Background color of the active section and its children */
3636
--MENU-SECTIONS-BG-color: #312525; /* Background color of other sections */

static/css/theme-relearn-dark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
3232
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
33-
--MENU-SEARCH-BOX-color: #e0e0e0; /* Override search field border color */
33+
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
3434

3535
--MENU-SECTIONS-ACTIVE-BG-color: #323232; /* Background color of the active section and its children */
3636
--MENU-SECTIONS-BG-color: #2b2b2b; /* Background color of other sections */

static/css/theme-relearn-light.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
--MENU-SEARCH-color: #e0e0e0; /* Color of search field text */
3232
--MENU-SEARCH-BG-color: #323232; /* Search field background color (by default borders + icons) */
33-
--MENU-SEARCH-BOX-color: #e0e0e0; /* Override search field border color */
33+
--MENU-SEARCH-BORDER-color: #e0e0e0; /* Override search field border color */
3434

3535
--MENU-SECTIONS-ACTIVE-BG-color: rgba( 0, 0, 0, .166 ); /* Background color of the active section and its children */
3636
--MENU-SECTIONS-BG-color: #282828; /* Background color of other sections */

static/css/theme.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ th {
118118
}
119119

120120
.searchbox {
121-
border: 1px solid #e0e0e0; /* var(--MENU-SEARCH-BOX-color) */
121+
border: 1px solid #e0e0e0; /* var(--MENU-SEARCH-BORDER-color) */
122122
border-radius: 4px;
123123
background-color: #323232; /* var(--MENU-SEARCH-BG-color) */
124124
position: relative;

static/css/variant.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
--INTERNAL-MENU-SEARCH-color: var(--MENU-SEARCH-color, var(--MENU-SEARCH-BOX-ICONS-color, #e0e0e0));
3333
--INTERNAL-MENU-SEARCH-BG-color: var(--MENU-SEARCH-BG-color, #323232);
34-
--INTERNAL-MENU-SEARCH-BOX-color: var(--MENU-SEARCH-BOX-color, var(--INTERNAL-MENU-SEARCH-BG-color));
34+
--INTERNAL-MENU-SEARCH-BORDER-color: var(--MENU-SEARCH-BORDER-color, var(--MENU-SEARCH-BOX-color, var(--INTERNAL-MENU-SEARCH-BG-color)));
3535

3636
--INTERNAL-MENU-SECTIONS-ACTIVE-BG-color: var(--MENU-SECTIONS-ACTIVE-BG-color, rgba( 0, 0, 0, .166 ));
3737
--INTERNAL-MENU-SECTIONS-BG-color: var(--MENU-SECTIONS-BG-color, #282828);
@@ -99,7 +99,7 @@ a:hover,
9999
}
100100

101101
.searchbox {
102-
border-color: var(--INTERNAL-MENU-SEARCH-BOX-color);
102+
border-color: var(--INTERNAL-MENU-SEARCH-BORDER-color);
103103
background-color: var(--INTERNAL-MENU-SEARCH-BG-color);
104104
}
105105

static/js/variant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ var variants = {
474474
{ name: 'MENU-HOME-LINK-HOVER-color', group: 'header', default: '#808080', tooltip: 'hoverd home button color if configured', },
475475
{ name: 'MENU-SEARCH-color', group: 'header', default: '#e0e0e0', tooltip: 'text and icon color of search box', },
476476
{ name: 'MENU-SEARCH-BG-color', group: 'header', default: '#323232', tooltip: 'background color of search box', },
477-
{ name: 'MENU-SEARCH-BOX-color', group: 'header', fallback: 'MENU-SEARCH-BG-color', tooltip: 'border color of search box', },
477+
{ name: 'MENU-SEARCH-BORDER-color', group: 'header', fallback: 'MENU-SEARCH-BG-color', tooltip: 'border color of search box', },
478478

479479
{ name: 'MENU-SECTIONS-BG-color', group: 'sections', default: '#282828', tooltip: 'background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc.', },
480480
{ name: 'MENU-SECTIONS-ACTIVE-BG-color', group: 'sections', default: 'rgba( 0, 0, 0, .166 )', tooltip: 'background color of the active menu section', },

0 commit comments

Comments
 (0)