Modern presentation framework and CLI tool that transforms Markdown files into interactive, web-based slide presentations with built-in development server, export capabilities, and Vue.js integration
Overall
score
100%
You need to create a presentation that requires custom CSS utilities for consistent styling across slides. Specifically, you need to configure custom shortcuts and theme colors that will be used throughout the presentation.
Your task is to set up UnoCSS configuration to provide:
gradient-bg that applies a gradient backgroundbrand-primary (#3B82F6) and brand-secondary (#10B981)section (2.5rem) and content (1.75rem)The configuration should allow you to use these utilities in your slides, for example:
class="gradient-bg" to apply the gradient backgroundclass="text-brand-primary" to use the primary brand colorclass="p-section" to apply section paddinggradient-bg that creates a gradient from #667eea to #764ba2gradient-bg shortcut applies both a gradient background and white text color @testbrand-primary is accessible via UnoCSS utilities @testsection (2.5rem) is available for padding/margin utilities @test@generates
import type { UserConfig } from 'unocss'
export default function (): UserConfig;Provides the Slidev presentation framework with UnoCSS integration.
@satisfied-by
Provides utility-first CSS framework and configuration types.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-slidev--clidocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10