lila/ui
Isaac Levy 25de98fbda Improve typescript sourcemaps
Inline sources allows browserify to sourcemap
back to original typescript. If you add the ui
folder to chrome, you can then edit ts files
and set ts breakpoints directly in the browser!
2019-07-31 11:34:54 -04:00
..
@types/lichess TS code golf 2019-07-27 09:08:27 +02:00
analyse allow disabling moretime in user settings - closes #5357 2019-07-31 11:47:16 +02:00
ceval Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00
challenge fix duplicate local and push notification 2019-06-29 20:09:56 -04:00
chat Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00
chess Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00
cli complete es6 transition 2019-06-25 19:37:33 +02:00
common Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00
dasher ensure volume in local storage is a number 2019-07-09 20:34:41 -04:00
editor Revert "downgrade to chessground 7.6.5" 2019-07-13 19:32:12 +02:00
game Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00
gulp work around buggy let syntax in safari 10/11 2019-06-25 20:11:53 +02:00
insight more eslint cosmetics 2019-06-25 23:30:47 +02:00
learn more eslint cosmetics 2019-06-25 23:30:47 +02:00
lobby Add colour change on hover of lobby counters 2019-07-30 10:58:09 +10:00
notify lichess.pubsub.emit has only one argument list 2019-07-04 23:29:42 -04:00
nvui Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00
perfStat complete es6 transition 2019-06-25 19:37:33 +02:00
puzzle proper minus sign for puzzle history (closes #3926) 2019-07-26 09:05:40 +02:00
round allow disabling moretime in user settings - closes #5357 2019-07-31 11:47:16 +02:00
simul limit simul entry to team members 2019-07-08 13:59:48 -04:00
site update stockfish.wasm (fix another deadlock, upstream shortest mate fix) 2019-07-26 10:31:41 +02:00
speech Semicolon was in wrong place... 2019-07-31 01:02:58 -05:00
tournament Revert "downgrade to chessground 7.6.5" 2019-07-13 19:32:12 +02:00
tournamentCalendar complete es6 transition 2019-06-25 19:37:33 +02:00
tournamentSchedule Fix so font colour applies to the title 2019-07-29 19:48:13 +10:00
tree Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00
README.md change firefox version requirement from 61 to 55 2019-05-07 14:10:42 +07:00
build Build ui css in parallel 2019-06-25 07:19:33 -04:00
gulpfile.js relocate browsers list 2019-06-04 14:44:35 +02:00
package.json complete es6 transition 2019-06-25 19:37:33 +02:00
tsconfig.base.json complete es6 transition 2019-06-25 19:37:33 +02:00
tsconfig_module.base.json Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00

README.md

Client-side modules

CSS

cd ui/
yarn install # only the first time
gulp css

This incrementally rebuilds the sass for all ui/ modules on file change.

Hack

The structure of a CSS module is as follows:

- css/
  - forum/
    - _forum.scss # imports the files below
    - _post.scss
    - _search.scss
    - ...
  - build/
    - _forum.scss       # imports dependencies and `../forum/forum`.
    - forum.light.scss  # generated
    - forum.dark.scss   # generated
    - forum.transp.scss # generated

Browser support

Name Version Notes
Firefox 55+ Full support
Chromium/Chrome last 10 Full support
Safari 10.1+ Reasonable support
Opera last 5 Reasonable support
Edge last 2 Reasonable support
IE none No support