{"_id":"@akson/cortex-landing-themes","_rev":"2-733df331cc6fcd8a79e1587a9ccf064c","name":"@akson/cortex-landing-themes","dist-tags":{"latest":"0.3.0"},"versions":{"0.3.0":{"name":"@akson/cortex-landing-themes","version":"0.3.0","keywords":["akson","landing","themes","design-system","css-custom-properties","design-tokens","color-system","typography"],"author":{"name":"MyArmy","email":"contact@myarmy.ch"},"license":"MIT","_id":"@akson/cortex-landing-themes@0.3.0","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"homepage":"https://github.com/antoineschaller/myarmy/tree/main/packages/@akson/cortex-landing-themes","bugs":{"url":"https://github.com/antoineschaller/myarmy/issues"},"dist":{"shasum":"0d73facff4c108bc8042df56f7d66b78e6e57cfb","tarball":"https://registry.npmjs.org/@akson/cortex-landing-themes/-/cortex-landing-themes-0.3.0.tgz","fileCount":2,"integrity":"sha512-i1mazEqLDnHNrEpKXxbyOATGMLCpbu2HrpeIgs9485/XsSJuMt+JhkcD0H2DhKIs9nt8WjeX5S/4mRRqqnqeMw==","signatures":[{"sig":"MEUCIQD8DUht2DPYC9dmvoTbxRqkjUH9iD8BuIXKuZ3jaS6crAIgX5WIiGJuuPWKGqmF9zg2pKPsX1l/aMQIBtdNghW+LsQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3696},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./colors":{"types":"./dist/colors/index.d.ts","import":"./dist/colors/index.mjs","require":"./dist/colors/index.js"},"./themes":{"types":"./dist/themes/index.d.ts","import":"./dist/themes/index.mjs","require":"./dist/themes/index.js"},"./spacing":{"types":"./dist/spacing/index.d.ts","import":"./dist/spacing/index.mjs","require":"./dist/spacing/index.js"},"./tech.css":"./themes/tech.css","./modern.css":"./themes/modern.css","./typography":{"types":"./dist/typography/index.d.ts","import":"./dist/typography/index.mjs","require":"./dist/typography/index.js"},"./corporate.css":"./themes/corporate.css","./minimalist.css":"./themes/minimalist.css"},"gitHead":"84153813d2b6cc183f00f23d04cf0e887c512fbe","scripts":{"dev":"tsup src/index.ts --format cjs,esm --dts --watch","lint":"biome check .","test":"vitest run","build":"tsup src/index.ts --format cjs,esm --dts --clean","clean":"rm -rf dist node_modules/.cache","lint:fix":"biome check --write .","test:watch":"vitest","build:themes":"node scripts/build-css-themes.js"},"_npmUser":{"name":"antoineschaller","email":"antoine.schaller@akson.ch"},"repository":{"url":"git+https://github.com/antoineschaller/myarmy.git","type":"git","directory":"packages/@akson/cortex-landing-themes"},"_npmVersion":"11.5.1","description":"Design system and theming utilities for landing pages - CSS custom properties, theme presets, and design tokens","directories":{},"_nodeVersion":"24.7.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^1.2.0","typescript":"^5.3.3","@types/node":"^20.11.0","@biomejs/biome":"^1.8.3"},"_npmOperationalInternal":{"tmp":"tmp/cortex-landing-themes_0.3.0_1757682932001_0.9827672069671338","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated: no consumers. No longer maintained."}},"time":{"created":"2025-09-12T13:15:31.902Z","modified":"2026-03-19T13:02:38.150Z","0.3.0":"2025-09-12T13:15:32.170Z"},"bugs":{"url":"https://github.com/antoineschaller/myarmy/issues"},"author":{"name":"MyArmy","email":"contact@myarmy.ch"},"license":"MIT","homepage":"https://github.com/antoineschaller/myarmy/tree/main/packages/@akson/cortex-landing-themes","keywords":["akson","landing","themes","design-system","css-custom-properties","design-tokens","color-system","typography"],"repository":{"url":"git+https://github.com/antoineschaller/myarmy.git","type":"git","directory":"packages/@akson/cortex-landing-themes"},"description":"Design system and theming utilities for landing pages - CSS custom properties, theme presets, and design tokens","maintainers":[{"name":"antoineschaller","email":"antoine.schaller@akson.ch"}],"readme":"# @akson/cortex-landing-themes\n\n> Design system and theming utilities for landing pages - CSS custom properties, theme presets, and design tokens\n\n## Installation\n\n```bash\nnpm install @akson/cortex-landing-themes\n```\n\n## Usage\n\n```typescript\nimport { ThemeProvider, useTheme, designTokens } from '@akson/cortex-landing-themes';\n\nfunction App() {\n  return (\n    <ThemeProvider theme=\"myarmy-default\">\n      <LandingPage />\n    </ThemeProvider>\n  );\n}\n\nfunction MyComponent() {\n  const theme = useTheme();\n  \n  return (\n    <div style={{\n      color: theme.colors.primary,\n      fontFamily: theme.fonts.heading\n    }}>\n      Swiss Military Theme\n    </div>\n  );\n}\n```\n\n## Design Tokens\n\n```css\n:root {\n  /* MyArmy Colors */\n  --myarmy-primary: #1A1A1A;\n  --myarmy-secondary: #7A8B73;\n  --myarmy-accent: #1F3A0F;\n  \n  /* Typography */\n  --font-heading: 'Swiss Military', serif;\n  --font-body: 'Inter', sans-serif;\n  \n  /* Spacing */\n  --spacing-xs: 0.5rem;\n  --spacing-sm: 1rem;\n  --spacing-md: 1.5rem;\n}\n```\n\n## Themes\n\n- `myarmy-default` - Standard Swiss military theme\n- `myarmy-dark` - Dark mode variant\n- `myarmy-minimal` - Minimalist version\n\n## Features\n\n- CSS custom properties\n- Theme switching\n- Design token system\n- WCAG AAA compliant colors\n- Swiss military aesthetic\n\n## License\n\nMIT © MyArmy","readmeFilename":"README.md"}