refactor(frontend): move stylings out of logic into centralized file
This commit is contained in:
26
frontend/src/styles/stats/palette.ts
Normal file
26
frontend/src/styles/stats/palette.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
export const palette = {
|
||||
canvas: "#f6f8fa",
|
||||
surface: "#ffffff",
|
||||
textPrimary: "#24292f",
|
||||
textSecondary: "#57606a",
|
||||
textTertiary: "#4b5563",
|
||||
textBody: "#374151",
|
||||
borderDefault: "#d0d7de",
|
||||
borderMuted: "#d8dee4",
|
||||
shadowSubtle: "rgba(27, 31, 36, 0.04)",
|
||||
brandGreen: "#2da44e",
|
||||
brandGreenBorder: "#1f883d",
|
||||
statusPositiveBorder: "#b7dfc8",
|
||||
statusPositiveBg: "#edf9f1",
|
||||
statusPositiveText: "#1f6f43",
|
||||
statusNegativeBorder: "#f3c1c1",
|
||||
statusNegativeBg: "#fff2f2",
|
||||
statusNegativeText: "#9a2929",
|
||||
dangerText: "#b91c1c",
|
||||
successText: "#166534",
|
||||
alertErrorBorder: "rgba(185, 28, 28, 0.28)",
|
||||
alertErrorBg: "#fff5f5",
|
||||
alertErrorText: "#991b1b",
|
||||
alertInfoBorder: "rgba(0,0,0,0.06)",
|
||||
modalBackdrop: "rgba(0,0,0,0.45)",
|
||||
} as const;
|
||||
Reference in New Issue
Block a user