- Requirements.
- Break it down into bite-sized pieces (bulletted lists are ideal).
- Single source of truth (e.g., JIRA).
- If not JIRA, add a link to the requirements in JIRA.
- What device targets? (desktop, mobile/web, mobile app, etc.)
- Assets (i.e., images, fonts).
This file contains 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
if has('gui_running') | |
set guifont=Fira\ Code:h14:cANSI:qDRAFT | |
endif | |
colors slate | |
set number |
This project uses cssnext
, which allows us to use emerging CSS features at design time and transpile into currently-supported, browser-compatible CSS at runtime.
Styles can be found in app/styles. Inside this folder, you should familiarize yourself with the following structure:
styles
├── config
│ ├── fonts.json
This file contains 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 * as React from 'react'; | |
interface Props { | |
bar: string | number; | |
} | |
const Foo: React.FC<Props> = (props) => ( | |
<div>{props.bar}</div> | |
) |
This file contains 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 { noop } from 'lodash'; | |
import { join } from 'path'; | |
import postcssNested from 'postcss-nested'; | |
import postcssNestedProps from 'postcss-nested-props'; | |
import postcssPropertyLookup from 'postcss-property-lookup'; | |
import variables from './vars.json'; | |
import fonts from './fonts.json'; | |
const browsers = [ |
This file contains 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 { noop } from 'lodash'; | |
import webpack from 'webpack'; | |
import Dashboard from 'webpack-dashboard'; | |
import DashboardPlugin from 'webpack-dashboard/plugin'; | |
import webpackDevMiddleware from 'webpack-dev-middleware'; | |
import webpackHotMiddleware from 'webpack-hot-middleware'; | |
import config from '../webpack.config.dev'; | |
export default function loadDevMiddlewares({ app }) { |
This file contains 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
$font-adjustments: ( | |
arial-bold: ( | |
ascender: 0.056, | |
cap: -0.130, | |
baseline: -0.154, | |
descender: 0.056 | |
), | |
georgia-regular: ( | |
ascender: 0.064, | |
cap: -0.157, |
This file contains 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 { | |
Component, | |
EventHandler, | |
FormEvent | |
} from 'react'; | |
import { ElementProps, resolveClassNames } from '../../../helpers/bem'; | |
import { Label } from '../../Form'; | |
export default class InputPassword extends Component< |
This file contains 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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.catalog-search { | |
.lines-on-sides { | |
&:before, &:after { | |
.catalog-search__grid-title--inline-image & { | |
top: center; | |
} |
This file contains 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
const checkers = { | |
isSize(value) { | |
throw new Error('Not implemented'); | |
}, | |
isStyle(value) { | |
throw new Error('Not implemented'); | |
}, | |
isVariant(value) { | |
throw new Error('Not implemented'); | |
}, |