File size: 3,208 Bytes
0d03497
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
"""
Professional background catalogue for BackgroundFX Pro
Only a dict (no heavy imports).  Each entry **must** include:
    - type:  "gradient" | "image" | "color"
    - colors OR path
Optional tuning keys:  brightness, contrast, direction, description
"""

from __future__ import annotations
from pathlib import Path

_ASSETS = Path(__file__).parent / "assets"

PROFESSIONAL_BACKGROUNDS = {
    # ── existing presets ──────────────────────────────────────────────────
    "office_modern": {
        "name": "Modern Office",
        "type": "gradient",
        "colors": ["#f8f9fa", "#e9ecef", "#dee2e6"],
        "direction": "diagonal",
        "description": "Clean, contemporary office environment",
        "brightness": 0.95,
        "contrast": 1.1,
    },
    "studio_blue": {
        "name": "Professional Blue",
        "type": "gradient",
        "colors": ["#1e3c72", "#2a5298", "#3498db"],
        "direction": "radial",
        "description": "Broadcast-quality blue studio",
        "brightness": 0.9,
        "contrast": 1.2,
    },
    "studio_green": {
        "name": "Broadcast Green",
        "type": "color",
        "colors": ["#00b894"],
        "chroma_key": True,
        "description": "Pure green-screen replacement",
        "brightness": 1.0,
        "contrast": 1.0,
    },
    "minimalist": {
        "name": "Minimalist White",
        "type": "gradient",
        "colors": ["#ffffff", "#f1f2f6", "#dddddd"],
        "direction": "soft_radial",
        "description": "Clean, minimal background",
        "brightness": 0.98,
        "contrast": 0.9,
    },
    "warm_gradient": {
        "name": "Warm Sunset",
        "type": "gradient",
        "colors": ["#ff7675", "#fd79a8", "#fdcb6e"],
        "direction": "diagonal",
        "description": "Warm, inviting atmosphere",
        "brightness": 0.85,
        "contrast": 1.15,
    },
    "tech_dark": {
        "name": "Tech Dark",
        "type": "gradient",
        "colors": ["#0c0c0c", "#2d3748", "#4a5568"],
        "direction": "vertical",
        "description": "Modern tech/gaming setup",
        "brightness": 0.7,
        "contrast": 1.3,
    },

    # ── NEW presets you asked for ─────────────────────────────────────────
    "gradient_purple": {
        "name": "Purple Gradient",
        "type": "gradient",
        "colors": ["#786bff", "#b3a7ff"],
        "direction": "diagonal",
        "description": "Soft purple glow",
        "brightness": 0.9,
        "contrast": 1.1,
    },
    "gradient_teal": {
        "name": "Teal Gradient",
        "type": "gradient",
        "colors": ["#00b4a0", "#006488"],
        "direction": "vertical",
        "description": "Calm teal ambience",
        "brightness": 0.9,
        "contrast": 1.1,
    },
    "studio_soft_blue": {
        "name": "Studio Soft-Blue",
        "type": "image",
        "path": str(_ASSETS / "studio_soft_blue.jpg"),
        "description": "Broadcast studio with soft blue lights",
        "brightness": 1.0,
        "contrast": 1.0,
    },
}