@mobilon-dev/chotto 0.2.25 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -116,7 +116,7 @@ import {
116
116
  ChatInput,
117
117
  ThemeMode
118
118
  } from '@mobilon-dev/chotto'
119
- import '@mobilon-dev/chotto/style.css'
119
+ import '@mobilon-dev/chotto/themes/index.scss'
120
120
 
121
121
  // Ваша логика...
122
122
  </script>
@@ -167,11 +167,20 @@ src/
167
167
  ├── helpers/ # Утилиты и хелперы
168
168
  ├── types/ # TypeScript типы
169
169
  ├── data/ # Mock данные для демонстрации
170
- ├── assets/ # Стили и темы
171
- │ └── themes/ # CSS темы (default, dark, green)
170
+ ├── themes/ # Стили и темы (default, dark, green)
172
171
  └── locale/ # Локализация (EN, RU)
173
172
  ```
174
173
 
174
+ Дополнительно в корне:
175
+
176
+ ```
177
+ .storybook/ # Storybook конфигурация
178
+ docs/ # Сборка Storybook (output)
179
+ scripts/ # Скрипты (валидатор тем)
180
+ PUBLISH.md # Шаги публикации пакета
181
+ THEME_ARCHITECTURE_PROMPT.md # Черновик архитектуры тем
182
+ ```
183
+
175
184
  ## 🎨 Темы и кастомизация
176
185
 
177
186
  ### Доступные темы
@@ -182,8 +191,8 @@ src/
182
191
  ### Кастомизация CSS переменных
183
192
  ```css
184
193
  [data-theme="light"] {
185
- --chotto-primary-color: #10b981;
186
- --chotto-secondary-color: #6b7280;
194
+ --chotto-theme-primary-color: #10b981;
195
+ --chotto-theme-secondary-color: #6b7280;
187
196
  --chotto-background-color: #ffffff;
188
197
  /* ... другие переменные */
189
198
  }