p5.js-web-editor/client/components/mobile/Footer.jsx

18 lines
406 B
React
Raw Permalink Normal View History

import React from 'react';
import styled from 'styled-components';
import { prop, grays } from '../../theme';
2020-07-01 18:52:23 +00:00
const background = prop('MobilePanel.default.background');
const textColor = prop('primaryTextColor');
2020-07-20 21:51:42 +00:00
export default styled.div`
position: fixed;
width: 100%;
bottom: 0;
background: ${background};
color: ${textColor};
& > * + * { border-top: dashed 1px ${prop('Separator')} }
`;