lila/ui
Thibault Duplessis 41a65799f8
Merge branch 'master' into benediktwerner-cg-resize
2021-06-18 07:49:58 +02:00
..
@build/rollupProject Fix rollup build import 2021-05-14 00:31:46 +02:00
@types Create nvui module for puzzles 2021-06-10 02:53:32 -07:00
analyse Merge branch 'master' into benediktwerner-cg-resize 2021-06-18 07:49:58 +02:00
ceval remove chessground.config.resizable flags 2021-06-17 08:48:01 +02:00
challenge Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
chat Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
chess Move sanWriter to ui/chess 2021-06-15 12:42:57 -07:00
cli Fix rollup build import 2021-05-14 00:31:46 +02:00
common Merge branch 'master' into benediktwerner-cg-resize 2021-06-18 07:49:58 +02:00
dasher Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
dgt Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
editor chessground 8.0.0-beta2 2021-06-17 09:26:48 +02:00
game Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
insight Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
learn Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
lobby chessground 8.0.0-beta2 2021-06-17 09:26:48 +02:00
msg Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
notify Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
nvui Merge branch 'puzzle-accessibility' of https://github.com/370417/lila 2021-06-17 10:20:08 +02:00
palantir Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
puz chessground 8.0.0-beta2 2021-06-17 09:26:48 +02:00
puzzle Merge branch 'master' into benediktwerner-cg-resize 2021-06-18 07:49:58 +02:00
racer chessground 8.0.0-beta2 2021-06-17 09:26:48 +02:00
round Merge branch 'master' into benediktwerner-cg-resize 2021-06-18 07:49:58 +02:00
serviceWorker Fix rollup build import 2021-05-14 00:31:46 +02:00
simul Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
site dirty workaround to fix boards jittering around as they resize on /games 2021-06-17 10:11:03 +02:00
speech Use correct language for speechSynthesis 2021-05-22 16:50:50 +02:00
storm chessground 8.0.0-beta2 2021-06-17 09:26:48 +02:00
swiss chessground 8.0.0-beta2 2021-06-17 09:26:48 +02:00
tournament chessground 8.0.0-beta2 2021-06-17 09:26:48 +02:00
tournamentCalendar Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
tournamentSchedule hardcode perf icons on the client side - the app should do the same 2021-06-15 14:23:26 +02:00
tree Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
README.md prettier: format all files 2021-02-06 14:52:33 +01:00
build Merge branch 'puzzle-accessibility' of https://github.com/370417/lila 2021-06-17 10:20:08 +02:00
gulpfile.js prettier: format all files 2021-02-06 14:52:33 +01:00
package.json move to root folder 2021-04-05 10:58:05 +02:00
tsconfig.base.json switch ui from commonjs to es modules 2021-05-13 12:10:57 +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