@agnikul-ui/panda-preset
Version:
Panda CSS Preset for Agnikul UI
79 lines (78 loc) • 2.86 kB
JavaScript
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/colors/error.ts
var error_exports = {};
__export(error_exports, {
default: () => error_default
});
module.exports = __toCommonJS(error_exports);
var import_dev = require("@pandacss/dev");
var tokens = import_dev.defineTokens.colors({
light: {
"25": { value: "#fffbfa" },
"50": { value: "#fef3f2" },
"100": { value: "#fee4e2" },
"200": { value: "#fecdca" },
"300": { value: "#fda29b" },
"400": { value: "#f97066" },
"500": { value: "#f04438" },
"600": { value: "#d92d20" },
"700": { value: "#b42318" },
"800": { value: "#912018" },
"900": { value: "#7a271a" },
"950": { value: "#7a271a" }
},
dark: {
"25": { value: "#7a271a" },
"50": { value: "#7a271a" },
"100": { value: "#912018" },
"200": { value: "#b42318" },
"300": { value: "#d92d20" },
"400": { value: "#f04438" },
"500": { value: "#f97066" },
"600": { value: "#fda29b" },
"700": { value: "#fecdca" },
"800": { value: "#fee4e2" },
"900": { value: "#fef3f2" },
"950": { value: "#fffbfa" }
}
});
var semanticTokens = import_dev.defineSemanticTokens.colors({
bg: {
soft_surface: { value: { _light: "{colors.error.25}", _dark: "{colors.error.900}" } },
default: { value: { _light: "{colors.error.500}", _dark: "{colors.error.500}" } },
subtle: { value: { _light: "{colors.error.100}", _dark: "{colors.error.700}" } },
emphasized: { value: { _light: "{colors.error.600}", _dark: "{colors.error.400}" } }
},
fg: {
primary: { value: { _light: "{colors.error.600}", _dark: "{colors.error.400}" } },
secondary: { value: { _light: "{colors.error.500}", _dark: "{colors.error.500}" } },
tertiary: { value: { _light: "{colors.error.300}", _dark: "{colors.error.700}" } }
},
border: {
subtle: { value: { _light: "{colors.error.200}", _dark: "{colors.error.600}" } },
default: { value: { _light: "{colors.error.500}", _dark: "{colors.error.400}" } }
}
});
var error_default = {
name: "error",
tokens,
semanticTokens
};
//# sourceMappingURL=error.cjs.map