update
This commit is contained in:
parent
4ca100dd48
commit
961356f37d
7 changed files with 66 additions and 4998 deletions
|
@ -1,3 +1,5 @@
|
|||
@import url(../assets//fa-free//css//all.css);
|
||||
|
||||
body {
|
||||
background: #313131;
|
||||
color: white;
|
||||
|
|
|
@ -8,13 +8,53 @@ sidebar {
|
|||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
tab {
|
||||
margin-bottom: 6px;
|
||||
padding: 12px 24px;
|
||||
.sidebar-header {
|
||||
margin: 6px 0px 24px 0px;
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
align-items: center;
|
||||
p {margin: 0px}
|
||||
.sidebar-header-branding {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.sidebar-toggles {
|
||||
text-align: right;
|
||||
[enableBells="false"], [enableToggle="false"] {display: none}
|
||||
button {
|
||||
fill: white;
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 10px 12px;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
&:hover {background: #323232}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.sidebar-size-compact {
|
||||
width: 36px;
|
||||
p {font-size: 0px}
|
||||
.sidebar-header img {display: none}
|
||||
tab {
|
||||
font-size: 0px;
|
||||
padding: 10px !important;
|
||||
i {font-size: 16px}
|
||||
}
|
||||
}
|
||||
.sidebar-tabs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
tab {
|
||||
display: grid;
|
||||
grid-template-columns: 32px auto;
|
||||
margin-bottom: 6px;
|
||||
padding-left: 24px;
|
||||
padding-right: 24px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
&:hover {background: #282828}
|
||||
&.active {background-color: #323232;}
|
||||
}
|
||||
}
|
||||
}
|
2
.vscode/settings.json
vendored
Normal file
2
.vscode/settings.json
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
{
|
||||
}
|
1
app/astro/src/env.d.ts
vendored
Normal file
1
app/astro/src/env.d.ts
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/// <reference types="astro/client" />
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
21
package.json
21
package.json
|
@ -6,10 +6,13 @@
|
|||
"main": ".build/output/electron/app/electron/main/index.js",
|
||||
"scripts": {
|
||||
"start": "concurrently -k -r \"bun run astro:start\" \"wait-on http://localhost:4321 && bun run electron:start\"",
|
||||
"start:verbose": "concurrently -k -r \"bun run astro:start:verbose\" \"wait-on http://localhost:4321 && bun run electron:start\"",
|
||||
"build": "bun run tsc && bun run astro:build && bun run electron:build",
|
||||
"tsc": "tsc -p .build/devlopment/tsconfig-build.json",
|
||||
"astro:start": "astro dev --root ./.app/astro/",
|
||||
"astro:start": "astro dev --silent --root ./.app/astro/",
|
||||
"astro:build": "astro build --silent --root ./.app/astro/",
|
||||
"astro:start:vertbose": "astro dev --root ./.app/astro/",
|
||||
"astro:build:vertbose": "astro build --root ./.app/astro/",
|
||||
"electron:start": "NODE_ENV=development electron .",
|
||||
"electron:build": "electron-builder --config ./.build/electron-builder.ts",
|
||||
"electron:postinstall": "cd node_modules/electron && bun postinstall"
|
||||
|
@ -18,16 +21,16 @@
|
|||
"types": ["bun-types"]
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^1.0.3",
|
||||
"astro": "^3.0.12",
|
||||
"electron-titlebar-respect": "^1.1.2",
|
||||
"typescript": "^5.2.2"
|
||||
"@astrojs/mdx": "latest",
|
||||
"astro": "latest",
|
||||
"electron-titlebar-respect": "latest",
|
||||
"typescript": "latest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^8.2.1",
|
||||
"concurrently": "latest",
|
||||
"electron": "latest",
|
||||
"electron-builder": "^24.6.4",
|
||||
"sass": "^1.66.1",
|
||||
"wait-on": "^7.0.1"
|
||||
"electron-builder": "latest",
|
||||
"sass": "latest",
|
||||
"wait-on": "latest"
|
||||
}
|
||||
}
|
Reference in a new issue