From 195f1a032fc63d4fd35564a9d11f8ed4afbcac4d Mon Sep 17 00:00:00 2001 From: V Date: Wed, 10 May 2023 23:13:47 +0200 Subject: ShowConnections: Add verified & copy/link icons in tooltip (#1092) --- src/webpack/common/components.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/webpack/common/components.ts') diff --git a/src/webpack/common/components.ts b/src/webpack/common/components.ts index 97816bf..8f59ac0 100644 --- a/src/webpack/common/components.ts +++ b/src/webpack/common/components.ts @@ -43,6 +43,9 @@ export let ButtonLooks: t.ButtonLooks; export let Popout: t.Popout; export let Dialog: t.Dialog; export let TabBar: any; +// token lagger real +/** css colour resolver stuff, no clue what exactly this does, just copied usage from Discord */ +export let useToken: t.useToken; export const Timestamp = waitForComponent("Timestamp", filters.byCode(".Messages.MESSAGE_EDITED_TIMESTAMP_A11Y_LABEL.format")); export const Flex = waitForComponent("Flex", ["Justify", "Align", "Wrap"]); @@ -50,6 +53,6 @@ export const Flex = waitForComponent("Flex", ["Justify", "Align", "Wrap" export const ButtonWrapperClasses = findByPropsLazy("buttonWrapper", "buttonContent") as Record; waitFor("FormItem", m => { - ({ Card, Button, FormSwitch: Switch, Tooltip, TextInput, TextArea, Text, Select, SearchableSelect, Slider, ButtonLooks, TabBar, Popout, Dialog } = m); + ({ useToken, Card, Button, FormSwitch: Switch, Tooltip, TextInput, TextArea, Text, Select, SearchableSelect, Slider, ButtonLooks, TabBar, Popout, Dialog } = m); Forms = m; }); -- cgit