arm-core/web/src/index.tsx
Andrey Epifancev 5958b07410 fix(web): синхронизация встроенного фронта с arm-web@test (a3c0010) (#139)
Перенесён диапазон arm-web 8345f5e..a3c0010 (3 коммитов, 22 файлов набора
синхронизации) скриптом docs/scripts/sync-web.sh. После переноса web/ и
arm-web@test идентичны по набору. Коммиты arm-web:
- ff1e45c file id as option value for react rendering
- 0242486 fix(#49): зелёный make check и исправления после ревью (AURORA-144)
- 0fdbd80 feat: add comments frontend, checklist modal, files delete, select options in document review

Co-Authored-By: sync-web.sh <noreply@aepif.ru>
2026-10-19 14:54:36 +04:00

61 lines
1.3 KiB
TypeScript
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.

import { createRoot } from 'react-dom/client';
import './index.css';
import { ConfigProvider } from 'antd';
import locale from 'antd/locale/ru_RU';
import dayjs from 'dayjs';
import App from './App';
import 'dayjs/locale/ru';
dayjs.locale('ru');
const rootElement = document.getElementById('root');
if (!rootElement) {
throw new Error('Не найден корневой элемент #root');
}
createRoot(rootElement).render(
// <StrictMode>
<ConfigProvider
locale={locale}
theme={{
token: {
colorPrimary: 'rgba(46, 166, 75, 0.8)',
fontFamily: 'Geist',
// colorPrimaryHover: "black",
colorBgLayout: 'rgb(247, 248, 250)',
colorBgTextHover: '#f8fafc',
},
components: {
Layout: {
siderBg: '#fff',
fontSize: 13,
},
Button: {
defaultBorderColor: '#c7cdd5',
defaultHoverBg: '#f8fafc',
defaultHoverColor: 'black',
defaultHoverBorderColor: '#c7cdd5',
fontWeight: 500,
},
Input: {
activeBorderColor: 'rgba(46, 166, 75, 0.35)',
activeShadow: '0 0 0 1px #2ea64b59,0 1px 2px #0000000f',
hoverBorderColor: 'rgba(46, 166, 75, 0.35)',
},
Table: {
headerColor: '#667085',
headerBg: 'rgb(248, 250, 252)',
},
Form: {
labelFontSize: 12,
labelColor: '#667085',
},
},
}}>
<App />
</ConfigProvider>,
// </StrictMode>,
);