mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2025-05-23 06:41:06 +08:00
16 lines
449 B
TypeScript
16 lines
449 B
TypeScript
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import App from '../src/App';
|
|
import '../src/styles/global.scss';
|
|
import '../src/styles/utils.scss';
|
|
import { domRelatedOptForTheme } from '../src/utils';
|
|
import theme from './diy.theme.json';
|
|
|
|
domRelatedOptForTheme(theme);
|
|
|
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
<React.StrictMode>
|
|
<App theme={theme} />
|
|
</React.StrictMode>
|
|
);
|