@putdotio/design 2.0.2 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESIGN.md +25 -1
- package/dist/css/tokens.css +74 -0
- package/dist/figma/putio.tokens.json +200 -0
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.dtcg.json +984 -123
- package/dist/tokens.flat.json +598 -0
- package/dist/tokens.js +598 -0
- package/package.json +4 -2
- package/system/README.md +51 -12
- package/system/assets/app-icon-nightly-stars.png +0 -0
- package/system/assets/discoball.gif +0 -0
- package/system/assets/nightly-fullmoon.png +0 -0
- package/system/assets/nightly-saucer.png +0 -0
- package/system/assets/nightly-starfield.png +0 -0
- package/system/components.css +3 -1
- package/tokens/components.tokens.json +756 -0
- package/tokens/context.tokens.json +85 -0
|
@@ -94,6 +94,64 @@
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
},
|
|
97
|
+
"nightly": {
|
|
98
|
+
"$description": "Nightly/staging store-art flavor: TestFlight, Play internal/closed tracks, and staging TV sideloads. True-black sky with scattered stars; the mark stays exactly as production draws it, so the surface alone carries the flavor.",
|
|
99
|
+
"background": {
|
|
100
|
+
"$type": "color",
|
|
101
|
+
"$value": "hsl(0, 0%, 2%)",
|
|
102
|
+
"$description": "True black, one step past production charcoal; carries the star field so a staging build is unmistakable next to the shipping app.",
|
|
103
|
+
"$extensions": {
|
|
104
|
+
"putio": {
|
|
105
|
+
"cssName": "tv-channel-art-nightly-bg",
|
|
106
|
+
"mode": "tv"
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"accent": {
|
|
111
|
+
"$type": "color",
|
|
112
|
+
"$value": "{color.brand.yellow}",
|
|
113
|
+
"$description": "Unlike dev, nightly does not recolor the mark: the accent is the brand yellow and the retro wordmark keeps its yellow drop-shadow. Present so emitters can express the flavor as a complete set rather than a special case.",
|
|
114
|
+
"$extensions": {
|
|
115
|
+
"putio": {
|
|
116
|
+
"cssName": "tv-channel-art-nightly-accent",
|
|
117
|
+
"mode": "tv"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"star": {
|
|
122
|
+
"$type": "color",
|
|
123
|
+
"$value": "hsl(0, 0%, 100%)",
|
|
124
|
+
"$description": "Star colour. Stars are scattered, never gridded: three sizes at roughly 36%, 62%, and 95% opacity with the faint ones dominating. Static — never animated, blurred, or glowing.",
|
|
125
|
+
"$extensions": {
|
|
126
|
+
"putio": {
|
|
127
|
+
"cssName": "tv-channel-art-nightly-star",
|
|
128
|
+
"mode": "tv"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"moon": {
|
|
133
|
+
"$type": "color",
|
|
134
|
+
"$value": "{color.brand.yellow}",
|
|
135
|
+
"$description": "Full moon disc in the brand yellow, placed top-left. Its own token so a platform can place the moon without hard-coding the brand value.",
|
|
136
|
+
"$extensions": {
|
|
137
|
+
"putio": {
|
|
138
|
+
"cssName": "tv-channel-art-nightly-moon",
|
|
139
|
+
"mode": "tv"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"moonCrater": {
|
|
144
|
+
"$type": "color",
|
|
145
|
+
"$value": "hsl(45, 82%, 56%)",
|
|
146
|
+
"$description": "Craters one step darker than the moon disc. Low contrast on purpose: texture at icon size, not holes.",
|
|
147
|
+
"$extensions": {
|
|
148
|
+
"putio": {
|
|
149
|
+
"cssName": "tv-channel-art-nightly-moon-crater",
|
|
150
|
+
"mode": "tv"
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
},
|
|
97
155
|
"lab": {
|
|
98
156
|
"background": {
|
|
99
157
|
"$type": "color",
|
|
@@ -131,6 +189,33 @@
|
|
|
131
189
|
},
|
|
132
190
|
"tv": {
|
|
133
191
|
"$description": "The portable 10-foot scale. These mode \"tv\" tokens are graph data for platform adapters and are not emitted into web CSS; preview support CSS declares matching --tv-* properties under .tv. TV has no mono face, and its z-order is distinct from the web stack.",
|
|
192
|
+
"video": {
|
|
193
|
+
"$description": "On-video and hero-art plate colors. Fixed values by design: the video underneath does not change with the theme.",
|
|
194
|
+
"background": {
|
|
195
|
+
"$type": "color",
|
|
196
|
+
"$value": "hsl(0, 0%, 0%)",
|
|
197
|
+
"$description": "Letterbox / video plate. True black, not the app background.",
|
|
198
|
+
"$extensions": { "putio": { "cssName": "tv-video-bg", "mode": "tv" } }
|
|
199
|
+
},
|
|
200
|
+
"heroScrimTop": {
|
|
201
|
+
"$type": "color",
|
|
202
|
+
"$value": "hsl(30, 18.2%, 8.6%)",
|
|
203
|
+
"$description": "Top stop of the warm-black wash behind hero/poster art.",
|
|
204
|
+
"$extensions": { "putio": { "cssName": "tv-hero-scrim-top", "mode": "tv" } }
|
|
205
|
+
},
|
|
206
|
+
"heroScrimBottom": {
|
|
207
|
+
"$type": "color",
|
|
208
|
+
"$value": "hsl(30, 25%, 1.6%)",
|
|
209
|
+
"$description": "Bottom stop of the hero wash. Near-black but warm — never pure black, which reads blue next to the art.",
|
|
210
|
+
"$extensions": { "putio": { "cssName": "tv-hero-scrim-bottom", "mode": "tv" } }
|
|
211
|
+
},
|
|
212
|
+
"textOnVideo": {
|
|
213
|
+
"$type": "color",
|
|
214
|
+
"$value": "hsl(0, 0%, 100%)",
|
|
215
|
+
"$description": "Player chrome over video — always white, never a theme token.",
|
|
216
|
+
"$extensions": { "putio": { "cssName": "tv-text-on-video", "mode": "tv" } }
|
|
217
|
+
}
|
|
218
|
+
},
|
|
134
219
|
"text": {
|
|
135
220
|
"heading": {
|
|
136
221
|
"$type": "dimension",
|