schoolbox web extension :)
0
fork

Configure Feed

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

style: format

willow 8ebdc163 2208ba6b

+6 -6
+2 -2
src/entrypoints/plugins/changeLogo/index.ts
··· 2 2 import { hasChanged, injectInlineStyles, uninjectInlineStyles } from "@/utils"; 3 3 import { logger } from "@/utils/logger"; 4 4 import { Plugin } from "@/utils/plugin"; 5 - import { globalSettings } from "@/utils/storage"; 6 5 import type { Toggle } from "@/utils/storage"; 6 + import { globalSettings } from "@/utils/storage"; 7 7 import type { StorageState } from "@/utils/storage/state.svelte"; 8 - import schoolbox from "/schoolbox.svg?raw"; 9 8 import { flavors } from "@catppuccin/palette"; 10 9 import type { Unwatch } from "wxt/utils/storage"; 10 + import schoolbox from "/schoolbox.svg?raw"; 11 11 12 12 const ID = "changeLogo"; 13 13 const PLUGIN_ID = `plugin-${ID}`;
+2 -2
src/entrypoints/popup/components/inputs/Toggle.svelte
··· 14 14 let { update, checked, id, size = "big", text = "", description = "", children }: Props = $props(); 15 15 </script> 16 16 17 - <label class="group text-ctp-text relative flex cursor-pointer items-center justify-between py-2"> 17 + <label class="group relative flex cursor-pointer items-center justify-between py-2 text-ctp-text"> 18 18 <h4 class="text-ctp-text">{text}</h4> 19 19 <input 20 20 {id} ··· 29 29 </label> 30 30 31 31 <div 32 - class="text-ctp-overlay1 group-hover:text-ctp-subtext0 flex items-center justify-between gap-2 transition-colors duration-500 ease-in-out"> 32 + class="flex items-center justify-between gap-2 text-ctp-overlay1 transition-colors duration-500 ease-in-out group-hover:text-ctp-subtext0"> 33 33 <div>{description}</div> 34 34 {@render children?.()} 35 35 </div>
+1 -1
src/entrypoints/popup/routes/Themes.svelte
··· 35 35 globalSettings.update({ themes: toggled }); 36 36 }} /> 37 37 38 - <div id="flavours" class="text-ctp-text my-6 flex rounded-xl py-2"> 38 + <div id="flavours" class="my-6 flex rounded-xl py-2 text-ctp-text"> 39 39 {#each flavours as flavour (flavour)} 40 40 <button 41 41 class:active={globalSettings.state.themeFlavour === flavour}
+1 -1
src/utils/storage/global.ts
··· 1 1 import { storage } from "#imports"; 2 + import type { Settings as LogoSettings } from "@/entrypoints/plugins/changeLogo"; 2 3 import { StorageState } from "./state.svelte"; 3 4 import type * as Types from "./types"; 4 - import type { Settings as LogoSettings } from "@/entrypoints/plugins/changeLogo"; 5 5 6 6 export const globalSettings = new StorageState( 7 7 storage.defineItem<Types.SettingsV2>("local:globalSettings", {