add Detexify frame

This commit is contained in:
firinael 2022-08-20 21:01:57 -03:00 committed by GitHub
parent 5022385ee1
commit 4fdfc91659
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,21 @@ export const presets: Record<string, CustomFrameSettings> = {
forceIframe: false,
customCss: ""
},
"detexify": {
url: "https://detexify.kirelabs.org/classify.html",
displayName: "Detexify",
icon: "type",
hideOnMobile: true,
addRibbonIcon: true,
openInCenter: false,
zoomLevel: .95,
forceIframe: false,
customCss: `/* hide info clutter and ad banner */
#classify--info-area,
.adsbygoogle {
display: none !important
}`
},
"calendar": {
url: "https://calendar.google.com/calendar/u/0/r/day",
displayName: "Google Calendar",
@ -119,4 +134,4 @@ export interface CustomFrameSettings {
export function getIcon(settings: CustomFrameSettings) {
return settings.icon ? `lucide-${settings.icon}` : "documents";
}
}