mirror of
https://github.com/morten-olsen/bob-the-algorithm.git
synced 2026-02-08 00:46:25 +01:00
fixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Body1, Caption, Overline } from "../../../typography";
|
||||
import { Title1, Title2, Body1, Caption, Overline } from "../../../typography";
|
||||
import { Row, Cell, Icon, RowProps } from '../../base';
|
||||
import styled from "styled-components/native"
|
||||
import stringToColor from 'string-to-color';
|
||||
@@ -61,8 +61,8 @@ const CalendarEntry = ({
|
||||
height={height}
|
||||
color={color}
|
||||
>
|
||||
<Overline color="background">{location}</Overline>
|
||||
<Body1 color="background">{title}</Body1>
|
||||
{!!location && <Overline color="background">{location}</Overline>}
|
||||
<Title1 color="background">{title}</Title1>
|
||||
<Caption color="background">{time}</Caption>
|
||||
</Wrapper>
|
||||
);
|
||||
|
||||
@@ -70,7 +70,6 @@ const CalendarStrip: React.FC<Props> = ({ start, selected, onSelect }) => {
|
||||
}, [firstDayOfWeek]);
|
||||
|
||||
const monthLabel = useMemo(() => {
|
||||
console.log(months);
|
||||
if (months[0] === months[1]) {
|
||||
return new Date(0, months[0], 1).toLocaleString('en-us', { month: 'long' });
|
||||
} else {
|
||||
|
||||
@@ -50,7 +50,7 @@ const light: Theme = {
|
||||
},
|
||||
font: {
|
||||
family: Platform.OS === 'web' ? 'Montserrat' : undefined,
|
||||
baseSize: Platform.OS === 'web' ? 12 : 10,
|
||||
baseSize: Platform.OS === 'web' ? 12 : 11,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user