-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
JiaWei
committed
Jul 4, 2024
1 parent
af72d57
commit 83f0022
Showing
72 changed files
with
13,561 additions
and
4,530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.{js,json,yml}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
/.yarn/** linguist-vendored | ||
/.yarn/releases/* binary | ||
/.yarn/plugins/**/* binary | ||
/.pnp.* binary linguist-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,6 @@ pnpm-lock.yaml | |
|
||
/wallpaper | ||
/userData | ||
|
||
library/build | ||
.yarn/install-state.gz |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
nodeLinker: node-modules | ||
|
||
supportedArchitectures: | ||
cpu: | ||
- current | ||
- x64 | ||
- ia32 | ||
- arm64 | ||
libc: | ||
- current | ||
- glibc | ||
- musl | ||
os: | ||
- current | ||
- darwin | ||
- linux | ||
- win32 | ||
|
||
yarnPath: .yarn/releases/yarn-4.3.0.cjs | ||
|
||
npmRegistryServer: "https://npmreg.proxy.ustclug.org/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
import { | ||
MacOSScaleMode, | ||
WallpaperType, | ||
WebScaleMode, | ||
WindowsScaleMode, | ||
} from './enums'; | ||
import { MacOSScaleMode, WebScaleMode, WindowsScaleMode } from './enums'; | ||
import { Marquee } from './interface'; | ||
|
||
export const IMAGE_EXT_LIST = ['jpg', 'jpeg', 'png', 'heic', 'webp']; | ||
|
||
export const VIDEO_EXT_LIST = ['mp4']; | ||
|
||
export const DEFAULT_WEB_SCALE_MODE = WebScaleMode.Cover; | ||
|
||
export const DEFAULT_NATIVE_SCALE_MODE = { | ||
export const DEFAULT_NATIVE_SCALE_MODE: Record<string, any> = { | ||
win32: WindowsScaleMode.Fill, | ||
darwin: MacOSScaleMode.Auto, | ||
}; | ||
|
||
export const DEFAULT_MARQUEE: Partial<Marquee> = { | ||
name: '', | ||
text: '', | ||
textColor: '#FF0000', | ||
backgroundColor: '#000000', | ||
speed: 100, | ||
fontSize: 200, | ||
letterSpacing: 8, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.