schoolbox web extension :)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

style: format

willow e87d405f 4737a368

+16 -16
+1 -1
src/entrypoints/plugins/modernIcons/index.ts
··· 7 7 uninjectStylesheet, 8 8 } from "@/utils"; 9 9 import { Plugin } from "@/utils/plugin"; 10 - import styleText from "./styles.css?inline"; 11 10 import type { Toggle } from "@/utils/storage"; 12 11 import type { StorageState } from "@/utils/storage/state.svelte"; 13 12 import menu from "./Menu.svelte?url"; 13 + import styleText from "./styles.css?inline"; 14 14 15 15 const ID = "modernIcons"; 16 16 const PLUGIN_ID = `plugin-${ID}`;
+3 -3
src/entrypoints/plugins/subheader/index.ts
··· 1 + import { dataAttr, injectInlineStyles, setDataAttr, uninjectInlineStyles } from "@/utils"; 1 2 import { getCurrentPeriod } from "@/utils/periodUtils"; 2 3 import { Plugin } from "@/utils/plugin"; 3 - import styleText from "./styles.css?inline"; 4 - import { dataAttr, injectInlineStyles, setDataAttr, uninjectInlineStyles } from "@/utils"; 5 - import type { StorageState } from "@/utils/storage/state.svelte"; 6 4 import type { Toggle } from "@/utils/storage"; 5 + import type { StorageState } from "@/utils/storage/state.svelte"; 7 6 import menu from "./Menu.svelte?url"; 7 + import styleText from "./styles.css?inline"; 8 8 9 9 const ID = "subheader"; 10 10 const PLUGIN_ID = `plugin-${ID}`;
+2 -2
src/entrypoints/popup/App.svelte
··· 32 32 </script> 33 33 34 34 <main 35 - class="bg-ctp-base flex flex-col items-center p-6 {globalSettings.state.themeFlavour}" 35 + class="flex flex-col items-center bg-ctp-base p-6 {globalSettings.state.themeFlavour}" 36 36 style="--ctp-accent: {accentRgb}"> 37 - <nav class="text-ctp-text mb-4 flex rounded-xl px-4 py-2" id="navbar"> 37 + <nav class="mb-4 flex rounded-xl px-4 py-2 text-ctp-text" id="navbar"> 38 38 <a href="#/" class="navbutton-left" use:active={{ className: "active" }}>Settings</a> 39 39 <a href="#/plugins" class="navbutton-center" use:active={{ className: "active" }}>Plugins</a> 40 40 <a href="#/themes" class="navbutton-center" use:active={{ className: "active" }}>Themes</a>
+3 -3
src/entrypoints/popup/components/Footer.svelte
··· 32 32 <!-- show ripple badge if the extension has been updated (unread release notes) --> 33 33 {#if updated.state.changelog} 34 34 <span class="absolute top-0 right-0 -mt-1 -mr-1 flex size-3"> 35 - <span class="bg-ctp-blue absolute inline-flex h-full w-full animate-ping rounded-full opacity-75"></span> 36 - <span class="bg-ctp-blue relative inline-flex size-3 rounded-full"></span> 35 + <span class="absolute inline-flex h-full w-full animate-ping rounded-full bg-ctp-blue opacity-75"></span> 36 + <span class="relative inline-flex size-3 rounded-full bg-ctp-blue"></span> 37 37 </span> 38 38 {/if} 39 39 </Button> ··· 52 52 onclick={() => { 53 53 window.open("https://discord.gg/rZxtGJ98BE", "_blank"); 54 54 }} 55 - ><svg class="fill-ctp-text h-[22px]" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" 55 + ><svg class="h-[22px] fill-ctp-text" role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" 56 56 ><title>Discord</title><path 57 57 d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z" /></svg 58 58 ></Button>
+2 -2
src/entrypoints/popup/components/Modal.svelte
··· 15 15 onclick={(e) => { 16 16 if (e.target === dialog) dialog.close(); 17 17 }} 18 - class="bg-ctp-base text-ctp-text open:animate-zoom-in relative m-auto w-screen rounded-lg backdrop:backdrop-blur-md"> 19 - <button autofocus onclick={() => dialog?.close()} class="small bg-ctp-surface1 absolute top-0 right-0 m-2" 18 + class="relative m-auto w-screen rounded-lg bg-ctp-base text-ctp-text backdrop:backdrop-blur-md open:animate-zoom-in"> 19 + <button autofocus onclick={() => dialog?.close()} class="small absolute top-0 right-0 m-2 bg-ctp-surface1" 20 20 ><X /></button> 21 21 22 22 <div class="p-4">
+3 -3
src/entrypoints/popup/routes/Snippets.svelte
··· 59 59 {/each} 60 60 </div> 61 61 <div class="w-full"> 62 - <h3 class="text-ctp-text my-4">User Snippets</h3> 63 - <p class="text-ctp-overlay2 mb-4"> 62 + <h3 class="my-4 text-ctp-text">User Snippets</h3> 63 + <p class="mb-4 text-ctp-overlay2"> 64 64 To learn how to make your own snippets, please read the 65 65 <a 66 66 class="text-ctp-blue hover:underline" ··· 94 94 await globalSettings.set(settings); 95 95 }}>Remove</button> 96 96 <a href={snippet.url} target="_blank" 97 - ><button class="xsmall hover:text-ctp-mantle hover:bg-(--ctp-accent)">Gist</button></a> 97 + ><button class="xsmall hover:bg-(--ctp-accent) hover:text-ctp-mantle">Gist</button></a> 98 98 </div> 99 99 {/each} 100 100 </div>
+1 -1
src/entrypoints/popup/routes/Themes.svelte
··· 84 84 globalSettings.update({ themes: toggled }); 85 85 }} /> 86 86 87 - <div id="flavours" class="text-ctp-text my-6 flex rounded-xl py-2"> 87 + <div id="flavours" class="my-6 flex rounded-xl py-2 text-ctp-text"> 88 88 {#each flavours as flavour (flavour)} 89 89 <button 90 90 class:active={globalSettings.state.themeFlavour === flavour}
+1 -1
src/utils/storage/index.ts
··· 1 1 export * from "./global"; 2 - export * from "./types"; 2 + export * from "./types";