Commit Graph

29 Commits

Author SHA1 Message Date
Sérgio Ramos
5e21ff1e64 add icons to ui (#347)
fixes #282
fixes #297
fixes #333

Not only adds icons (as svgs) but also removes the assets folder which adds some
side effects:
 - move fonts to it's own component (currently only exposing libre-franlin)
 - Base.global requires fonts and injects them
 - update webpack and babelrc to ignore/include that new folder

Having to deal with those side effects, I took the opportunity to add some
improvements:
 - rename "regular" to "normal" which conforms to the font-weight rule options
 - apply family and weight to buttons (which default to system-ui)
 - replace all font-weight to use the typography composer
 - only use "Libra Franklin" as the family name, using weight to vary between
 files
2017-03-03 15:29:03 +00:00
Sérgio Ramos
2589ad59a7 remove eslint-loader
fixes #349
2017-03-03 15:06:32 +00:00
Sérgio Ramos
62bd05ffb8 replace file-loader with babel-plugin-inline-react-svg
fixes #299
2017-03-02 14:23:18 +00:00
Sérgio Ramos
ff83b4990f fix Base.global fonts 2017-02-24 13:29:50 +00:00
Sérgio Ramos
5307fc0c9d fix Base.global import 2017-02-24 12:10:28 +00:00
Sérgio Ramos
7ce458fe2d fix production "Unexpected token" error 2017-02-23 17:24:38 +00:00
Sérgio Ramos
520b685e28 convert commonjs to es2015 modules (fixes #234) 2017-02-23 15:09:27 +00:00
Alex Windett
33e899b923 adding in eslint for trailing commas 2017-02-21 16:08:24 +00:00
Alex Windett
c21072ae74 updating eslint config to ignore "debugger" in browser" 2017-02-09 15:09:40 +00:00
Sérgio Ramos
572d44230c fix missing plugins instantiation 2017-02-09 11:04:45 +00:00
Sérgio Ramos
f54c22b732 for eslint pre loader, use create-react-app's 2017-02-09 11:04:26 +00:00
Sérgio Ramos
6d5922e399 improve webpack config
- better stack traces
- disable hmr (for now)
- runtime eslint
- remove all async/await stuff (untill we actually need it)
- reaload when modules change
- show full path in compiled requires
- ignore node dependencies
- don't instantiate plugins unless required
2017-02-07 15:54:35 +00:00
Sérgio Ramos
a7f992e69f fix rr dep in ui 2017-02-07 09:40:27 +00:00
Alex Windett
cf723f5010 fixing bug in font loader. Including only UI font path, and adding new loader for SVG only 2017-02-01 15:12:17 +00:00
Tom Gallacher
84becdb73f Adding back missing images 2017-01-24 17:06:10 +00:00
Alex Windett
139247fc09 fixing linting errors 2017-01-23 16:29:48 +00:00
Tom Gallacher
c1d1661a22 Fix broken production deployments 2017-01-23 11:00:07 +00:00
Alex Windett
acbf130c2c Seperating Normalization and Bootstrap Reboot
- Moving normalizae styles out of <Base> component.
- Creating CSS file for normalize css in vendor
- Moving assets directory
- Updating npm storybook script to include new normalize css
- Adding normalize css to <head> of storybook
- Adding css-loader to frontend webpack
- Including normalize.css in root of frontend
2017-01-18 14:32:17 +00:00
Tom Gallacher
abd113d009 Fixing UI and frontend compilation 2017-01-18 12:39:28 +00:00
Tom Gallacher
4953ae36ea Fixing fonts 2017-01-13 18:14:25 +00:00
Sérgio Ramos
cd24d8397a link dashboard and org pages 2016-12-13 22:13:46 +00:00
Sérgio Ramos
fffa1192d6 fix @ui require 2016-12-13 22:13:45 +00:00
Sérgio Ramos
43af2d0785 upgrade frontend to styled-components 2016-12-12 10:56:48 +00:00
Sérgio Ramos
0189d7d29a re-organize webpack configuration
- detach plugins configuration
 - use aliases
 - add project root to frontend module resolver
2016-12-05 20:11:55 +00:00
Sérgio Ramos
8733a60acb use some common joyent lint rules 2016-10-26 10:51:40 +01:00
Sérgio Ramos
410f5a93e5 ui grid system - grid, row and column 2016-10-24 21:58:09 +01:00
Sérgio Ramos
73ab7705af fix "Unexpected token ," 2016-10-24 18:03:47 +01:00
Sérgio Ramos
f9a631f26e fix postcss loader configuration 2016-10-24 17:38:45 +01:00
Sérgio Ramos
ada55f14fd lint frontend 2016-10-24 14:11:50 +01:00