@agnikul-ui/panda-preset
Version:
Panda CSS Preset for Agnikul UI
79 lines (78 loc) • 2.91 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/warning.ts
var warning_exports = {};
__export(warning_exports, {
default: () => warning_default
});
module.exports = __toCommonJS(warning_exports);
var import_dev = require("@pandacss/dev");
var tokens = import_dev.defineTokens.colors({
light: {
"25": { value: "#fffcf5" },
"50": { value: "#fffaeb" },
"100": { value: "#fef0c7" },
"200": { value: "#fedf89" },
"300": { value: "#fec84b" },
"400": { value: "#fdb022" },
"500": { value: "#f79009" },
"600": { value: "#dc6803" },
"700": { value: "#b54708" },
"800": { value: "#93370d" },
"900": { value: "#7a2e0e" },
"950": { value: "#4e1d09" }
},
dark: {
"25": { value: "#4e1d09" },
"50": { value: "#7a2e0e" },
"100": { value: "#93370d" },
"200": { value: "#b54708" },
"300": { value: "#dc6803" },
"400": { value: "#f79009" },
"500": { value: "#fdb022" },
"600": { value: "#fec84b" },
"700": { value: "#fedf89" },
"800": { value: "#fef0c7" },
"900": { value: "#fffaeb" },
"950": { value: "#fffcf5" }
}
});
var semanticTokens = import_dev.defineSemanticTokens.colors({
bg: {
soft_surface: { value: { _light: "{colors.warning.25}", _dark: "{colors.warning.900}" } },
default: { value: { _light: "{colors.warning.500}", _dark: "{colors.warning.500}" } },
subtle: { value: { _light: "{colors.warning.100}", _dark: "{colors.warning.700}" } },
emphasized: { value: { _light: "{colors.warning.600}", _dark: "{colors.warning.400}" } }
},
fg: {
primary: { value: { _light: "{colors.warning.600}", _dark: "{colors.warning.400}" } },
secondary: { value: { _light: "{colors.warning.500}", _dark: "{colors.warning.500}" } },
tertiary: { value: { _light: "{colors.warning.300}", _dark: "{colors.warning.700}" } }
},
border: {
subtle: { value: { _light: "{colors.warning.200}", _dark: "{colors.warning.600}" } },
default: { value: { _light: "{colors.warning.500}", _dark: "{colors.warning.400}" } }
}
});
var warning_default = {
name: "warning",
tokens,
semanticTokens
};
//# sourceMappingURL=warning.cjs.map