Skip to content

Commit ec13664

Browse files
committed
fix color scheme for eob
1 parent 22e2d4d commit ec13664

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/components/CodeEditor/Switch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ margin-right: ${({ theme }) => theme.spacing02};
2121

2222

2323
const SwitchWrap = styled.div`
24-
height: 24px;
24+
height: ${(props) => props.theme.switchHeight ? props.theme.switchHeight : '24px'};
2525
width: 40px;
2626
position: relative;
2727
border-radius: 50px;

src/components/CodeEditor/editor-themes/themesEoBrowser.jsx

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ export const themeEoBrowserDark = {
22
name: "eo-browser-dark",
33
styles: {
44
colorUI500: "#f4f4f4",
5-
colorBg400: "#343746",
6-
colorBg500: "#2a2c38",
7-
colorBg600: "#262630",
5+
colorBg400: "#3a3d3d",
6+
colorBg500: "#3a3d3d",
7+
colorBg600: "#333636",
88
colorPrimary500: "#b6bf00",
99
colorPrimary600: "rgba(182,191,0,.7)",
1010
colorText500: "#101119",
11+
switchHeight: "20px",
1112
},
1213
};
1314

@@ -20,5 +21,6 @@ export const themeEoBrowserLight = {
2021
colorPrimary500: "#b6bf00",
2122
colorPrimary600: "#6d7300",
2223
colorText500: "#101119",
24+
switchHeight: "20px",
2325
},
2426
};

0 commit comments

Comments
 (0)