lila/ui
Niklas Fiekas 60377d519b switch rollup config to cjs 2021-08-23 00:11:38 +02:00
..
@build/rollupProject fix more missing dependencies 2021-08-22 22:02:34 +02:00
@types fix remaining missing dependencies 2021-08-22 23:45:13 +02:00
analyse switch rollup config to cjs 2021-08-23 00:11:38 +02:00
ceval bump build dependencies 2021-08-22 17:21:01 +02:00
challenge switch rollup config to cjs 2021-08-23 00:11:38 +02:00
chat switch rollup config to cjs 2021-08-23 00:11:38 +02:00
chess bump build dependencies 2021-08-22 17:21:01 +02:00
cli switch rollup config to cjs 2021-08-23 00:11:38 +02:00
common fix dom-screen-wake-lock typing 2021-08-23 00:00:36 +02:00
dasher switch rollup config to cjs 2021-08-23 00:11:38 +02:00
dgt switch rollup config to cjs 2021-08-23 00:11:38 +02:00
editor switch rollup config to cjs 2021-08-23 00:11:38 +02:00
game fix more missing dependencies 2021-08-22 22:02:34 +02:00
insight switch rollup config to cjs 2021-08-23 00:11:38 +02:00
learn switch rollup config to cjs 2021-08-23 00:11:38 +02:00
lobby switch rollup config to cjs 2021-08-23 00:11:38 +02:00
msg switch rollup config to cjs 2021-08-23 00:11:38 +02:00
notify switch rollup config to cjs 2021-08-23 00:11:38 +02:00
nvui fix more missing dependencies 2021-08-22 22:02:34 +02:00
palantir switch rollup config to cjs 2021-08-23 00:11:38 +02:00
puz upgrade yarn 2021-08-23 00:11:38 +02:00
puzzle switch rollup config to cjs 2021-08-23 00:11:38 +02:00
racer switch rollup config to cjs 2021-08-23 00:11:38 +02:00
round switch rollup config to cjs 2021-08-23 00:11:38 +02:00
serviceWorker switch rollup config to cjs 2021-08-23 00:11:38 +02:00
simul switch rollup config to cjs 2021-08-23 00:11:38 +02:00
site fix remaining missing dependencies 2021-08-22 23:45:13 +02:00
speech switch rollup config to cjs 2021-08-23 00:11:38 +02:00
storm switch rollup config to cjs 2021-08-23 00:11:38 +02:00
swiss switch rollup config to cjs 2021-08-23 00:11:38 +02:00
tournament switch rollup config to cjs 2021-08-23 00:11:38 +02:00
tournamentCalendar switch rollup config to cjs 2021-08-23 00:11:38 +02:00
tournamentSchedule switch rollup config to cjs 2021-08-23 00:11:38 +02:00
tree bump build dependencies 2021-08-22 17:21:01 +02:00
README.md prettier: format all files 2021-02-06 14:52:33 +01:00
build prepare upgrading yarn 2021-08-23 00:07:06 +02:00
gulpfile.js add node 16 support 2021-08-09 09:14:49 +02:00
package.json upgrade yarn 2021-08-23 00:11:38 +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