1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
2057823b7a
setup: flex-ify, light/dark, keep page position on reload
got rid of a bunch of m[l/r/x/y]-x tailwind classes and used more
flex-[row/col] gap-2's. UI should be more consistent in general, and
with the admin UI.

The page you were on is actually read from the URL on reload, however
does not keep settings (implemented just for ease of UI editing,
really).

`missing-colors.js` preprocessor script now applies dark prefixes for
<section>s, but like with cards, does not apply a default ~neutral to
those without, so that <section class=""> looks different to <section
class="~neutral">.

Light/dark selector added to setup too, and the actual mode given to the
browser through CSS `color-scheme` is correct, meaning things like textareas, checkboxes and
controls are now colored according to the theme.
2024-08-21 18:31:54 +01:00
baffa4a38c
add NOTEMPLATE env var to missing-colors.js 2022-01-30 14:41:11 +00:00
8758d74e32
fix titles for some pages 2022-01-10 00:46:01 +00:00
3294b27029
add replaceAll polyfill 2022-01-08 00:22:21 +00:00
1ebc648158
fix broken go template if statements
All available DOM parsers for node would move the contents of if
statements outside of them, breaking things like the accounts tab. Fixed
with a regex pre and post process to comment out then uncomment all template usage.

builds now depend on perl for some regex, this can likely be changed in
future though.
2022-01-08 00:07:23 +00:00
e86f5f4c3c
site: use tailwind 2022-01-04 21:14:12 +00:00
dd5eecf9f9
fix textareas 2022-01-01 02:17:24 +00:00
d1b5b74060
make most modals white 2021-12-31 17:28:08 +00:00
277690ef79
allow for defining custom dark: variants, ignore querySelector, shrink margins 2021-12-31 16:01:17 +00:00
508168b49e
fix more oddities 2021-12-31 01:51:42 +00:00
acc8892f26
switch to DOM based variant adding 2021-12-30 23:52:53 +00:00