Skip to content

Commit 2a3b0a2

Browse files
committed
reduced one shade less in dark-mode border colors
1 parent 71cc0eb commit 2a3b0a2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/rapidoc.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export default class RapiDoc extends LitElement {
121121
--fg3:#aaa;
122122
--light-fg:#777;
123123
--very-light-fg:#666;
124-
--border-color:#666;
124+
--border-color:#555;
125125
--light-border-color:#444;
126126
--pre-border-color:#666;
127127
--pre-fg:#fff;
@@ -150,7 +150,7 @@ export default class RapiDoc extends LitElement {
150150
--fg3:#666;
151151
--light-fg:#999;
152152
--very-light-fg:#bbb;
153-
--border-color:#ccc;
153+
--border-color:#ddd;
154154
--light-border-color:#eee;
155155
--pre-border-color:#4e575e;
156156
--pre-fg:#ccc;
@@ -212,7 +212,7 @@ export default class RapiDoc extends LitElement {
212212
background-color:var(--bg);
213213
font-family:var(--font-regular);
214214
}
215-
.body{
215+
.body {
216216
display:flex;
217217
height:100%;
218218
width:100%;
@@ -225,7 +225,6 @@ export default class RapiDoc extends LitElement {
225225
overflow: hidden;
226226
color:var(--nav-text-color);
227227
background-color: var(--nav-bg-color);
228-
border-right: 1px solid var(--light-border-color);
229228
box-sizing:border-box;
230229
line-height: 16px;
231230
display:none;
@@ -505,7 +504,7 @@ export default class RapiDoc extends LitElement {
505504
<div style="position:sticky; top:0; display:flex; flex-direction:row; align-items: stretch; padding:16px 30px 16px 16px; background: var(--nav-bg-color);">
506505
<slot name="nav-logo" class="logo"></slot>
507506
<div style="display:flex; flex:1">
508-
<input id="nav-bar-search" style="width:100%; padding-right:20px;" type="text" placeholder="search" @change="${this.onSearchChange}" spellcheck="false" >
507+
<input id="nav-bar-search" style="width:100%; padding-right:20px; color:var(--nav-accent-color); border-color:var(--nav-accent-color); background-color:var(--nav-hover-bg-color)" type="text" placeholder="search" @change="${this.onSearchChange}" spellcheck="false" >
509508
<div style="margin: 6px 5px 0 -24px; font-size:var(--title-font-size); cursor:pointer;">&#x23ce;</div>
510509
</div>
511510
${this.matchPaths

src/styles/input-styles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ input, select, button {
88
font-weight:400;
99
color:var(--fg);
1010
}
11-
1211
/* Button */
1312
.m-btn{
1413
border-radius: var(--border-radius);
@@ -46,6 +45,7 @@ input, select, button {
4645
}
4746
4847
/* Form Inputs */
48+
select,
4949
textarea,
5050
input[type="file"],
5151
input[type="text"],

0 commit comments

Comments
 (0)