remove electron mirrors

This commit is contained in:
nicwands
2026-02-16 15:00:24 -05:00
parent b5712985db
commit 94cf443725
6 changed files with 37316 additions and 8965 deletions

2
.npmrc
View File

@@ -1,2 +0,0 @@
electron_mirror=https://npmmirror.com/mirrors/electron/
electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/

View File

@@ -1,44 +1,42 @@
appId: com.electron.app appId: com.electron.app
productName: app.takerofnotes.com productName: app.takerofnotes.com
directories: directories:
buildResources: build buildResources: build
files: files:
- '!**/.vscode/*' - '!**/.vscode/*'
- '!src/*' - '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}' - '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}' - '!{.eslintcache,eslint.config.mjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}' - '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
asarUnpack: asarUnpack:
- resources/** - resources/**
win: win:
executableName: app.takerofnotes.com executableName: app.takerofnotes.com
nsis: nsis:
artifactName: ${name}-${version}-setup.${ext} artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName} shortcutName: ${productName}
uninstallDisplayName: ${productName} uninstallDisplayName: ${productName}
createDesktopShortcut: always createDesktopShortcut: always
mac: mac:
entitlementsInherit: build/entitlements.mac.plist entitlementsInherit: build/entitlements.mac.plist
extendInfo: extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera. - NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone. - NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder. - NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder. - NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
notarize: false notarize: false
dmg: dmg:
artifactName: ${name}-${version}.${ext} artifactName: ${name}-${version}.${ext}
linux: linux:
target: target:
- AppImage - AppImage
- snap - snap
- deb - deb
maintainer: electronjs.org maintainer: electronjs.org
category: Utility category: Utility
appImage: appImage:
artifactName: ${name}-${version}.${ext} artifactName: ${name}-${version}.${ext}
npmRebuild: false npmRebuild: false
publish: publish:
provider: generic provider: generic
url: https://example.com/auto-updates url: https://example.com/auto-updates
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -41,21 +41,24 @@
} }
} }
:root { :root {
--black: #000000; --black: #181818;
--white: #d9d9d9; --white: #D5D5D5;
--pink: #DAC3C3; --grey-100: #747474;
--green: #D8E3D3; --green: #87FF5B;
--cream: #F2F1F1; --blue: #5B92FF;
--grey: #2B2B2B;
} }
:root .theme-light { :root .theme-light {
--theme-bg: #d9d9d9; --theme-bg: #D5D5D5;
--theme-fg: #000000; --theme-fg: #181818;
--theme-accent: #87FF5B;
--theme-link: #5B92FF;
} }
:root .theme-dark { :root .theme-dark {
--theme-bg: #000000; --theme-bg: #181818;
--theme-fg: #d9d9d9; --theme-fg: #D5D5D5;
--theme-accent: #87FF5B;
--theme-link: #5B92FF;
} }
:root { :root {
@@ -391,8 +394,8 @@ html.lenis {
:root { :root {
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
background: var(--white); background: var(--theme-bg);
color: var(--black); color: var(--theme-fg);
font-synthesis: none; font-synthesis: none;
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
@@ -413,37 +416,9 @@ h5,
h6 { h6 {
font-family: var(--font-display); font-family: var(--font-display);
font-weight: 400; font-weight: 400;
letter-spacing: 0.1em; letter-spacing: -0.02em;
font-size: 6.1363636364vw; line-height: 1;
} font-size: 8.4745762712vw;
.h1.vh,
h1.vh,
h2.vh,
h3.vh,
h4.vh,
h5.vh,
h6.vh {
font-size: 2.8242677824vh;
}
@media (min-width: 800px) {
.h1,
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 2.4305555556vw;
}
.h1.vh,
h1.vh,
h2.vh,
h3.vh,
h4.vh,
h5.vh,
h6.vh {
font-size: 3.7600716204vh;
}
} }
.p, .p,
@@ -454,91 +429,149 @@ input,
pre { pre {
font-family: var(--font-mono); font-family: var(--font-mono);
font-weight: 400; font-weight: 400;
letter-spacing: 0.03em; line-height: 1;
font-size: 4.0909090909vw; font-size: 3.3898305085vw;
}
.p.vh,
p.vh,
a.vh,
button.vh,
input.vh,
pre.vh {
font-size: 1.8828451883vh;
}
@media (min-width: 800px) {
.p,
p,
a,
button,
input,
pre {
font-size: 1.4467592593vw;
}
.p.vh,
p.vh,
a.vh,
button.vh,
input.vh,
pre.vh {
font-size: 2.2381378693vh;
}
}
.entry img {
max-width: 100%;
height: auto;
}
.entry p {
min-height: 1px;
}
.entry a {
text-decoration: underline;
}
.entry > * {
margin-bottom: 1em;
margin-top: 1em;
}
.entry > *:first-child {
margin-top: 0;
}
.entry > *:last-child {
margin-bottom: 0;
}
.entry ul li,
.entry ol li {
margin-bottom: 1em;
width: 33.3912037037vw;
}
.entry ul {
list-style: disc;
padding-left: 1em;
} }
#app { #app {
min-height: 100vh; min-height: 100vh;
} }/* Breakpoints */
@keyframes flip-r {
@keyframes blink { 50% {
5% { transform: translateX(100%);
opacity: 0; opacity: 0;
}
40% {
opacity: 0;
}
60% {
opacity: 1;
}
95% {
opacity: 1;
}
} }
@keyframes bonk { 51% {
0% { transform: translateX(-100%);
transform: rotate(calc(var(--bonk-angle) * -1)); opacity: 0;
} }
50% { }
transform: rotate(var(--bonk-angle)); @keyframes flip-l {
} 50% {
transform: translateX(-100%);
opacity: 0;
}
51% {
transform: translateX(100%);
opacity: 0;
}
}
@keyframes flip-d {
50% {
transform: translateY(100%);
opacity: 0;
}
51% {
transform: translateY(-100%);
opacity: 0;
}
}
@keyframes flip-u {
50% {
transform: translateY(-100%);
opacity: 0;
}
51% {
transform: translateY(100%);
opacity: 0;
}
}
.editor {
padding-top: 2.2598870056vw;
}
.editor h1 {
font-weight: 700 !important;
font-family: var(--font-mono);
font-weight: 400;
line-height: 1;
font-size: 3.3898305085vw;
}
.editor h1:first-child {
font-family: var(--font-mono);
font-size: 3.3898305085vw;
font-weight: 400 !important;
}
.editor h1:first-child:first-child::first-letter {
font-family: var(--font-display);
font-size: 11.8644067797vw;
}
.editor h1.is-editor-empty:first-child::before {
color: var(--grey-100);
content: attr(data-placeholder);
pointer-events: none;
font-family: var(--font-mono);
font-size: 3.3898305085vw;
font-weight: 400 !important;
}
.editor h1.is-editor-empty:first-child::before:first-child::first-letter {
font-family: var(--font-display);
font-size: 11.8644067797vw;
}
.editor p strong {
font-weight: 700;
}
.editor p em {
font-style: italic;
}
.editor hr::before {
content: "-----------------------------------------";
}
.editor ul {
list-style-type: disc;
}
.editor ul li {
display: list-item;
margin-left: 1em;
}
.editor ol {
list-style-type: decimal;
}
.editor ol li {
display: list-item;
margin-left: 1.5em;
}
.editor ol li::marker {
font-family: var(--font-mono);
font-weight: 400;
line-height: 1;
font-size: 3.3898305085vw;
}
.editor a {
color: var(--theme-link);
cursor: pointer;
}
.editor .editor-wrap > div {
display: flex;
flex-direction: column;
gap: 5.6497175141vw;
}
.editor .editor-wrap > div:focus {
outline: none;
}
.editor .floating-menu,
.editor .bubble-menu {
display: flex;
gap: 1.4124293785vw;
border: 1px solid var(--grey-100);
color: var(--grey-100);
border-radius: 0.2em;
background: var(--theme-bg);
}
.editor .floating-menu button,
.editor .bubble-menu button {
cursor: pointer;
padding: 0.2em;
border-radius: 0.2em;
}
.editor .floating-menu button:hover,
.editor .bubble-menu button:hover {
background: var(--grey-100);
color: var(--theme-bg);
}
.editor .floating-menu button.active,
.editor .bubble-menu button.active {
background: var(--theme-fg);
color: var(--theme-bg);
}/* Breakpoints */ }/* Breakpoints */
@keyframes flip-r { @keyframes flip-r {
50% { 50% {

View File

@@ -8,8 +8,8 @@
http-equiv="Content-Security-Policy" http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"
/> />
<script type="module" crossorigin src="./assets/index-Ce8ZPAlb.js"></script> <script type="module" crossorigin src="./assets/index-CnVkU_B_.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BBQ3KGTF.css"> <link rel="stylesheet" crossorigin href="./assets/index-rzd5KlBx.css">
</head> </head>
<body> <body>