Skip to content

Commit a65173f

Browse files
author
Shawn Erquhart
committed
further improve ui contrast and consistency
1 parent 415fe18 commit a65173f

File tree

6 files changed

+8
-17
lines changed

6 files changed

+8
-17
lines changed

src/components/ControlPanel/ControlPane.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
width: 100%;
1515
padding: 12px;
1616
margin: 0;
17-
border: 2px solid rgb(230, 230, 230);
17+
border: 2px solid var(--textFieldBorderColor);
1818
border-radius: var(--borderRadius);
1919
outline: 0;
2020
box-shadow: none;

src/components/EntryEditor/EntryEditor.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@
5454
}
5555

5656
.ProseMirror {
57-
border: 2px solid rgb(230, 230, 230);
57+
border: 2px solid var(--textFieldBorderColor);
5858
}

src/components/EntryListing/EntryListing.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
.card {
2-
flex-grow: 1;
3-
flex-basis: 31%;
4-
flex-basis: 300px;
2+
flex: 0 300px;
53
overflow: hidden;
64
margin-bottom: 16px;
75
margin-left: 16px;

src/components/UI/card/Card.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@import '../theme.css';
22

33
.card {
4-
composes: base container rounded depth;
4+
composes: base container rounded;
55
overflow: hidden;
6-
border: 1px solid #f7f8f8;
6+
border: 2px solid var(--textFieldBorderColor);
77
transition: all .1s ease-in-out;
88
transform: translateY(0);
99
padding: 16px 24px;

src/components/UI/theme.css

+2-5
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@
1717
--topmostZindex: 99999;
1818
--foregroundAltColor: #fff;
1919
--backgroundAltColor: #232528;
20-
--textFieldBorderColor: #e7e7e7;
20+
--textFieldBorderColor: #e6e6e6;
2121
--highlightFGColor: #fff;
2222
--highlightBGColor: #3ab7a5;
2323
--highlightFGAltColor: #eee;
2424
--controlLabelColor: #8b8b8b;
2525
--controlBGColor: #fff;
26+
--control
2627
--backgroundTertiaryColor: #fff;
2728
--backgroundTertiaryColorDark: color(var(--backgroundTertiaryColor) lightness(90%));
2829
}
@@ -40,10 +41,6 @@
4041
border-radius: var(--borderRadius);
4142
}
4243

43-
.depth {
44-
box-shadow: var(--dropShadow);
45-
}
46-
4744
.clearfix:after {
4845
content: '';
4946
display: table;

src/components/Widgets/MarkdownControlElements/VisualEditor/index.css

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
@import "../../../UI/theme";
22

33
.editorControlBar {
4-
background-color: var(--controlBGColor);
5-
border-bottom: 1px solid var(--backgroundTertiaryColorDark);
6-
border-radius: var(--borderRadius) var(--borderRadius) 0 0;
74
z-index: 1;
85
}
96

@@ -70,8 +67,7 @@
7067
padding: 12px;
7168
border-radius: var(--borderRadius);
7269
overflow-x: auto;
73-
border: 2px solid rgb(230, 230, 230);
74-
border-top: 1px solid rgb(230, 230, 230);
70+
border: 2px solid var(--textFieldBorderColor);
7571
min-height: 500px;
7672

7773
& ul {

0 commit comments

Comments
 (0)