Is there something I'm missing?
css={css({':focus': {borderColor: 'blue20'}}

This is being used on a <Flexbox /> component built in @emotion/styled + styled-system.
// @flow
import styled from '@emotion/styled';
import {
alignItems,
alignContent,
justifyContent,
justifyItems,
flexWrap,
flexBasis,
flexDirection,
flex,
justifySelf,
alignSelf,
order,
} from 'styled-system';
import shouldForwardProp from '@styled-system/should-forward-prop';
import {Box} from './Box';
export const Flexbox = styled(Box, {
shouldForwardProp,
})(
{
boxSizing: 'border-box',
display: 'flex',
label: 'flexbox-primitive',
},
alignItems,
alignContent,
justifyContent,
justifyItems,
flexWrap,
flexBasis,
flexDirection,
flex,
justifySelf,
alignSelf,
order
);
What's odd is that I can get it to work here: https://stackblitz.com/edit/react-zzznyy
Is there something I'm missing?
This is being used on a
<Flexbox />component built in@emotion/styled+styled-system.What's odd is that I can get it to work here: https://stackblitz.com/edit/react-zzznyy