Colors

Theming in React

Styled components

import React from "react";
import styled from "styled-components";
const StyledDiv = styled.div`
margin: ${({ theme }) => theme.orbit.spaceLarge};
`;
import React from "react";
import styled from "styled-components";
import defaultTheme from "@kiwicom/orbit-components/lib/defaultTheme";
const StyledDiv = styled.div`
margin: ${({ theme }) => theme.orbit.spaceLarge};
`;
StyledDiv.defaultProps = {
theme: defaultTheme,
};