import { background200, ncFaction, trFaction, vsFaction } from "../utils/theme"; import type { Population } from "../utils/saerro"; import { pieRoot } from "./faction-pie.css"; export const FactionPie = ({ population, innerMargin, innerBackground, size, }: { population: Population; innerMargin?: number; innerBackground?: string; size?: string; }) => { const { nc, tr, vs } = population; const total = nc + tr + vs; const trPct = (tr / total) * 100; const vsPct = (vs / total) * 100; return (
 
); };