Stop caching stupid things and causing builds to die
This commit is contained in:
parent
c75f89889a
commit
22687bd078
8 changed files with 91 additions and 113 deletions
|
@ -5,10 +5,8 @@ import { faCogs, faLayerGroup, faSignOutAlt, faUserCircle } from '@fortawesome/f
|
|||
import { useStoreState } from 'easy-peasy';
|
||||
import { ApplicationStore } from '@/state';
|
||||
import SearchContainer from '@/components/dashboard/search/SearchContainer';
|
||||
import tw from 'twin.macro';
|
||||
import tw, { theme } from 'twin.macro';
|
||||
import styled from 'styled-components/macro';
|
||||
// @ts-ignore
|
||||
import * as config from '@/../../tailwind.config.js';
|
||||
|
||||
const Navigation = styled.div`
|
||||
${tw`w-full bg-neutral-900 shadow-md overflow-x-auto`};
|
||||
|
@ -37,7 +35,7 @@ const RightNavigation = styled.div`
|
|||
}
|
||||
|
||||
&:active, &:hover, &.active {
|
||||
box-shadow: inset 0 -2px ${config.theme.colors.cyan['700']};
|
||||
box-shadow: inset 0 -2px ${theme`colors.cyan.700`.toString()};
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
|
|
@ -94,7 +94,7 @@ class DropdownMenu extends React.PureComponent<Props, State> {
|
|||
e.stopPropagation();
|
||||
this.setState({ visible: false });
|
||||
}}
|
||||
css={tw`absolute bg-white p-2 rounded border border-neutral-700 shadow-lg text-neutral-500 min-w-48 z-50`}
|
||||
css={tw`absolute bg-white p-2 rounded border border-neutral-700 shadow-lg text-neutral-500 z-50`}
|
||||
>
|
||||
{this.props.children}
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import styled from 'styled-components/macro';
|
||||
import tw from 'twin.macro';
|
||||
// @ts-ignore
|
||||
import config from '../../../../tailwind.config';
|
||||
import tw, { theme } from 'twin.macro';
|
||||
|
||||
const SubNavigation = styled.div`
|
||||
${tw`w-full bg-neutral-700 shadow overflow-x-auto`};
|
||||
|
@ -23,7 +21,7 @@ const SubNavigation = styled.div`
|
|||
|
||||
&:active, &.active {
|
||||
${tw`text-neutral-100`};
|
||||
box-shadow: inset 0 -2px ${config.theme.colors.cyan['500']};
|
||||
box-shadow: inset 0 -2px ${theme`colors.cyan.700`.toString()};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue