diff options
author | Victor Chabbert <chabbertvi@eisti.eu> | 2016-12-19 09:38:29 +0100 |
---|---|---|
committer | Victor Chabbert <chabbertvi@eisti.eu> | 2016-12-19 09:38:29 +0100 |
commit | 3e8bcfddb9c6589ee9b12c4678d381bebc34094f (patch) | |
tree | bcbff3cbcf44a3dddebd6926f5aa5635982178ee | |
parent | Set editorconfig for front-end (diff) | |
download | seven-wonders-3e8bcfddb9c6589ee9b12c4678d381bebc34094f.tar.gz seven-wonders-3e8bcfddb9c6589ee9b12c4678d381bebc34094f.tar.bz2 seven-wonders-3e8bcfddb9c6589ee9b12c4678d381bebc34094f.zip |
Add react css librairies
-rw-r--r-- | src/main/js/package.json | 4 | ||||
-rw-r--r-- | src/main/js/src/global-styles.css | 9 | ||||
-rw-r--r-- | src/main/js/yarn.lock | 39 |
3 files changed, 49 insertions, 3 deletions
diff --git a/src/main/js/package.json b/src/main/js/package.json index 30ecc9e2..75b33982 100644 --- a/src/main/js/package.json +++ b/src/main/js/package.json @@ -11,8 +11,10 @@ "react-dom": "^15.4.1", "react-redux": "^5.0.1", "react-router": "4.0.0-alpha.6", + "rebass": "^0.3.3", "redux": "^3.6.0", - "redux-saga": "^0.13.0" + "redux-saga": "^0.13.0", + "reflexbox": "^2.2.3" }, "scripts": { "start": "react-scripts start", diff --git a/src/main/js/src/global-styles.css b/src/main/js/src/global-styles.css index b4cc7250..4b644b66 100644 --- a/src/main/js/src/global-styles.css +++ b/src/main/js/src/global-styles.css @@ -1,5 +1,10 @@ +* { box-sizing: border-box; } + body { margin: 0; padding: 0; - font-family: sans-serif; -} + font-family: -apple-system, BlinkMacSystemFont, sans-serif; + line-height: 1.5; + color: #111; + background-color: #fff; +}
\ No newline at end of file diff --git a/src/main/js/yarn.lock b/src/main/js/yarn.lock index 983f930a..486bb724 100644 --- a/src/main/js/yarn.lock +++ b/src/main/js/yarn.lock @@ -1142,6 +1142,10 @@ clap@^1.0.9: dependencies: chalk "^1.1.3" +classnames@^2.2.3: + version "2.2.5" + resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.2.5.tgz#fb3801d453467649ef3603c7d61a02bd129bde6d" + clean-css@3.4.x: version "3.4.21" resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-3.4.21.tgz#2101d5dbd19d63dbc16a75ebd570e7c33948f65b" @@ -4187,6 +4191,10 @@ rc@~1.1.6: minimist "^1.2.0" strip-json-comments "~1.0.4" +react-addons-pure-render-mixin@^15.3.1: + version "15.4.1" + resolved "https://registry.yarnpkg.com/react-addons-pure-render-mixin/-/react-addons-pure-render-mixin-15.4.1.tgz#8a1f48f9fd3f24ed12af63c4d2dc0c7529fa7e02" + react-broadcast@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/react-broadcast/-/react-broadcast-0.1.2.tgz#950de63578a2af399a396067a617af7402182330" @@ -4354,6 +4362,14 @@ readline2@^1.0.1: is-fullwidth-code-point "^1.0.0" mute-stream "0.0.5" +rebass: + version "0.3.3" + resolved "https://registry.yarnpkg.com/rebass/-/rebass-0.3.3.tgz#bfffddf219107b07be2133173bab9b9887098173" + dependencies: + classnames "^2.2.3" + object-assign "^4.0.1" + react-addons-pure-render-mixin "^15.3.1" + recursive-readdir@2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/recursive-readdir/-/recursive-readdir-2.1.0.tgz#78b7bfd79582d3d7596b8ff1bd29fbd50229f6aa" @@ -4393,6 +4409,13 @@ redux-saga: version "0.13.0" resolved "https://registry.yarnpkg.com/redux-saga/-/redux-saga-0.13.0.tgz#9294386550deb0d56bc9a1b3c90a613e7ddb6593" +reflexbox: + version "2.2.3" + resolved "https://registry.yarnpkg.com/reflexbox/-/reflexbox-2.2.3.tgz#9b9ce983dbe677cebf3a94cf2c50b8157f50c0d1" + dependencies: + robox "^1.0.0-beta.8" + ruled "^1.0.1" + regenerate@^1.2.1: version "1.3.2" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260" @@ -4549,6 +4572,16 @@ ripemd160@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-0.2.0.tgz#2bf198bde167cacfa51c0a928e84b68bbe171fce" +robox@^1.0.0-beta.8: + version "1.0.0-beta.8" + resolved "https://registry.yarnpkg.com/robox/-/robox-1.0.0-beta.8.tgz#9aaee1dacf38a8c4ca4584a80012aebab5711c73" + dependencies: + understyle "^1.2.0" + +ruled@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ruled/-/ruled-1.0.1.tgz#8301a1accc9d2e14b6502fca7033582335c2c0f4" + run-async@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/run-async/-/run-async-0.1.0.tgz#c8ad4a5e110661e402a7d21b530e009f25f8e389" @@ -5010,6 +5043,12 @@ uid-number@~0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" +understyle@^1.2.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/understyle/-/understyle-1.3.0.tgz#df3f9a9be96779d718c3da9598fad1c2f90f24ee" + dependencies: + object-assign "^4.1.0" + uniq@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" |