mirror of
https://github.com/svemagie/indiekit-endpoint-activitypub.git
synced 2026-04-02 15:44:58 +02:00
style: rewrite CSS to use Indiekit theme system
Replace all nonexistent CSS variable references with Indiekit's actual custom properties. This enables automatic dark mode support (variables swap via prefers-color-scheme) and visual consistency with the rest of the admin UI. Key changes: - Map --color-text → --color-on-background, --color-text-muted → --color-on-offset, --border-radius → --border-radius-small, etc. - Add post-type differentiation via colored left borders: purple for notes, green for articles, yellow for boosts, primary for replies - Replace hardcoded hex colors (#e11d48, #16a34a) with Indiekit's palette variables (--color-red45, --color-green50, etc.) - Use Indiekit's border-width tokens for consistent border sizing - Add background/color to form inputs for dark mode compatibility
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{# Timeline item card partial - reusable across timeline and profile views #}
|
||||
|
||||
<article class="ap-card">
|
||||
<article class="ap-card{% if item.type %} ap-card--{{ item.type }}{% endif %}{% if item.inReplyTo %} ap-card--reply{% endif %}">
|
||||
{# Boost header if this is a boosted post #}
|
||||
{% if item.type == "boost" and item.boostedBy %}
|
||||
<div class="ap-card__boost">
|
||||
|
||||
Reference in New Issue
Block a user