From 6a1dcf9ef03b7a5b3287e8be2ecf4ee5140040b4 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Sun, 11 Jun 2017 13:42:39 +0300 Subject: [PATCH] bunch of changes --- .eslintignore | 6 + lib/components/style-sheet.js | 2238 +++++++++++++++++++++++++++++++++ lib/components/term.js | 402 +----- lib/components/terms.js | 19 +- package.json | 68 +- webpack.config.js | 5 + yarn.lock | 875 ++++++++----- 7 files changed, 2941 insertions(+), 672 deletions(-) create mode 100644 .eslintignore create mode 100644 lib/components/style-sheet.js diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..d853ef6d --- /dev/null +++ b/.eslintignore @@ -0,0 +1,6 @@ +build +app/dist +app/static +assets +website +node_modules diff --git a/lib/components/style-sheet.js b/lib/components/style-sheet.js new file mode 100644 index 00000000..69b613f4 --- /dev/null +++ b/lib/components/style-sheet.js @@ -0,0 +1,2238 @@ +import React from 'react' + +export default class StyleSheet extends React.PureComponent { + render () { + const { + customCSS, + cursorColor, + fontSize, + fontFamily, + fontSmoothing, + foregroundColor, + backgroundColor + } = this.props + + return ( +