Documentation
Customization
On this page
Tapotik AI is fully token-driven, so rebranding is fast and centralized. Here's how to make it yours.
🖌️ Changing the Brand
Follow these four steps to rebrand the whole template:
Logo & icons
Replace the mark in
app/components/LogoMark.vue(the wordmark isapp/components/Logo.vue) andpublic/icon.svg, then regenerate the matching icon set from it:public/favicon.icopublic/apple-icon.pngpublic/icon-192.pngpublic/icon-512.png
These are used by
public/manifest.webmanifest. The social share card is a static image — replacepublic/opengraph-image.png.
🎨 Design Tokens
Design tokens are CSS variables in app/assets/css/main.css, mapped into Tailwind v4 via @theme inline.
| Token | Dark | Light |
|---|---|---|
--primary | #5B5BF7 | #5B5BF7 |
--secondary | #8B5CF6 | #8B5CF6 |
--accent | #00F5D4 | #00C7AC |
--pink | #FF4ECD | #FF4ECD |
--background | #050816 | #F7F8FC |
--card | #0E1325 | #FFFFFF |
The brand color is single-sourced. Use the main.css tokens for CSS/Tailwind classes; for SVG fills and ECharts, use brandHex from app/lib/brand-colors.ts.
✨ Custom Utilities
The template adds a set of utility classes on top of Tailwind:
- Surfaces:
glass,glass-strong,border-gradient - Text:
text-gradient,text-gradient-pink,shimmer-text - Backgrounds:
bg-grid,bg-dots - Layout:
container-wide - Animations:
animate-aurora,animate-float,animate-marquee, and more.
🌗 Dark / Light Mode
Theming uses the .dark class strategy (via @nuxtjs/color-mode, configured in nuxt.config.ts), not a media query. The @custom-variant dark in main.css drives all dark-mode styling. Both themes are fully designed — the template is dark-first.
📝 Editing Content
All copy and mock content is centralized in app/lib/data.ts — blog posts, job openings, docs navigation, pricing tiers, testimonials, and more. Dynamic routes (blog/[slug], careers/[slug]) look up their entry in this file, and sitemap.xml lists every post and job from it — nuxt generate crawls every page from /, so adding an entry there automatically generates its page.
Navigation structure (navbar + footer) lives in app/config/site.ts.
🧱 Adding Components
app/components/ui/* are shadcn-vue wrappers over Reka UI. Add new primitives with:
npx shadcn-vue@latest add [component]components.json drives the registry configuration.
After adding a component: new shadcn-vue files import cn from a separate cn npm package, which the CLI also adds to package.json. Point them at the template's helper instead — replace from 'cn' with from '@/lib/utils' in the new files, then run npm uninstall cn. New components also arrive with shadcn's neutral default styling; restyle them to match the Tapotik primitives next to them. Keep the font key out of components.json: with it set, the CLI rewrites app/assets/css/main.css (it adds a Google Fonts @import and neutral base styles).
When adding pages, follow the existing pattern: a .vue file under app/pages/ (file-based routing) that sets its title and description with useSeoMeta(), with its page-specific components under app/components/<area>/ — never inside pages/, where every .vue file becomes a route. Components are auto-imported by file name, so every component file name must be unique. Keep code SSR-safe: use window / document only in onMounted or event handlers.
🔌 Wiring a Real Backend
When you're ready to go beyond UI-only, these are the swap-in points:
- Forms — route submits through
useSimulatedSubmit()(app/composables/useSimulatedSubmit.ts); replace itssetTimeoutwith a real request. Pair withSubmitButton(components/ui/submit-button/SubmitButton.vue) for the pending state. - Social links — the URLs in
siteConfig.linksare placeholders; replace them. - Copy actions — go through
copyWithToast()(app/lib/clipboard.ts). - Demo login — the login form is prefilled with a demo account (
DEMO_CREDENTIALSinapp/components/auth/LoginForm.vue). Set both values to empty strings when you connect real auth; the hint above the form disappears with them. - Demo video — the hero Watch demo button opens
public/video/tapotik-demo.webm(a recording of this template) in a lightbox. Replace the file (andtapotik-demo-poster.jpg) with your own product video, or swap the<video>inapp/components/site/VideoDialog.vuefor a YouTube / Vimeo<iframe>.