lila/ui
Thibault Duplessis 97525249d6 puzzle replay WIP 2020-12-29 20:17:59 +01:00
..
@build/rollupProject Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
@types more types for ui/analyse 2020-10-20 09:36:06 -04:00
analyse Revert "update chessops to 0.8.1 (reject impossible check through ep, ts 4.1.x)" 2020-12-28 18:06:05 +01:00
ceval Revert "update chessops to 0.8.1 (reject impossible check through ep, ts 4.1.x)" 2020-12-28 18:06:05 +01:00
challenge xhr().then(f).catch(g) -> xhr().then(f, g) 2020-09-28 19:44:44 +02:00
chat add tiny.cc/ to spam list 2020-10-31 09:58:53 +01:00
chess Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
cli tie clinput toggle directly to focus (fixes #7586) 2020-11-15 13:58:39 +01:00
common Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
dasher ui/dasher dark board title 2020-10-16 08:26:24 +02:00
dgt Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
editor Revert "update chessops to 0.8.1 (reject impossible check through ep, ts 4.1.x)" 2020-12-28 18:06:05 +01:00
game Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
insight review client side _target=blank (closes #7411) 2020-10-04 17:10:03 +02:00
learn upgrade mousetrap and related code 2020-09-28 12:02:45 +02:00
lobby translate anonymous on lobby listing 2020-12-14 18:24:03 -05:00
msg review client side _target=blank (closes #7411) 2020-10-04 17:10:03 +02:00
notify type and improve ui/component/timeago 2020-09-30 07:46:55 +02:00
nvui Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
palantir Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
puzzle puzzle replay WIP 2020-12-29 20:17:59 +01:00
round Merge pull request #7722 from elavif/translate-anonymous 2020-12-15 09:14:03 +01:00
serviceWorker rename serviceWorker component and module 2020-09-27 08:42:06 +02:00
simul show number of players to simul host - closes #7463 2020-10-15 14:46:31 +02:00
site Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
speech s/window.lichess/lichess, remove const li 2020-09-13 09:40:24 +02:00
swiss toggle mousedown messes with uac focus (fixes #7482) 2020-10-22 22:44:51 +02:00
tournament toggle mousedown messes with uac focus (fixes #7482) 2020-10-22 22:44:51 +02:00
tournamentCalendar remove TS jquery types 2020-09-21 16:10:14 +02:00
tournamentSchedule remove TS jquery types 2020-09-21 16:10:14 +02:00
tree Revert "update typescript to 4.1.x (preparing chessops 0.8.1)" 2020-12-28 18:06:09 +01:00
README.md readme tweaks and updates 2019-09-17 12:39:04 +02:00
build Working version of password complexity meter 2020-11-10 00:29:09 -05:00
gulpfile.js relocate browsers list 2019-06-04 14:44:35 +02:00
package.json remove @build/cssProject (use cd ui && gulp css) 2020-06-30 20:01:42 +02:00
tsconfig.base.json Merge branch 'master' into cash.js 2020-09-21 15:27:21 +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