p5.js-web-editor/client/components/mobile/Footer.jsx
2020-07-21 12:14:58 -03:00

17 lines
406 B
JavaScript

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