cial/cial-platform
Eliot M d7c83173cf refactor(core-ui): structured package — components/lib/styles + SCSS bundle
Reorganize @cial/core-ui from a flat src/ into three folders:
  - components/<Name>/  — tsx + colocated .scss per component, splitting
                         MessageList (240→60 lines + 6 leaf files) and
                         Sidebar / SessionView into their natural pieces
  - lib/                — store, theme, markdown, types
  - styles/             — _tokens, _base, _animations, _components,
                         index.scss (the SCSS bundle entry)

Move all custom CSS (theme tokens, glow border, hljs theme, prose-chat,
keyframes, .cial-logo, .bubble-*, .composer-shell, .send-button,
.cial-avatar, .empty-state-icon …) into the package's SCSS partials so
the package travels with its own styles. Replace inline gradient
style={{ background: 'linear-gradient(...)' }} usages in AppShell,
Sidebar avatar, SessionView empty-state and InputBar send button with
proper SCSS classes.

Expose `@cial/core-ui/styles` via the package.json exports map and
import it from cial-platform/front via a tiny cial-styles.scss alongside
globals.css. globals.css now owns ONLY Tailwind setup (the framework
import, @source for cross-package class scanning, @theme inline tokens
and the two @utility scrollbar rules — none of which Sass can parse).

Add `sass ^1.83.4` as a dev dep on cial-platform/front; Next.js 16
picks it up automatically. No public API change — `AppShell` and
`SessionUser` are still the only exports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-26 22:12:24 +00:00
..
back phase(1): scaffold all 10 workspace packages 2026-04-26 09:33:57 +00:00
front refactor(core-ui): structured package — components/lib/styles + SCSS bundle 2026-04-26 22:12:24 +00:00