This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import styled from 'styled-components' | |
const PrimaryButton = styled.button` | |
background-color: ${({theme}) => theme.colors.primary}; | |
border: 0; | |
margin-bottom: ${({theme}) => theme.spacings.md}; | |
` | |
const Component1 = () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const Spacings = { | |
xs: '4px', | |
sm: '8px', | |
md: '16px', | |
lg: '32px', | |
xl: '64px' | |
} | |
export const colors = { | |
primary: '#00A6FB', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import styled from 'styled-components' | |
import { Colors, Spacings } from '../theme.ts' | |
const PrimaryButton = styled.button` | |
background-color: ${Colors.primary}; | |
border: 0; | |
margin-bottom: ${Spacings.md}; | |
` | |
const Component1 = () => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /home/dev/bunny-game-api | |
[ $(git rev-parse HEAD) = $(git ls-remote $(git rev-parse --abbrev-ref @{u} | \ | |
sed 's/\// /g') | cut -f1) ] && echo up to date || (git pull && docker compose up -d --build api database) |
OlderNewer