Merge pull request #4662 from urbit/la/lightgray

interface: borders changed from washedGray to lightGray to match Figma mocks
This commit is contained in:
L 2021-03-25 16:24:33 -05:00 committed by GitHub
commit 1972fcba02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
20 changed files with 28 additions and 23 deletions

View File

@ -165,7 +165,7 @@ class ChatInput extends Component<ChatInputProps, ChatInputState> {
flexGrow={1}
flexShrink={0}
borderTop={1}
borderTopColor='washedGray'
borderTopColor='lightGray'
backgroundColor='white'
className='cf'
zIndex={0}

View File

@ -194,7 +194,13 @@ export default function LaunchApp(props) {
to="/~landscape/home"
p={0}
>
<Box p={2} height='100%' width='100%' bg='scales.black20'>
<Box
p={2}
height='100%'
width='100%'
bg='scales.black20'
border={1}
borderColor="lightGray">
<Row alignItems='center'>
<Icon
color="black"

View File

@ -12,7 +12,7 @@ export default class CustomTile extends React.PureComponent {
position='relative'
backgroundColor='white'
border='1px solid'
borderColor='washedGray'
borderColor='lightGray'
borderRadius='2'
>
<BaseImage

View File

@ -48,7 +48,7 @@ const Tile = React.forwardRef((props, ref) => {
borderRadius={2}
overflow="hidden"
bg={bg || "white"}
color={props?.color || 'washedGray'}
color={props?.color || 'lightGray'}
boxShadow={boxShadow || '0 0 0px 1px inset'}
style={{ gridColumnStart }}
>

View File

@ -112,7 +112,7 @@ export const LinkItem = (props: LinkItemProps): ReactElement => {
width="100%"
color='washedGray'
border={1}
borderColor={isUnread ? 'blue' : 'washedGray'}
borderColor={isUnread ? 'blue' : 'lightGray'}
borderRadius={2}
alignItems="flex-start"
overflow="hidden"

View File

@ -153,7 +153,7 @@ const LinkSubmit = (props: LinkSubmitProps) => {
flexShrink={0}
position='relative'
border='1px solid'
borderColor={submitFocused ? 'black' : 'washedGray'}
borderColor={submitFocused ? 'black' : 'lightGray'}
width='100%'
borderRadius={2}
{...bind}

View File

@ -130,11 +130,11 @@ export default function Inbox(props: {
);
})}
{isDone ? (
<Center mt="2" borderTop={notifications.length !== 0 ? 1 : 0} borderTopColor="washedGray" width="100%" height="96px">
<Center mt="2" borderTop={notifications.length !== 0 ? 1 : 0} borderTopColor="lightGray" width="100%" height="96px">
<Text gray fontSize="1">No more notifications</Text>
</Center>
) : isLoading ? (
<Center mt="2" borderTop={notifications.length !== 0 ? 1 : 0} borderTopColor="washedGray" width="100%" height="96px">
<Center mt="2" borderTop={notifications.length !== 0 ? 1 : 0} borderTopColor="lightGray" width="100%" height="96px">
<LoadingSpinner />
</Center>
) : (

View File

@ -76,7 +76,7 @@ export default function NotificationsScreen(props: any): ReactElement {
justifyContent="space-between"
width="100%"
borderBottom="1"
borderBottomColor="washedGray"
borderBottomColor="lightGray"
>
<Text ref={anchorRef}>Notifications</Text>

View File

@ -96,14 +96,14 @@ export function NoteNavigation(props: NoteNavigationProps): ReactElement {
px={2}
borderTop={1}
borderBottom={1}
borderColor="washedGray"
borderColor="lightGray"
display="grid"
alignItems="center"
gridTemplateColumns="1fr 1px 1fr"
gridTemplateRows="100px"
>
{prevComponent}
<Box borderRight={1} borderColor="washedGray" height="100%" />
<Box borderRight={1} borderColor="lightGray" height="100%" />
{nextComponent}
</Box>
);

View File

@ -78,7 +78,7 @@ export function NotePreview(props: NotePreviewProps) {
<Col
lineHeight='tall'
width='100%'
color={!isUnread ? 'washedGray' : 'blue'}
color={!isUnread ? 'lightGray' : 'blue'}
border={1}
borderRadius={2}
alignItems='flex-start'

View File

@ -52,7 +52,7 @@ export function Notebook(props: NotebookProps & RouteComponentProps): ReactEleme
</Text>
</Box>
</Row>
<Box borderBottom="1" borderBottomColor="washedGray" />
<Box borderBottom="1" borderBottomColor="lightGray" />
<NotebookPosts
graph={graph}
host={ship}

View File

@ -14,7 +14,7 @@ export function Body(
width="100%"
borderRadius={2}
border={border ? border : [0, 1]}
borderColor={['washedGray', 'washedGray']}
borderColor={['lightGray', 'lightGray']}
{...boxProps}
>
{children}

View File

@ -77,7 +77,7 @@ const StatusBar = (props) => {
<Row collapse>
<Button
width='32px'
borderColor='washedGray'
borderColor='lightGray'
mr='2'
px='2'
onClick={() => history.push('/')}

View File

@ -19,7 +19,7 @@ export function StatusBarItem({
<Button
style={{ position: 'relative', ...floatPos }}
border={1}
color="washedGray"
color="lightGray"
bg="white"
px={2}
overflow='visible'

View File

@ -95,7 +95,7 @@ export function GroupSwitcher(props: {
top="0px"
pl='3'
borderBottom='1px solid'
borderColor='washedGray'
borderColor='lightGray'
>
<Col
bg="white"

View File

@ -37,7 +37,7 @@ export const AddFeedBanner = (props) => {
alignItems="center"
justifyContent="space-between"
borderBottom={1}
borderColor="washedGray"
borderColor="lightGray"
pl={2}
pr={2}
>

View File

@ -16,7 +16,6 @@ export function GroupFeedHeader(props) {
const locationUrl =
history.location.pathname.replace(`${baseUrl}`, '').replace(/^\/[a-z]*/, '');
console.log(locationUrl);
let nodeIndex = locationUrl.split('/').slice(1).map((ind) => {
return bigInt(ind);
});
@ -48,7 +47,7 @@ export function GroupFeedHeader(props) {
pr="2"
alignItems="center"
borderBottom={1}
borderColor="washedGray">
borderColor="lightGray">
<Box display='block'>
{ ( baseUrl !== historyLocation &&
`${baseUrl}/feed` !== historyLocation

View File

@ -79,7 +79,7 @@ export function ResourceSkeleton(props: ResourceSkeletonProps): ReactElement {
display="flex"
alignItems="center"
borderBottom={1}
borderBottomColor="washedGray"
borderBottomColor="lightGray"
>
<Box
borderRight={1}

View File

@ -73,7 +73,7 @@ export function Sidebar(props: SidebarProps): ReactElement | null {
gridColumn="1/2"
borderTopLeftRadius='2'
borderRight={1}
borderRightColor="washedGray"
borderRightColor="lightGray"
overflowY="scroll"
fontSize={0}
position="relative"

View File

@ -71,7 +71,7 @@ export function SidebarListHeader(props: {
px={3}
height='48px'
borderBottom={1}
borderColor="washedGray"
borderColor="lightGray"
backgroundColor={['transparent',
props.history.location.pathname === `/~landscape${groupPath}` ||
props.history.location.pathname.includes(`/~landscape${groupPath}/feed`)