Files
ozone-tech_owl_prime/.cursor/rules/react-design-system.mdc
2026-07-04 12:14:08 +02:00

25 lines
935 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: React design system and component boundaries for sorter demo
globs: src/**/*.{tsx,ts,css}
alwaysApply: false
---
# React Design System Rules
- Не ломать domain logic.
- UI-компоненты должны быть небольшими и понятными.
- Переиспользовать данные scenarios / criteria / demoSteps.
- Не добавлять тяжёлые UI-библиотеки.
- Не добавлять 3D.
- Не добавлять backend.
- Компоненты:
- HeroSection
- ProductDemoSection
- StorylineStepper
- ScenarioCards
- CriteriaCards
- EngineeringDetails
- Старые инженерные панели можно использовать внутри EngineeringDetails.
- Стили централизовать в styles.css или небольших CSS-блоках.
- Не делать хаотичный refactor всего проекта.