Some checks failed
build-images / web (push) Has been cancelled
vision2026-ci / Python SDK resource tests (push) Has been cancelled
build-images / api (push) Has been cancelled
build-images / worker-gpu (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (comfy-workflow-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (effects-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (eventbus-types) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (growth-analytics) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (provider-adapter-kit) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (publishing-connectors) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (render-core) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (shot-template-schema) (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (trends-schema) (push) Has been cancelled
vision2026-ci / Desktop engine crates (test + clippy + fmt) (push) Has been cancelled
codeql / Analyze (javascript-typescript) (push) Has been cancelled
codeql / Analyze (python) (push) Has been cancelled
perf / API hot-path micro-smoke (budgeted) (push) Has been cancelled
perf / Desktop engine crates (release build check) (push) Has been cancelled
vision2026-ci / API phase modules (ruff + pytest) (push) Has been cancelled
vision2026-ci / Alembic upgrade + drift check (push) Has been cancelled
vision2026-ci / Shared packages (TS≡Python golden parity) (caption-engine) (push) Has been cancelled
Paid, hosted product at menivor.com, now retired as a company project. Fresh squashed history of the cleaned working tree (secret-scanned, no .env, no customer data, no outreach logs). Built on MoneyPrinterTurbo (MIT, harry0703) — see NOTICE.
103 lines
3.5 KiB
TypeScript
103 lines
3.5 KiB
TypeScript
/**
|
|
* Shared editorial styles for the approvals and channel-publishing screens
|
|
* (cards, chips, buttons, inputs, notes). Tokens only; no one-off colors.
|
|
*/
|
|
|
|
import { StyleSheet } from "react-native";
|
|
|
|
import { colors } from "@/components/me/theme";
|
|
import { radius, spacing, typeScale, weight } from "@/src/shared/theme";
|
|
|
|
export const ui = StyleSheet.create({
|
|
screen: { flex: 1, backgroundColor: colors.bg },
|
|
content: { padding: spacing.xl - 4, paddingBottom: 48, gap: spacing.md },
|
|
intro: { color: colors.textSecondary, fontSize: typeScale.body, lineHeight: 22 },
|
|
sectionTitle: {
|
|
color: colors.textPrimary,
|
|
fontSize: typeScale.subheading,
|
|
fontWeight: weight.bold,
|
|
marginTop: spacing.md,
|
|
},
|
|
kicker: {
|
|
color: colors.textSecondary,
|
|
fontSize: typeScale.micro,
|
|
fontWeight: weight.bold,
|
|
letterSpacing: 0.8,
|
|
textTransform: "uppercase",
|
|
},
|
|
card: {
|
|
backgroundColor: colors.card,
|
|
borderColor: colors.border,
|
|
borderWidth: StyleSheet.hairlineWidth,
|
|
borderRadius: radius.md,
|
|
padding: spacing.lg,
|
|
gap: spacing.sm,
|
|
},
|
|
row: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: spacing.sm },
|
|
title: { color: colors.textPrimary, fontSize: typeScale.subheading, fontWeight: weight.semibold },
|
|
body: { color: colors.textSecondary, fontSize: typeScale.body, lineHeight: 21 },
|
|
muted: { color: colors.muted, fontSize: typeScale.caption, lineHeight: 18 },
|
|
error: { color: colors.error, fontSize: typeScale.caption, lineHeight: 18 },
|
|
ok: { color: colors.success, fontSize: typeScale.caption, lineHeight: 18 },
|
|
badge: {
|
|
borderColor: colors.border,
|
|
borderWidth: StyleSheet.hairlineWidth,
|
|
borderRadius: radius.sm,
|
|
paddingHorizontal: spacing.sm,
|
|
paddingVertical: 2,
|
|
},
|
|
badgeText: { color: colors.textSecondary, fontSize: typeScale.micro, fontWeight: weight.semibold },
|
|
badgeDanger: { borderColor: colors.error },
|
|
badgeDangerText: { color: colors.error },
|
|
badgeOk: { borderColor: colors.success },
|
|
badgeOkText: { color: colors.success },
|
|
chip: {
|
|
borderColor: colors.border,
|
|
borderWidth: StyleSheet.hairlineWidth,
|
|
borderRadius: radius.pill,
|
|
paddingHorizontal: spacing.md,
|
|
paddingVertical: 6,
|
|
backgroundColor: colors.cardAlt,
|
|
},
|
|
chipOn: { backgroundColor: colors.accent, borderColor: colors.accent },
|
|
chipText: { color: colors.textSecondary, fontSize: typeScale.caption, fontWeight: weight.semibold },
|
|
chipTextOn: { color: colors.bg },
|
|
input: {
|
|
backgroundColor: colors.cardAlt,
|
|
borderColor: colors.border,
|
|
borderWidth: StyleSheet.hairlineWidth,
|
|
borderRadius: radius.md,
|
|
color: colors.textPrimary,
|
|
fontSize: typeScale.body,
|
|
paddingHorizontal: spacing.md,
|
|
paddingVertical: 10,
|
|
},
|
|
multiline: { minHeight: 96, textAlignVertical: "top" },
|
|
button: {
|
|
flexDirection: "row",
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
gap: 6,
|
|
borderRadius: radius.md,
|
|
paddingHorizontal: spacing.lg,
|
|
paddingVertical: 10,
|
|
backgroundColor: colors.accent,
|
|
},
|
|
buttonText: { color: colors.bg, fontSize: typeScale.caption, fontWeight: weight.bold },
|
|
buttonGhost: {
|
|
backgroundColor: "transparent",
|
|
borderColor: colors.border,
|
|
borderWidth: StyleSheet.hairlineWidth,
|
|
},
|
|
buttonGhostText: { color: colors.textPrimary },
|
|
disabled: { opacity: 0.45 },
|
|
center: { alignItems: "center", justifyContent: "center", paddingVertical: 40, gap: spacing.sm },
|
|
empty: {
|
|
borderColor: colors.border,
|
|
borderWidth: StyleSheet.hairlineWidth,
|
|
borderStyle: "dashed",
|
|
borderRadius: radius.md,
|
|
padding: spacing.lg,
|
|
},
|
|
});
|