2026-01-15 01:13:44 +00:00
|
|
|
@import 'tailwindcss';
|
|
|
|
|
@import 'tw-animate-css';
|
2026-03-30 00:37:11 +00:00
|
|
|
@import 'vue-sonner/style.css';
|
2026-06-13 19:30:39 +00:00
|
|
|
@import './automations.css';
|
|
|
|
|
@import './json-viewer.css';
|
feat: complete AI assistant with custom services and brand config
Baseline snapshot of custom AI implementation before Laravel AI SDK migration.
Includes:
- Custom services: GeminiTextGenerationService, TextGenerationService (OpenAI), ImageGenerationService, AudioGenerationService, VideoGenerationService
- IntentDetector for content moderation via keyword matching
- AI enums: Intent, Orientation, UsageType
- Blade prompt templates: system.blade.php, image.blade.php, video.blade.php
- AiMessage with content_html accessor (markdown rendering)
- AiUsageLog for monthly quota tracking per account
- PostAssistantController with regex-based [GENERATE_*] parsing
- WritingAssistantTab with markdown rendering, add-to-post, attachments
- Workspace brand fields (name, description, tone, voice_notes) in system prompt
- Session state block injected into prompts (thread counts, quota remaining)
- AttachmentCollector pattern will replace the regex approach in Phase 2
- Post comments with replies, emoji reactions, real-time via Echo
- Assets page with Unsplash + Giphy integrations
2026-04-16 12:25:08 +00:00
|
|
|
@plugin '@tailwindcss/typography';
|
2026-01-15 01:13:44 +00:00
|
|
|
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
|
|
|
|
@source '../../storage/framework/views/*.php';
|
2026-05-06 17:26:18 +00:00
|
|
|
|
|
|
|
|
/* Dark mode is intentionally disabled to match the marketing site
|
|
|
|
|
(which is light-only). Tailwind v4 defaults `dark:` to the
|
|
|
|
|
`prefers-color-scheme: dark` media query, so without this override
|
|
|
|
|
the OS theme would still flip preview internals to dark. Pin the
|
|
|
|
|
variant to a `.dark` class that we never apply. */
|
|
|
|
|
@custom-variant dark (&:where(.dark, .dark *));
|
2026-01-15 01:13:44 +00:00
|
|
|
|
feat: complete i18n audit fix, toast system, UI improvements
i18n (all 3 languages - EN, ES, PT-BR):
- ApiKeys page + CreateApiKeyDialog: 26 strings
- billing/Processing page: 8 strings
- onboarding/Step1 + Step2: 10 strings (new onboarding.php)
- UserMenuContent: 7 strings (Account, Theme, Language, Log out)
- PhotoUpload: 4 strings (Upload, Remove, hint)
- TimezoneCombobox: 3 strings
- DatePicker: 1 string
- workspaces/Create + Index: full i18n (new workspaces.php)
Toast system:
- Unify Toast.vue with Sonner (copied from sendkit)
- Flash messages + JS toasts use same system
- Icon colors via CSS (success/error/warning/info)
- Position bottom-right
UI improvements:
- Posts Edit: move trash/schedule/publish to header-right slot
- Posts Edit: labels/hashtags/datepicker stay in top bar with platforms
- Posts Edit: delete post requires typing DELETE to confirm
- Posts Edit: Labels button with icon+text, always visible
- DatePicker: w-full by default, w-auto via class override
- Fix "Etiquetas" -> "Etiqueta" (remove plural)
- Posts breadcrumbs: /posts shows "Posts > All Posts"
- Calendar breadcrumbs: "Posts > Calendar"
- Edit breadcrumbs: "Posts > Edit Post"
- Remove unused AppHeader.vue and AppHeaderLayout.vue
All 728 tests passing.
2026-03-30 17:06:10 +00:00
|
|
|
|
2026-01-15 01:13:44 +00:00
|
|
|
:root {
|
2026-05-06 17:26:18 +00:00
|
|
|
/* TryPost design system — warm cream + ink + signature violet.
|
|
|
|
|
Mirrors the marketing site (~/Herd/trypost-site) so the app and the
|
|
|
|
|
site share one identity. All structural borders are ink-black. */
|
|
|
|
|
--background: #faf8f5;
|
2026-03-30 00:37:11 +00:00
|
|
|
--foreground: #0a0a0a;
|
2026-01-20 19:53:54 +00:00
|
|
|
--card: #ffffff;
|
2026-03-30 00:37:11 +00:00
|
|
|
--card-foreground: #0a0a0a;
|
2026-01-21 20:57:15 +00:00
|
|
|
--popover: #ffffff;
|
2026-03-30 00:37:11 +00:00
|
|
|
--popover-foreground: #0a0a0a;
|
2026-05-06 17:26:18 +00:00
|
|
|
--primary: #7c3aed;
|
|
|
|
|
--primary-foreground: #ffffff;
|
|
|
|
|
--secondary: #f4f4f0;
|
|
|
|
|
--secondary-foreground: #0a0a0a;
|
|
|
|
|
--muted: #f4f4f0;
|
|
|
|
|
--muted-foreground: #52525b;
|
|
|
|
|
--accent: #ede9fe;
|
|
|
|
|
--accent-foreground: #5b21b6;
|
|
|
|
|
--destructive: #e54b4f;
|
|
|
|
|
--destructive-foreground: #ffffff;
|
2026-03-30 00:37:11 +00:00
|
|
|
--success: #16a34a;
|
2026-05-06 17:26:18 +00:00
|
|
|
--error: #e54b4f;
|
2026-03-30 00:37:11 +00:00
|
|
|
--warning: #d97706;
|
|
|
|
|
--info: #2563eb;
|
2026-05-06 17:26:18 +00:00
|
|
|
--border: #0a0a0a;
|
|
|
|
|
--input: #0a0a0a;
|
|
|
|
|
--ring: #7c3aed;
|
|
|
|
|
--chart-1: #7c3aed;
|
|
|
|
|
--chart-2: #8b5cf6;
|
|
|
|
|
--chart-3: #a78bfa;
|
|
|
|
|
--chart-4: #5b21b6;
|
|
|
|
|
--chart-5: #4c1d95;
|
|
|
|
|
--sidebar: #ffffff;
|
2026-03-30 00:37:11 +00:00
|
|
|
--sidebar-foreground: #0a0a0a;
|
2026-05-06 17:26:18 +00:00
|
|
|
--sidebar-primary: #7c3aed;
|
|
|
|
|
--sidebar-primary-foreground: #ffffff;
|
|
|
|
|
--sidebar-accent: #ede9fe;
|
|
|
|
|
--sidebar-accent-foreground: #5b21b6;
|
|
|
|
|
--sidebar-border: #0a0a0a;
|
|
|
|
|
--sidebar-ring: #7c3aed;
|
|
|
|
|
--font-sans: Figtree, ui-sans-serif, system-ui, -apple-system,
|
2026-03-30 00:37:11 +00:00
|
|
|
BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
|
|
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
|
|
|
'Segoe UI Symbol', 'Noto Color Emoji';
|
2026-05-06 17:26:18 +00:00
|
|
|
--font-serif: 'Instrument Serif', ui-serif, Georgia, Cambria,
|
|
|
|
|
'Times New Roman', Times, serif;
|
|
|
|
|
--font-display: 'Instrument Serif', ui-serif, Georgia, Cambria,
|
|
|
|
|
'Times New Roman', Times, serif;
|
|
|
|
|
--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco,
|
|
|
|
|
Consolas, 'Liberation Mono', 'Courier New', monospace;
|
|
|
|
|
--radius: 0.75rem;
|
|
|
|
|
/* Gumroad-style offset shadows: solid ink, no blur. */
|
|
|
|
|
--shadow-2xs: 1px 1px 0 0 #0a0a0a;
|
|
|
|
|
--shadow-xs: 2px 2px 0 0 #0a0a0a;
|
|
|
|
|
--shadow-sm: 3px 3px 0 0 #0a0a0a;
|
|
|
|
|
--shadow: 4px 4px 0 0 #0a0a0a;
|
|
|
|
|
--shadow-md: 5px 5px 0 0 #0a0a0a;
|
|
|
|
|
--shadow-lg: 6px 6px 0 0 #0a0a0a;
|
|
|
|
|
--shadow-xl: 8px 8px 0 0 #0a0a0a;
|
|
|
|
|
--shadow-2xl: 10px 10px 0 0 #0a0a0a;
|
2026-03-30 00:37:11 +00:00
|
|
|
--tracking-normal: 0em;
|
2026-01-18 16:10:01 +00:00
|
|
|
--spacing: 0.25rem;
|
2026-01-15 01:13:44 +00:00
|
|
|
}
|
|
|
|
|
|
2026-01-18 16:10:01 +00:00
|
|
|
@theme inline {
|
|
|
|
|
--color-background: var(--background);
|
|
|
|
|
--color-foreground: var(--foreground);
|
|
|
|
|
--color-card: var(--card);
|
|
|
|
|
--color-card-foreground: var(--card-foreground);
|
|
|
|
|
--color-popover: var(--popover);
|
|
|
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
|
|
|
--color-primary: var(--primary);
|
|
|
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
|
|
|
--color-secondary: var(--secondary);
|
|
|
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
|
|
|
--color-muted: var(--muted);
|
|
|
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
|
|
|
--color-accent: var(--accent);
|
|
|
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
|
|
|
--color-destructive: var(--destructive);
|
|
|
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
|
|
|
--color-border: var(--border);
|
|
|
|
|
--color-input: var(--input);
|
|
|
|
|
--color-ring: var(--ring);
|
|
|
|
|
--color-chart-1: var(--chart-1);
|
|
|
|
|
--color-chart-2: var(--chart-2);
|
|
|
|
|
--color-chart-3: var(--chart-3);
|
|
|
|
|
--color-chart-4: var(--chart-4);
|
|
|
|
|
--color-chart-5: var(--chart-5);
|
|
|
|
|
--color-sidebar: var(--sidebar);
|
|
|
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
|
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
|
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
|
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
|
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
|
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
|
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
|
|
|
|
|
|
|
|
--font-sans: var(--font-sans);
|
|
|
|
|
--font-mono: var(--font-mono);
|
|
|
|
|
--font-serif: var(--font-serif);
|
2026-05-06 17:26:18 +00:00
|
|
|
--font-display: var(--font-display);
|
2026-01-18 16:10:01 +00:00
|
|
|
|
|
|
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
|
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
|
|
|
--radius-lg: var(--radius);
|
|
|
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
|
|
|
|
|
|
|
|
--shadow-2xs: var(--shadow-2xs);
|
|
|
|
|
--shadow-xs: var(--shadow-xs);
|
|
|
|
|
--shadow-sm: var(--shadow-sm);
|
|
|
|
|
--shadow: var(--shadow);
|
|
|
|
|
--shadow-md: var(--shadow-md);
|
|
|
|
|
--shadow-lg: var(--shadow-lg);
|
|
|
|
|
--shadow-xl: var(--shadow-xl);
|
|
|
|
|
--shadow-2xl: var(--shadow-2xl);
|
2026-01-15 01:13:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@layer base {
|
2026-01-18 16:10:01 +00:00
|
|
|
* {
|
|
|
|
|
@apply border-border outline-ring/50;
|
|
|
|
|
}
|
2026-01-17 02:46:30 +00:00
|
|
|
|
2026-01-18 16:10:01 +00:00
|
|
|
body {
|
|
|
|
|
@apply bg-background text-foreground;
|
2026-05-06 17:26:18 +00:00
|
|
|
font-family: var(--font-sans);
|
2026-01-18 16:10:01 +00:00
|
|
|
}
|
2026-03-30 00:37:11 +00:00
|
|
|
}
|
2026-05-06 17:26:18 +00:00
|
|
|
|
|
|
|
|
/* Site headline + container utility classes — mirrors trypost-site's
|
|
|
|
|
`assets/css/utility-patterns.css`. Use `.h1`/.h2`/.h3` for serif
|
|
|
|
|
display headlines (Instrument Serif) instead of stacking Tailwind
|
|
|
|
|
text-* utilities. */
|
|
|
|
|
.h1 {
|
|
|
|
|
font-family: var(--font-display);
|
|
|
|
|
@apply text-4xl sm:text-5xl lg:text-7xl xl:text-[5.5rem] font-normal tracking-tight leading-[1.05];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h2 {
|
|
|
|
|
font-family: var(--font-display);
|
|
|
|
|
@apply text-pretty text-3xl font-normal tracking-tight leading-[1.1] sm:text-5xl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.h3 {
|
|
|
|
|
font-family: var(--font-display);
|
|
|
|
|
@apply text-pretty text-2xl font-normal tracking-tight sm:text-4xl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.trypost-container {
|
|
|
|
|
@apply relative max-w-7xl w-full flex-1 mx-auto flex flex-col justify-center;
|
|
|
|
|
}
|
2026-05-24 12:17:19 +00:00
|
|
|
|