mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 21:39:06 +08:00
1 parent
3e0654b435
commit
dfe13334e7
2 files changed
+59
No files matched your search
@@ -1,8 +1,10 @@
|
|||||||
import './App.css';
|
import './App.css';
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import { Leva } from 'leva';
|
||||||
import { RenderControls } from './modules/ConfigPanel/ConfigPanel';
|
import { RenderControls } from './modules/ConfigPanel/ConfigPanel';
|
||||||
|
|
||||||
|
import LevaTheme from './modules/ConfigPanel/leva_theme.json';
|
||||||
import SetupScene from './modules/Scene/Scene';
|
import SetupScene from './modules/Scene/Scene';
|
||||||
import ViewerWindow from './modules/ViewerWindow/ViewerWindow';
|
import ViewerWindow from './modules/ViewerWindow/ViewerWindow';
|
||||||
|
|
||||||
@@ -11,6 +13,7 @@ export default function App() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="App">
|
<div className="App">
|
||||||
|
<Leva theme={LevaTheme} titleBar={false} />
|
||||||
<RenderControls />
|
<RenderControls />
|
||||||
<ViewerWindow scene={scene} />
|
<ViewerWindow scene={scene} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
"colors": {
|
||||||
|
"elevation1": "#292d39",
|
||||||
|
"elevation2": "#181c20",
|
||||||
|
"elevation3": "#373c4b",
|
||||||
|
"accent1": "#db5200",
|
||||||
|
"accent2": "#ff8600",
|
||||||
|
"accent3": "#ffd65c",
|
||||||
|
"highlight1": "#606980",
|
||||||
|
"highlight2": "#d1d4db",
|
||||||
|
"highlight3": "#ffffff",
|
||||||
|
"vivid1": "#ffcc00"
|
||||||
|
},
|
||||||
|
"radii": {
|
||||||
|
"xs": "2px",
|
||||||
|
"sm": "4px",
|
||||||
|
"lg": "10px"
|
||||||
|
},
|
||||||
|
"space": {
|
||||||
|
"sm": "6px",
|
||||||
|
"md": "5px",
|
||||||
|
"rowGap": "6px",
|
||||||
|
"colGap": "7px"
|
||||||
|
},
|
||||||
|
"fontSizes": {
|
||||||
|
"root": "11px"
|
||||||
|
},
|
||||||
|
"sizes": {
|
||||||
|
"rootWidth": "310px",
|
||||||
|
"controlWidth": "170px",
|
||||||
|
"scrubberWidth": "8px",
|
||||||
|
"scrubberHeight": "16px",
|
||||||
|
"rowHeight": "24px",
|
||||||
|
"folderHeight": "20px",
|
||||||
|
"checkboxSize": "16px",
|
||||||
|
"joystickWidth": "100px",
|
||||||
|
"joystickHeight": "100px",
|
||||||
|
"colorPickerWidth": "160px",
|
||||||
|
"colorPickerHeight": "100px",
|
||||||
|
"monitorHeight": "60px",
|
||||||
|
"titleBarHeight": "39px"
|
||||||
|
},
|
||||||
|
"borderWidths": {
|
||||||
|
"root": "0px",
|
||||||
|
"input": "1px",
|
||||||
|
"focus": "1px",
|
||||||
|
"hover": "1px",
|
||||||
|
"active": "1px",
|
||||||
|
"folder": "1px"
|
||||||
|
},
|
||||||
|
"fontWeights": {
|
||||||
|
"label": "normal",
|
||||||
|
"folder": "normal",
|
||||||
|
"button": "normal"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user