mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 01:26:42 +02:00
chore: complete ManaCore → Mana rename (docs, go modules, plists, images)
Final cleanup of references missed in previous rename commits: - Dockerfiles: PUBLIC_MANA_CORE_AUTH_URL → PUBLIC_MANA_AUTH_URL - Go modules: github.com/manacore/* → github.com/mana/* (7 go.mod files) - launchd plists: com.manacore.* → com.mana.* (14 files renamed + content) - Image assets: *_Manacore_AI_Credits* → *_Mana_AI_Credits* (11 files) - .env.example files: ManaCore brand strings → Mana - .prettierignore: stale apps/manacore/* paths → apps/mana/* - Markdown docs (CLAUDE.md, /docs/*): mana-core-auth → mana-auth, etc. Excluded from rename: .claude/, devlog/, manascore/ (historical content), client testimonials, blueprints, npm package refs (@mana-core/*). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6f4667c2a3
commit
22a73943e1
307 changed files with 2408 additions and 4537 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# @manacore/shared-theme
|
||||
# @mana/shared-theme
|
||||
|
||||
Unified theme system for all Mana web applications. Provides a consistent theming experience with HSL-based colors, multiple theme variants, and light/dark mode support.
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ Unified theme system for all Mana web applications. Provides a consistent themin
|
|||
## Installation
|
||||
|
||||
```bash
|
||||
pnpm add @manacore/shared-theme
|
||||
pnpm add @mana/shared-theme
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
|
@ -24,7 +24,7 @@ pnpm add @manacore/shared-theme
|
|||
|
||||
```typescript
|
||||
// src/lib/stores/theme.ts
|
||||
import { createThemeStore } from '@manacore/shared-theme';
|
||||
import { createThemeStore } from '@mana/shared-theme';
|
||||
|
||||
export const theme = createThemeStore({
|
||||
appId: 'myapp',
|
||||
|
|
@ -57,7 +57,7 @@ export const theme = createThemeStore({
|
|||
|
||||
```css
|
||||
/* src/app.css */
|
||||
@import '@manacore/shared-tailwind/themes.css';
|
||||
@import '@mana/shared-tailwind/themes.css';
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
|
|
@ -163,7 +163,7 @@ The theme system provides 18 semantic color tokens:
|
|||
|
||||
## Usage with Tailwind
|
||||
|
||||
The `@manacore/shared-tailwind` preset maps all CSS variables to Tailwind classes:
|
||||
The `@mana/shared-tailwind` preset maps all CSS variables to Tailwind classes:
|
||||
|
||||
```html
|
||||
<!-- Backgrounds -->
|
||||
|
|
@ -192,14 +192,14 @@ The `@manacore/shared-tailwind` preset maps all CSS variables to Tailwind classe
|
|||
## Pre-defined App Configs
|
||||
|
||||
```typescript
|
||||
import { APP_THEME_CONFIGS } from '@manacore/shared-theme';
|
||||
import { APP_THEME_CONFIGS } from '@mana/shared-theme';
|
||||
|
||||
// Use pre-defined config
|
||||
export const theme = createThemeStore(APP_THEME_CONFIGS.memoro);
|
||||
|
||||
// Available configs:
|
||||
// - APP_THEME_CONFIGS.memoro (Gold)
|
||||
// - APP_THEME_CONFIGS.manacore (Indigo)
|
||||
// - APP_THEME_CONFIGS.mana (Indigo)
|
||||
// - APP_THEME_CONFIGS.cards (Indigo)
|
||||
// - APP_THEME_CONFIGS.maerchenzauber (Purple)
|
||||
```
|
||||
|
|
@ -216,10 +216,10 @@ import type {
|
|||
AppThemeConfig, // Store configuration
|
||||
ThemeStore, // Store interface
|
||||
HSLValue, // HSL string format
|
||||
} from '@manacore/shared-theme';
|
||||
} from '@mana/shared-theme';
|
||||
```
|
||||
|
||||
## Related Packages
|
||||
|
||||
- `@manacore/shared-tailwind` - Tailwind preset with theme CSS variables
|
||||
- `@manacore/shared-theme-ui` - Theme toggle and selector components
|
||||
- `@mana/shared-tailwind` - Tailwind preset with theme CSS variables
|
||||
- `@mana/shared-theme-ui` - Theme toggle and selector components
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue