chore: style updates

This commit is contained in:
Anoop M D 2023-10-04 03:07:50 +05:30
parent 3f4f7fb24c
commit bdb7ff9947
4 changed files with 24 additions and 2 deletions

View File

@ -1,9 +1,14 @@
import styled from 'styled-components'; import styled from 'styled-components';
const Wrapper = styled.div` const Wrapper = styled.div`
label {
font-size: 0.8125rem;
}
.single-line-editor-wrapper { .single-line-editor-wrapper {
padding: 0.15rem 0.4rem; padding: 0.15rem 0.4rem;
border: ${(props) => props.theme.sidebar.search.border}; border: ${(props) => props.theme.input.border};
background-color: ${(props) => props.theme.input.bg};
} }
`; `;

View File

@ -1,9 +1,14 @@
import styled from 'styled-components'; import styled from 'styled-components';
const Wrapper = styled.div` const Wrapper = styled.div`
label {
font-size: 0.8125rem;
}
.single-line-editor-wrapper { .single-line-editor-wrapper {
padding: 0.15rem 0.4rem; padding: 0.15rem 0.4rem;
border: ${(props) => props.theme.sidebar.search.border}; border: ${(props) => props.theme.input.border};
background-color: ${(props) => props.theme.input.bg};
} }
`; `;

View File

@ -16,6 +16,12 @@ const darkTheme = {
} }
}, },
input: {
bg: 'rgb(65, 65, 65)',
border: 'rgb(65, 65, 65)',
focusBorder: 'rgb(65, 65, 65)'
},
variables: { variables: {
bg: 'rgb(48, 48, 49)', bg: 'rgb(48, 48, 49)',

View File

@ -16,6 +16,12 @@ const lightTheme = {
} }
}, },
input: {
bg: 'white',
border: '#ccc',
focusBorder: '#8b8b8b'
},
menubar: { menubar: {
bg: 'rgb(44, 44, 44)' bg: 'rgb(44, 44, 44)'
}, },