@nurl/panda-preset
Version:
Official Panda-CSS preset for the Ganglion Design System.
67 lines (66 loc) • 1.84 kB
JavaScript
;
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/recipes/tag.ts
var tag_exports = {};
__export(tag_exports, {
tag: () => tag
});
module.exports = __toCommonJS(tag_exports);
var import_dev = require("@pandacss/dev");
var import_states = require("./shared/states.cjs");
var tag = (0, import_dev.defineRecipe)({
className: "tag",
description: "The styles for the Tag component",
base: {
...import_states.focusStates,
border: "1px solid",
borderColor: "neutral.border.initial",
color: "action.navigation.initial",
rounded: "md",
textStyle: "link",
_hover: {
color: "action.navigation.hover",
textDecoration: "none"
},
_visited: {
color: "action.navigation.visited"
}
},
variants: {
size: {
sm: {
fontSize: "sm",
pxi: "2",
py: "1.5px"
},
md: {
pxi: "3",
py: "1"
}
}
},
defaultVariants: {
size: "md"
}
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
tag
});
//# sourceMappingURL=tag.cjs.map