返回 presentation-ai
presentation.css
根目录 / src / styles / presentation.css
1 /* Presentation Theme Styles */
2 /* This file contains ONLY theme-related CSS variables and theme selectors */
3 /* All component-specific styling should use Tailwind CSS in the respective components */
4
5 /* Mystique Theme as default (light) */
6 :root {
7 /* Colors */
8 --presentation-primary: #7c3aed;
9 --presentation-secondary: #c7d2fe;
10 --presentation-accent: #a78bfa;
11 --presentation-background: #faf7ff;
12 --presentation-text: #3f3f46;
13 --presentation-heading: #312e81;
14 --presentation-muted: #a3a3b7;
15
16 /* Fonts */
17 --presentation-heading-font: "Lora", serif;
18 --presentation-body-font: "Inter", sans-serif;
19
20 /* Transitions */
21 --presentation-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
22 }
23
24 /* Mystique Theme (dark mode defaults) */
25 [data-theme="dark"] {
26 --presentation-primary: #a78bfa;
27 --presentation-secondary: #6d28d9;
28 --presentation-accent: #c7d2fe;
29 --presentation-background: #232038;
30 --presentation-text: #ede9fe;
31 --presentation-heading: #e0e7ff;
32 --presentation-muted: #8b89a7;
33 }
34
35 /* Theme-specific styling for presentation slides */
36 [data-theme="light"] [data-slide-content="true"] {
37 background-color: var(--presentation-background);
38 }
39
40 [data-theme="dark"] [data-slide-content="true"] {
41 background-color: var(--presentation-background);
42 }
43
44 /* Backdrop filter for presentation mode */
45 [data-is-presenting="true"] {
46 backdrop-filter: brightness(1.05);
47 }
48
49 [data-theme="dark"] [data-is-presenting="true"] {
50 backdrop-filter: brightness(1.1);
51 }
52
52 lines CSS