Jeremy Rifkin
14ddad0376
Jr/editor font size setting ( #3670 )
...
* Two quick code cleanups while I'm here
* Added default font size user setting
* Better addSelector solution
* Fix and clarification, thanks Ruben
* Updated typing
* Added font scale broadcast
2022-05-18 15:31:53 -04:00
Mats Larsen
c199b54440
Enable Prettier for TypeScript frontend ( #3524 )
2022-04-20 22:39:10 +02:00
Rubén Rincón Blanco
bc401f4ca0
Fixes settings handling in some places ( #3400 )
...
* Better handling for theme/colour scheme changes
Fixes #3396
* Fixes settings
* Fixes theme and colour scheme handling
Closes #3396
* Fix settings for embeded
Closes #3397
* Actually, just fallback to 0 if needed
* Lint fix
* Delete Deprecations.xml
* Better TS way
2022-02-24 14:55:54 +01:00
Patrick Quist
006aa6f4b7
[draft] Dark+ theme ( #3339 )
2022-02-17 21:18:44 +01:00
RabsRincon
370adddd30
Define themes only once
2022-02-08 08:37:56 +01:00
Rubén Rincón Blanco
42c7b2b694
Make eslint work on static ts files ( #3304 )
2022-02-03 18:04:50 +01:00
Rubén Rincón Blanco and Mats Larsen
f4315c561b
Move static/settings.js to TypeScript ( #3297 )
...
* Rename settings.js to ts
* Move Settings to TS
* Remove underscore from settings
* Update static/settings.ts
Co-authored-by: Mats Larsen <me@supergrecko.com >
* Update static/settings.ts
Co-authored-by: Mats Larsen <me@supergrecko.com >
* Improve Settings implementation
* Move Settings interfaces to same file
* Update static/settings.ts
Co-authored-by: Mats Larsen <me@supergrecko.com >
Co-authored-by: Mats Larsen <me@supergrecko.com >
2022-01-29 02:00:10 +01:00
Mats Larsen
ee0ff7185b
Make colour.ts take Record<number, number> and refactor it to drop underscore.js ( #3054 )
...
* Make colour.ts take Record<number, number> and refactor it to drop underscore
* Move app theme into its own type
2021-10-30 15:41:58 +02:00
Markus
f24c4efe4e
Convert colour.js to typescript ( #2991 )
...
This will convert static/colour.js to typescript (see #2981 )
Changes are pretty much the same as with the other conversions I did.
Assumed that param colours in applyColours is of type number[] as this is the only fitting type.
Signed-off-by: Markus <28785953+MarkusJx@users.noreply.github.com >
2021-10-03 23:26:59 +02:00