-oldCode
+newCode
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
// @flow | |
/** @jsx jsx */ | |
import * as React from 'react'; | |
import {jsx} from '@emotion/core'; | |
import {ThemeProvider} from 'emotion-theming'; | |
import {Flexbox, Grid} from '../primitives'; | |
import {darkTheme, lightTheme} from '../theme'; |
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
module.exports = { | |
config: { | |
updateChannel: "stable", | |
fontSize: 18, | |
fontFamily: | |
'"Fira Code", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace', | |
fontWeight: "normal", | |
fontWeightBold: "bold", | |
cursorColor: "#80cbc4", | |
cursorAccentColor: "#000", |
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 webpack = require('webpack'); | |
const path = require('path'); | |
var customProperties = require("postcss-custom-properties"); | |
var cssApply = require('postcss-apply'); | |
var autoprefixer = require('autoprefixer'); | |
module.exports = env => { | |
if (!env) env = {} | |
const addPlugin = (add, plugin) => add ? plugin : undefined; |
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
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: '21', | |
// font family with optional fallbacks | |
fontFamily: 'Input Mono, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
// terminal cursor background color (hex) | |
cursorColor: '#f4d300', |
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
// taken from http://www.iana.org/domains/root/db | |
.aaa | |
.aarp | |
.abarth | |
.abb | |
.abbott | |
.abbvie | |
.abc | |
.able | |
.abogado |
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
/* @flow */ | |
type ButtonProps = { | |
onClick: () => void, | |
type: 'button' | 'reset' | 'submit', | |
design: 'primary' | 'secondary' | 'page' | 'tooltipInfo' | 'tooltipDocs', | |
onFocus: () => void, | |
onmouseover: () => void, | |
onmouseout: () => void, | |
className:string, |
NewerOlder