lila/ui
Albert Ford c7453237d8 Add opening explorer to blind mode 2021-07-14 03:42:09 -07:00
..
@build/rollupProject disable ui bundle analysis by default 2021-07-04 11:26:46 +02:00
@types Run yarn run format 2021-06-27 18:04:52 +01:00
analyse Add opening explorer to blind mode 2021-07-14 03:42:09 -07:00
ceval Adjust pv expansion arrow icon - for #9328 2021-07-03 15:43:48 +02:00
challenge Add color to outgoing and incoming challenges (#9235) 2021-07-03 18:58:07 +02:00
chat Fix chat highlights for uppercase usernames 2021-07-04 23:04:43 +02:00
chess upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
cli Fix rollup build import 2021-05-14 00:31:46 +02:00
common Revert "hotfix broken en-US translation of puzzle.fromMyGames" 2021-07-04 12:18:37 +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 upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
game fix ui build on windows 2021-06-30 15:45:23 +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 upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
msg Icons private use area (#9136) 2021-06-14 09:13:27 +02:00
notify another round of rel noopener 2021-06-24 10:48:38 +02:00
nvui fix ui build on windows 2021-06-30 15:45:23 +02:00
palantir update build dependencies 2021-06-21 18:06:16 +02:00
puz upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
puzzle upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
racer upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
round Avoid sound when attempting an illegal zh drop - fixes #5037 2021-07-09 04:05:28 +02:00
serviceWorker Fix rollup build import 2021-05-14 00:31:46 +02:00
simul Merge pull request #9298 from Tvallejos/simul-host-own-messages 2021-06-29 22:06:54 +02:00
site Pref stats: text-indent -> padding-left to fix padding on wrap 2021-07-09 01:31:31 +02:00
speech Use correct language for speechSynthesis 2021-05-22 16:50:50 +02:00
storm upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
swiss upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
tournament upgrade chessground - for ornicar/chessground#196 2021-07-08 19:33:36 +02:00
tournamentCalendar noImplicitAny for ui/tournament-calendar 2021-06-28 15:40:44 +02:00
tournamentSchedule noImplicitAny for ui/tournament-schedule 2021-06-28 16:07:47 +02:00
tree fix ui build on windows 2021-06-30 15:45:23 +02:00
README.md prettier: format all files 2021-02-06 14:52:33 +01:00
build Refactor duplicate promotion code into chess/promotion 2021-07-04 11:26:44 +02:00
gulpfile.js prettier: format all files 2021-02-06 14:52:33 +01:00
package.json update build dependencies 2021-06-21 18:06:16 +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