Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
156 lines
3.5 KiB
Plaintext
156 lines
3.5 KiB
Plaintext
import {
|
|
swapColorValues
|
|
} from "./chunk-KUNVFLXJ.mjs";
|
|
import {
|
|
commonColors
|
|
} from "./chunk-IAS3SFA4.mjs";
|
|
|
|
// src/colors/semantic.ts
|
|
import { readableColor } from "color2k";
|
|
var base = {
|
|
light: {
|
|
background: {
|
|
DEFAULT: "#FFFFFF"
|
|
},
|
|
foreground: {
|
|
...commonColors.zinc,
|
|
DEFAULT: "#11181C"
|
|
},
|
|
divider: {
|
|
DEFAULT: "rgba(17, 17, 17, 0.15)"
|
|
},
|
|
focus: {
|
|
DEFAULT: commonColors.blue[500]
|
|
},
|
|
overlay: {
|
|
DEFAULT: "#000000"
|
|
},
|
|
content1: {
|
|
DEFAULT: "#FFFFFF",
|
|
foreground: "#11181C"
|
|
},
|
|
content2: {
|
|
DEFAULT: commonColors.zinc[100],
|
|
foreground: commonColors.zinc[800]
|
|
},
|
|
content3: {
|
|
DEFAULT: commonColors.zinc[200],
|
|
foreground: commonColors.zinc[700]
|
|
},
|
|
content4: {
|
|
DEFAULT: commonColors.zinc[300],
|
|
foreground: commonColors.zinc[600]
|
|
}
|
|
},
|
|
dark: {
|
|
background: {
|
|
DEFAULT: "#000000"
|
|
},
|
|
foreground: {
|
|
...swapColorValues(commonColors.zinc),
|
|
DEFAULT: "#ECEDEE"
|
|
},
|
|
focus: {
|
|
DEFAULT: commonColors.blue[500]
|
|
},
|
|
overlay: {
|
|
DEFAULT: "#000000"
|
|
},
|
|
divider: {
|
|
DEFAULT: "rgba(255, 255, 255, 0.15)"
|
|
},
|
|
content1: {
|
|
DEFAULT: commonColors.zinc[900],
|
|
foreground: commonColors.zinc[50]
|
|
},
|
|
content2: {
|
|
DEFAULT: commonColors.zinc[800],
|
|
foreground: commonColors.zinc[100]
|
|
},
|
|
content3: {
|
|
DEFAULT: commonColors.zinc[700],
|
|
foreground: commonColors.zinc[200]
|
|
},
|
|
content4: {
|
|
DEFAULT: commonColors.zinc[600],
|
|
foreground: commonColors.zinc[300]
|
|
}
|
|
}
|
|
};
|
|
var themeColorsLight = {
|
|
...base.light,
|
|
default: {
|
|
...commonColors.zinc,
|
|
foreground: readableColor(commonColors.zinc[300]),
|
|
DEFAULT: commonColors.zinc[300]
|
|
},
|
|
primary: {
|
|
...commonColors.blue,
|
|
foreground: readableColor(commonColors.blue[500]),
|
|
DEFAULT: commonColors.blue[500]
|
|
},
|
|
secondary: {
|
|
...commonColors.purple,
|
|
foreground: readableColor(commonColors.purple[500]),
|
|
DEFAULT: commonColors.purple[500]
|
|
},
|
|
success: {
|
|
...commonColors.green,
|
|
foreground: readableColor(commonColors.green[500]),
|
|
DEFAULT: commonColors.green[500]
|
|
},
|
|
warning: {
|
|
...commonColors.yellow,
|
|
foreground: readableColor(commonColors.yellow[500]),
|
|
DEFAULT: commonColors.yellow[500]
|
|
},
|
|
danger: {
|
|
...commonColors.red,
|
|
foreground: commonColors.white,
|
|
DEFAULT: commonColors.red[500]
|
|
}
|
|
};
|
|
var themeColorsDark = {
|
|
...base.dark,
|
|
default: {
|
|
...swapColorValues(commonColors.zinc),
|
|
foreground: readableColor(commonColors.zinc[700]),
|
|
DEFAULT: commonColors.zinc[700]
|
|
},
|
|
primary: {
|
|
...swapColorValues(commonColors.blue),
|
|
foreground: readableColor(commonColors.blue[500]),
|
|
DEFAULT: commonColors.blue[500]
|
|
},
|
|
secondary: {
|
|
...swapColorValues(commonColors.purple),
|
|
foreground: readableColor(commonColors.purple[400]),
|
|
DEFAULT: commonColors.purple[400]
|
|
},
|
|
success: {
|
|
...swapColorValues(commonColors.green),
|
|
foreground: readableColor(commonColors.green[500]),
|
|
DEFAULT: commonColors.green[500]
|
|
},
|
|
warning: {
|
|
...swapColorValues(commonColors.yellow),
|
|
foreground: readableColor(commonColors.yellow[500]),
|
|
DEFAULT: commonColors.yellow[500]
|
|
},
|
|
danger: {
|
|
...swapColorValues(commonColors.red),
|
|
foreground: commonColors.white,
|
|
DEFAULT: commonColors.red[500]
|
|
}
|
|
};
|
|
var semanticColors = {
|
|
light: themeColorsLight,
|
|
dark: themeColorsDark
|
|
};
|
|
|
|
export {
|
|
themeColorsLight,
|
|
themeColorsDark,
|
|
semanticColors
|
|
};
|