lila/ui
Benedikt Werner f56360e326
Update cg when disabling practice mode
To recompute dests in case the user scrolled to the computer's position.
2021-09-16 10:45:31 +02:00
..
@build/rollupProject Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
@types ui/palantir: Types 2021-09-07 02:09:47 +02:00
analyse Update cg when disabling practice mode 2021-09-16 10:45:31 +02:00
ceval Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
challenge Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
chat Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
chess Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
cli Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
common tweak wakeLock code 2021-09-16 10:27:44 +02:00
dasher yarn format 2021-09-16 09:32:26 +02:00
dgt Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
editor Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
game Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
insight Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
learn Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
lobby Fix .prettierignore ignoring lobby "app" css 2021-09-16 10:27:44 +02:00
msg Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
notify Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
nvui Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
palantir Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
puz Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
puzzle Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
racer Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
round read clocks faster 2021-09-16 08:26:03 +02:00
serviceWorker Update Typescript to 4.4.3 for requestIdleCallback 2021-09-15 04:00:59 +02:00
simul Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
site fix ublog action buttons in vertical screens 2021-09-15 19:24:43 +02:00
speech Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
storm Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
swiss Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
tournament Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
tournamentCalendar Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
tournamentSchedule Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
tree Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
build ui/build: Actually fix palantir<chat build order and don't build chat twice 2021-09-07 05:14:38 +02:00
gulpfile.js ui/gulp: Induce non-zero exit status when sass build fails 2021-09-08 05:33:07 +02:00
package.json ui/gulp: Induce non-zero exit status when sass build fails 2021-09-08 05:33:07 +02:00
README.md prettier: format all files 2021-02-06 14:52:33 +01:00
tsconfig.base.json Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
tsconfig_module.base.json Improve typescript sourcemaps 2019-07-31 11:34:54 -04:00

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