mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-17 23:42:51 +00:00
15 lines
399 B
TypeScript
15 lines
399 B
TypeScript
import {
|
|
argbFromHex,
|
|
hexFromArgb,
|
|
themeFromSourceColor,
|
|
} from "@material/material-color-utilities";
|
|
|
|
export const themeBase = "#6D81C7";
|
|
export const themeSuccessBase = "#00ff00";
|
|
|
|
const theme = themeFromSourceColor(argbFromHex(themeBase), [
|
|
{ name: "success", value: argbFromHex(themeSuccessBase), blend: true },
|
|
]);
|
|
|
|
export const themeColor = hexFromArgb(theme.schemes.dark.background);
|