@@ -44,15 +44,43 @@ function App() {
4444
4545<br />
4646
47- ### ` <ProzillaOS> ` props
47+ ### Configuration
4848
4949``` tsx
50- {
50+ interface ProzillaOSProps {
5151
5252 systemName: string ,
5353
5454 tagLine: string ,
5555
56+ skin: new Skin ({
57+
58+ appIcons: Record <number , string > | undefined ,
59+
60+ appNames: Record <number , string > | undefined ,
61+
62+ wallpapers: string [],
63+
64+ defaultWallpaper: string ,
65+
66+ fileIcons: {
67+ generic: string ;
68+ info: string | undefined ;
69+ text: string | undefined ;
70+ code: string | undefined ;
71+ },
72+
73+ folderIcons: {
74+ generic: string ;
75+ images: string | undefined ;
76+ text: string | undefined ;
77+ link: string | undefined ;
78+ },
79+
80+ loadStyleSheet: () => void | undefined
81+
82+ })
83+
5684 config: {
5785 apps: new AppsConfig ({
5886
@@ -61,12 +89,6 @@ function App() {
6189 }),
6290 desktop: new DesktopConfig ({
6391
64- /** Array of URLs of wallpaper images */
65- wallpapers: string [],
66-
67- /** URL of default wallpaper image */
68- defaultWallpaper: string ,
69-
7092 /**
7193 * @default 1
7294 */
@@ -79,6 +101,14 @@ function App() {
79101 defaultIconDirection: 0 | 1
80102
81103 }),
104+ misc: new MiscConfig ({
105+
106+ /**
107+ * @default 250
108+ */
109+ doubleClickDelay: number
110+
111+ })
82112 modals: new ModalsConfig ({
83113
84114 /**
@@ -114,19 +144,6 @@ function App() {
114144 /** Google Analytics measurement ID */
115145 GAMeasurementId: string
116146
117- }),
118- virtualDrive : new VirtualDriveConfig ({
119-
120- fileIcon: string ,
121- infoFileIcon: string ,
122- textFileIcon: string ,
123- codeFileIcon: string ,
124-
125- folderIcon: string ,
126- imagesFolderIcon: string ,
127- textFolderIcon: string ,
128- folderLinkIcon: string
129-
130147 }),
131148 windows: new WindowsConfig ({
132149
@@ -154,13 +171,15 @@ function App() {
154171
155172## Links
156173
157- - [ Website/demo] [ website ]
174+ - [ Demo] [ demo ]
175+ - [ Docs] [ docs ]
158176- [ GitHub] [ github ]
159177- [ npm] [ npm ]
160178- [ Discord] [ discord ]
161179- [ Ko-fi] [ ko-fi ]
162180
163- [ website ] : https://os.prozilla.dev/
181+ [ demo ] : https://os.prozilla.dev/
182+ [ docs ] : https://os.prozilla.dev/docs/reference/core
164183[ github ] : https://github.com/prozilla-os/ProzillaOS/tree/main/packages/core
165184[ npm ] : https://www.npmjs.com/package/@prozilla-os/core
166185[ discord ] : https://discord.gg/JwbyQP4tdz
0 commit comments