Skip to content

Design Rework#724

Open
uberswe wants to merge 9 commits intomasterfrom
fix/home-cards-rules-formatting
Open

Design Rework#724
uberswe wants to merge 9 commits intomasterfrom
fix/home-cards-rules-formatting

Conversation

@uberswe
Copy link
Copy Markdown
Owner

@uberswe uberswe commented Mar 22, 2026

No description provided.

uberswe and others added 8 commits March 22, 2026 01:37
* Replace Tabler/Bootstrap with Tailwind CSS v4 + Alpine.js v3

Migrate entire frontend from Tabler (Bootstrap 5) to Tailwind CSS v4
for styling and Alpine.js v3 for interactive components. This is a
full design rework covering all 78 templates with improved UX copy,
extracted reusable components, standardized design tokens, and
accessibility improvements.

Key changes:
- Tailwind CSS v4 with @theme tokens matching Create mod brass aesthetic
- Alpine.js v3 for dropdowns, modals, tooltips, offcanvas
- Vite build pipeline replacing Tabler's asset pipeline
- Extracted shared settings sidebar partial
- Standardized CSS tokens (border-radius, transitions, font-sizes)
- i18n coverage for JS strings using {{ printf "%q" (T .Language) }}
- WCAG AA accessibility: focus states, touch targets, aria attributes
- Moved inline styles to CSS classes
- Renamed "Blacklist" to "Block List" terminology

* Fix E2E test failures after Tailwind CSS migration

- Remove old Tabler CSS files (style.css, app.css) from template/static/
  that were overwriting the compiled Tailwind output via vite-static-copy
- Update Dockerfile to copy built dist/ assets into template/static/
  where the server serves them from
- Add auth-section class to authenticated user dropdown in header
- Update theme toggle tests to check dark class instead of data-bs-theme
- Update login test to use Alpine.js click instead of data-bs-toggle
- Scope search filter selectors to desktop sidebar to avoid strict mode
  violations from duplicate desktop/mobile filter forms

* Fix theme toggle buttons to use onclick instead of Alpine @click

The theme toggle buttons used Alpine.js @click directives, but
window.setTheme is defined as a global in an inline script that
runs before Alpine initializes. Using onclick ensures the handler
works immediately without waiting for Alpine, fixing the E2E theme
toggle tests.

---------

Co-authored-by: uberswe <admin@uberswe.com>
Co-authored-by: uberswe <1903284+uberswe@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Uberswe <m@rkus.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Uberswe <m@rkus.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- News page: fix grid column spans (used 12-col values in a 3-col
  grid, causing broken layout with clipped dates)
- Schematic cards: add h-full and flex-col to equalize card heights
  across grid rows, push tags to bottom with mt-auto
- Guide cards: increase image height from 100px to 160px, add
  flex-col and flex-1 to ensure consistent card heights with
  buttons aligned at the bottom

Co-authored-by: uberswe <admin@uberswe.com>
Co-authored-by: uberswe <1903284+uberswe@users.noreply.github.com>
- Home page: reduce grid from 4 to 3 columns on large screens so
  schematic cards are larger and better use the available space
- Rules page: split into two distinct cards (guidelines vs bannable
  offenses) with proper card headers, red accent border on the
  offenses section for visual weight
- Add markdown/prose CSS class with proper typography: list styles,
  heading spacing, line height, link colors, blockquote styling,
  and code block formatting
@uberswe uberswe self-assigned this Mar 22, 2026
@uberswe uberswe changed the title Fix/home cards rules formatting Design Rework Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants