css changes
This commit is contained in:
parent
249884133c
commit
386bdd026b
8 changed files with 9 additions and 4 deletions
|
@ -9,6 +9,7 @@ const Container = styled.div`
|
|||
user-select: none;
|
||||
box-sizing: border-box;
|
||||
font-family: 'Tonka';
|
||||
font-variation-settings: 'wght' 800;
|
||||
${pointerEventsAutoInNormalMode};
|
||||
/* box-shadow: 1px 2px 10px -5px black; */
|
||||
|
||||
|
|
|
@ -89,6 +89,7 @@ const InputContainer = styled.div`
|
|||
flex-grow: 0;
|
||||
padding-bottom: 4px;
|
||||
padding-top: 4px;
|
||||
font-variation-settings: 'wght' 800;
|
||||
`
|
||||
|
||||
type ISingleRowPropEditorProps<T> = {
|
||||
|
|
|
@ -32,6 +32,7 @@ const Header = styled(BaseHeader)`
|
|||
pointer-events: none;
|
||||
white-space: nowrap;
|
||||
font-family: 'Tonka';
|
||||
font-variation-settings: 'wght' 800;
|
||||
/*box-shadow: 0 3px 4px -1px rgba(0, 0, 0, 0.48);*/
|
||||
|
||||
color: rgba(0, 0, 0, 0.8);
|
||||
|
@ -64,7 +65,7 @@ const Header = styled(BaseHeader)`
|
|||
`
|
||||
|
||||
export const outlineItemFont = css`
|
||||
font-weight: 500;
|
||||
font-variation-settings: 'wght' 800;
|
||||
font-size: 12px;
|
||||
& {
|
||||
}
|
||||
|
|
|
@ -4,6 +4,6 @@ import {css} from 'styled-components'
|
|||
export const propNameTextCSS = css<{isHighlighted?: PropHighlighted}>`
|
||||
font-weight: 300;
|
||||
font-size: 12px;
|
||||
font-variation-settings: 'wght' 130;
|
||||
font-variation-settings: 'wght' 500;
|
||||
color: ${(props) => (props.isHighlighted === 'self' ? '#000000' : '#000000')};
|
||||
`
|
||||
|
|
|
@ -53,7 +53,7 @@ const Input = styled.input`
|
|||
border-radius: 0px;
|
||||
margin-bottom: 0px;
|
||||
text-align: center;
|
||||
font-variation-settings: 'wght' 200;
|
||||
font-variation-settings: 'wght' 700;
|
||||
|
||||
&:focus {
|
||||
cursor: text;
|
||||
|
|
|
@ -32,6 +32,7 @@ const Select = styled.select`
|
|||
text-align: left;
|
||||
width: 100%;
|
||||
border-radius: 0px;
|
||||
font-variation-settings: 'wght' 700;
|
||||
/*
|
||||
looks like putting percentages in the height of a select box doesn't work in Firefox. Not sure why.
|
||||
So we're hard-coding the height to 26px, unlike all other inputs that use a relative height.
|
||||
|
|
|
@ -21,7 +21,7 @@ const StyledTextarea = styled.textarea.attrs({type: 'text'})`
|
|||
box-sizing: border-box;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 10px;
|
||||
font-variation-settings: 'wght' 200;
|
||||
font-variation-settings: 'wght' 700;
|
||||
|
||||
&:hover {
|
||||
background-color: #10101042;
|
||||
|
|
|
@ -15,6 +15,7 @@ const ItemContainer = styled.li<{enabled: boolean}>`
|
|||
font-weight: 400;
|
||||
position: relative;
|
||||
font-family: 'Tonka';
|
||||
font-variation-settings: 'wght' 800;
|
||||
text-transform: uppercase;
|
||||
color: ${(props) => (props.enabled ? 'white' : '#484848')};
|
||||
cursor: ${(props) => (props.enabled ? 'normal' : 'not-allowed')};
|
||||
|
|
Loading…
Reference in a new issue