Stop caching stupid things and causing builds to die

This commit is contained in:
Dane Everitt 2020-12-26 10:41:25 -08:00
parent c75f89889a
commit 22687bd078
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 91 additions and 113 deletions

View file

@ -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()};
}
}
`;

View file

@ -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>

View file

@ -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()};
}
}
}