PromoCursed/node_modules/.cache/babel-loader/84880461ee14314302d2d5eaea804d9643a395e78ab61b8d1a1395bf2d612f5c.json
2024-08-20 23:25:37 +04:00

1 line
1.4 KiB
JSON

{"ast":null,"code":"import { TinyColor } from '@ctrl/tinycolor';\nexport const getAlphaColor = (baseColor, alpha) => new TinyColor(baseColor).setAlpha(alpha).toRgbString();\nexport const getSolidColor = (baseColor, brightness) => {\n const instance = new TinyColor(baseColor);\n return instance.lighten(brightness).toHexString();\n};","map":{"version":3,"names":["TinyColor","getAlphaColor","baseColor","alpha","setAlpha","toRgbString","getSolidColor","brightness","instance","lighten","toHexString"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/antd/es/theme/themes/dark/colorAlgorithm.js"],"sourcesContent":["import { TinyColor } from '@ctrl/tinycolor';\nexport const getAlphaColor = (baseColor, alpha) => new TinyColor(baseColor).setAlpha(alpha).toRgbString();\nexport const getSolidColor = (baseColor, brightness) => {\n const instance = new TinyColor(baseColor);\n return instance.lighten(brightness).toHexString();\n};"],"mappings":"AAAA,SAASA,SAAS,QAAQ,iBAAiB;AAC3C,OAAO,MAAMC,aAAa,GAAGA,CAACC,SAAS,EAAEC,KAAK,KAAK,IAAIH,SAAS,CAACE,SAAS,CAAC,CAACE,QAAQ,CAACD,KAAK,CAAC,CAACE,WAAW,CAAC,CAAC;AACzG,OAAO,MAAMC,aAAa,GAAGA,CAACJ,SAAS,EAAEK,UAAU,KAAK;EACtD,MAAMC,QAAQ,GAAG,IAAIR,SAAS,CAACE,SAAS,CAAC;EACzC,OAAOM,QAAQ,CAACC,OAAO,CAACF,UAAU,CAAC,CAACG,WAAW,CAAC,CAAC;AACnD,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}