Skip to content

Instantly share code, notes, and snippets.

@btodts
Created April 7, 2020 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btodts/4142f03e6808a90aa1bcc77e4f99888e to your computer and use it in GitHub Desktop.
Save btodts/4142f03e6808a90aa1bcc77e4f99888e to your computer and use it in GitHub Desktop.
import React from "react";
import styled from "styled-components";
const Container = styled.div`
display: flex;
flex-direction: column;
width: 100vw;
height: 100vh;
align-items: center;
justify-content: center;
font-family: sans-serif;
`;
const App = () => (
<Container>
<h1>My Dark Theme Is Better Than Yours</h1>
<p>
<input type="checkbox"></input> Use Dark Theme
</p>
</Container>
);
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment