Dough Git

clove/pkviewer

web/src/lib/icons.ts

back to web/src/lib

/* web/src/lib/icons.ts */
// Only the icons pkviewer uses, so the bundle carries a few dozen, not two thousand
import ArrowClockwise from "bootstrap-icons/icons/arrow-clockwise.svg?raw";
import ArrowCounterclockwise from "bootstrap-icons/icons/arrow-counterclockwise.svg?raw";
import ArrowDown from "bootstrap-icons/icons/arrow-down.svg?raw";
import ArrowLeft from "bootstrap-icons/icons/arrow-left.svg?raw";
import ArrowRepeat from "bootstrap-icons/icons/arrow-repeat.svg?raw";
import ArrowRight from "bootstrap-icons/icons/arrow-right.svg?raw";
import ArrowUp from "bootstrap-icons/icons/arrow-up.svg?raw";
import Award from "bootstrap-icons/icons/award.svg?raw";
import BoxArrowUpRight from "bootstrap-icons/icons/box-arrow-up-right.svg?raw";
import Bug from "bootstrap-icons/icons/bug.svg?raw";
import Check2 from "bootstrap-icons/icons/check2.svg?raw";
import Check2Circle from "bootstrap-icons/icons/check2-circle.svg?raw";
import ChevronRight from "bootstrap-icons/icons/chevron-right.svg?raw";
import Clipboard from "bootstrap-icons/icons/clipboard.svg?raw";
import ClipboardCheck from "bootstrap-icons/icons/clipboard-check.svg?raw";
import ClockHistory from "bootstrap-icons/icons/clock-history.svg?raw";
import Code from "bootstrap-icons/icons/code.svg?raw";
import CodeSlash from "bootstrap-icons/icons/code-slash.svg?raw";
import Discord from "bootstrap-icons/icons/discord.svg?raw";
import ExclamationTriangle from "bootstrap-icons/icons/exclamation-triangle.svg?raw";
import EyeSlash from "bootstrap-icons/icons/eye-slash.svg?raw";
import Gem from "bootstrap-icons/icons/gem.svg?raw";
import Github from "bootstrap-icons/icons/github.svg?raw";
import Globe from "bootstrap-icons/icons/globe.svg?raw";
import Globe2 from "bootstrap-icons/icons/globe2.svg?raw";
import Grid1x2 from "bootstrap-icons/icons/grid-1x2.svg?raw";
import HeartFill from "bootstrap-icons/icons/heart-fill.svg?raw";
import InfoCircle from "bootstrap-icons/icons/info-circle.svg?raw";
import JournalText from "bootstrap-icons/icons/journal-text.svg?raw";
import Link45deg from "bootstrap-icons/icons/link-45deg.svg?raw";
import Mastodon from "bootstrap-icons/icons/mastodon.svg?raw";
import PaletteFill from "bootstrap-icons/icons/palette-fill.svg?raw";
import PatchCheckFill from "bootstrap-icons/icons/patch-check-fill.svg?raw";
import PencilFill from "bootstrap-icons/icons/pencil-fill.svg?raw";
import PencilSquare from "bootstrap-icons/icons/pencil-square.svg?raw";
import People from "bootstrap-icons/icons/people.svg?raw";
import PeopleFill from "bootstrap-icons/icons/people-fill.svg?raw";
import PersonCircle from "bootstrap-icons/icons/person-circle.svg?raw";
import Plus from "bootstrap-icons/icons/plus.svg?raw";
import PlusLg from "bootstrap-icons/icons/plus-lg.svg?raw";
import QuestionCircle from "bootstrap-icons/icons/question-circle.svg?raw";
import ShieldFill from "bootstrap-icons/icons/shield-fill.svg?raw";
import Sliders from "bootstrap-icons/icons/sliders.svg?raw";
import StarFill from "bootstrap-icons/icons/star-fill.svg?raw";
import Trash from "bootstrap-icons/icons/trash.svg?raw";
import Twitch from "bootstrap-icons/icons/twitch.svg?raw";
import Youtube from "bootstrap-icons/icons/youtube.svg?raw";

export const ICONS = {
  "arrow-clockwise": ArrowClockwise,
  "arrow-counterclockwise": ArrowCounterclockwise,
  "arrow-down": ArrowDown,
  "arrow-left": ArrowLeft,
  "arrow-repeat": ArrowRepeat,
  "arrow-right": ArrowRight,
  "arrow-up": ArrowUp,
  "award": Award,
  "box-arrow-up-right": BoxArrowUpRight,
  "bug": Bug,
  "check2": Check2,
  "check2-circle": Check2Circle,
  "chevron-right": ChevronRight,
  "clipboard": Clipboard,
  "clipboard-check": ClipboardCheck,
  "clock-history": ClockHistory,
  "code": Code,
  "code-slash": CodeSlash,
  "discord": Discord,
  "exclamation-triangle": ExclamationTriangle,
  "eye-slash": EyeSlash,
  "gem": Gem,
  "github": Github,
  "globe": Globe,
  "globe2": Globe2,
  "grid-1x2": Grid1x2,
  "heart-fill": HeartFill,
  "info-circle": InfoCircle,
  "journal-text": JournalText,
  "link-45deg": Link45deg,
  "mastodon": Mastodon,
  "palette-fill": PaletteFill,
  "patch-check-fill": PatchCheckFill,
  "pencil-fill": PencilFill,
  "pencil-square": PencilSquare,
  "people": People,
  "people-fill": PeopleFill,
  "person-circle": PersonCircle,
  "plus": Plus,
  "plus-lg": PlusLg,
  "question-circle": QuestionCircle,
  "shield-fill": ShieldFill,
  "sliders": Sliders,
  "star-fill": StarFill,
  "trash": Trash,
  "twitch": Twitch,
  "youtube": Youtube,
} as const;

export type IconName = keyof typeof ICONS;