lila/ui
Benedikt Werner 21d5085c7d
Keep variant when opening editor (#9508)
* Keep variant when opening editor

* Prettier

* Handle underscores in initial editor fen

* Prettier
2021-08-09 08:50:40 +02:00
..
@build/rollupProject disable ui bundle analysis by default 2021-07-04 11:26:46 +02:00
@types Keep variant when opening editor (#9508) 2021-08-09 08:50:40 +02:00
analyse Keep variant when opening editor (#9508) 2021-08-09 08:50:40 +02:00
ceval fix ceval initially not off by default 2021-07-24 21:15:50 +02:00
challenge Add color to outgoing and incoming challenges (#9235) 2021-07-03 18:58:07 +02:00
chat add chat spam domain 2021-07-28 21:59:39 +02:00
chess chessground 8.1.5 - for #9482 2021-07-30 08:02:08 +02:00
cli refactor ui modals - after #9380 2021-07-16 14:56:47 +02:00
common Merge pull request #9524 from 370417/buttonify-gamebook 2021-08-08 10:47:47 +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 Keep variant when opening editor (#9508) 2021-08-09 08:50:40 +02:00
game Show draw reason (#9454) 2021-07-27 09:33:21 +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.1.5 - for #9482 2021-07-30 08:02:08 +02:00
msg Fix game/study embeds on mobile in forum 2021-07-24 10:03:02 +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 chessground 8.1.5 - for #9482 2021-07-30 08:02:08 +02:00
puzzle chessground 8.1.5 - for #9482 2021-07-30 08:02:08 +02:00
racer chessground 8.1.5 - for #9482 2021-07-30 08:02:08 +02:00
round CSS: Fix pawn material display on mobile 2021-08-06 19:43:38 +02:00
serviceWorker Fix rollup build import 2021-05-14 00:31:46 +02:00
simul refactor ui modals - after #9380 2021-07-16 14:56:47 +02:00
site Merge pull request #9539 from kraktus/dl_css 2021-08-08 08:57:22 +02:00
speech Use correct language for speechSynthesis 2021-05-22 16:50:50 +02:00
storm chessground 8.1.5 - for #9482 2021-07-30 08:02:08 +02:00
swiss chessground 8.1.5 - for #9482 2021-07-30 08:02:08 +02:00
tournament chessground 8.1.5 - for #9482 2021-07-30 08:02:08 +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