Skip to content

The open alternative to Salesforce, designed for AI.

Add a Salesfarce parody theme to appearance settings (#29171)

Thomas des Francsfbad569c87c5
diff --git a/packages/twenty-front/src/index.tsx b/packages/twenty-front/src/index.tsx
index 00df5cae475..8401946b105 100644
--- a/packages/twenty-front/src/index.tsx
+++ b/packages/twenty-front/src/index.tsx
@@ -13,6 +13,8 @@ import 'twenty-ui/style.css';
import 'twenty-ui/theme-light.css';
import 'twenty-ui/theme-dark.css';
import './index.css';
+// Salesfarce: remove with the theme
+import '@/salesfarce/styles/salesfarce.css';
const renderApp = () => {
const root = ReactDOM.createRoot(
diff --git a/packages/twenty-front/src/modules/salesfarce/components/SalesfarceBadge.tsx b/packages/twenty-front/src/modules/salesfarce/components/SalesfarceBadge.tsx
new file mode 100644
index 00000000000..a46b12e0dc9
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/components/SalesfarceBadge.tsx
@@ -0,0 +1,11 @@
+import { useLingui } from '@lingui/react/macro';
+
+import { SALESFARCE_BADGE_CLASS_NAME } from '@/salesfarce/constants/SalesfarceBadgeClassName';
+
+export const SalesfarceBadge = () => {
+ const { t } = useLingui();
+
+ return (
+ <span className={SALESFARCE_BADGE_CLASS_NAME}>{t`Enterprise only`}</span>
+ );
+};
diff --git a/packages/twenty-front/src/modules/salesfarce/components/SalesfarceTheme.tsx b/packages/twenty-front/src/modules/salesfarce/components/SalesfarceTheme.tsx
new file mode 100644
index 00000000000..c8e3f48cb0f
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/components/SalesfarceTheme.tsx
@@ -0,0 +1,17 @@
+import { Helmet } from '@dr.pogodin/react-helmet';
+
+import { SalesfarceThemeEffect } from '@/salesfarce/components/SalesfarceThemeEffect';
+import { SALESFARCE_DOCUMENT_TITLE_SUFFIX } from '@/salesfarce/constants/SalesfarceDocumentTitleSuffix';
+
+type SalesfarceThemeProps = {
+ isActive: boolean;
+};
+
+export const SalesfarceTheme = ({ isActive }: SalesfarceThemeProps) => (
+ <>
+ <SalesfarceThemeEffect isActive={isActive} />
+ {isActive && (
+ <Helmet titleTemplate={`%s${SALESFARCE_DOCUMENT_TITLE_SUFFIX}`} />
+ )}
+ </>
+);
diff --git a/packages/twenty-front/src/modules/salesfarce/components/SalesfarceThemeEffect.tsx b/packages/twenty-front/src/modules/salesfarce/components/SalesfarceThemeEffect.tsx
new file mode 100644
index 00000000000..853b538e078
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/components/SalesfarceThemeEffect.tsx
@@ -0,0 +1,17 @@
+import { useLayoutEffect } from 'react';
+
+import { SALESFARCE_CLASS_NAME } from '@/salesfarce/constants/SalesfarceClassName';
+
+type SalesfarceThemeEffectProps = {
+ isActive: boolean;
+};
+
+export const SalesfarceThemeEffect = ({
+ isActive,
+}: SalesfarceThemeEffectProps) => {
+ useLayoutEffect(() => {
+ document.documentElement.classList.toggle(SALESFARCE_CLASS_NAME, isActive);
+ }, [isActive]);
+
+ return null;
+};
diff --git a/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceAppearanceValue.ts b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceAppearanceValue.ts
new file mode 100644
index 00000000000..0ce12c2e5a1
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceAppearanceValue.ts
@@ -0,0 +1,5 @@
+import { doNotTranslate } from 'twenty-shared/i18n';
+
+export const SALESFARCE_APPEARANCE_VALUE = doNotTranslate(
+ 'Salesfarce' as const,
+);
diff --git a/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceBadgeClassName.ts b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceBadgeClassName.ts
new file mode 100644
index 00000000000..1c615db7e80
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceBadgeClassName.ts
@@ -0,0 +1 @@
+export const SALESFARCE_BADGE_CLASS_NAME = 'salesfarce-badge';
diff --git a/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceClassName.ts b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceClassName.ts
new file mode 100644
index 00000000000..b6d6a1a950a
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceClassName.ts
@@ -0,0 +1 @@
+export const SALESFARCE_CLASS_NAME = 'salesfarce';
diff --git a/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceDocumentTitleSuffix.ts b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceDocumentTitleSuffix.ts
new file mode 100644
index 00000000000..4b635db5e2b
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceDocumentTitleSuffix.ts
@@ -0,0 +1,5 @@
+import { doNotTranslate } from 'twenty-shared/i18n';
+
+export const SALESFARCE_DOCUMENT_TITLE_SUFFIX = doNotTranslate(
+ ' ~ Salesfarce - Unlimited Edition',
+);
diff --git a/packages/twenty-front/src/modules/salesfarce/constants/SalesfarcePreviewStyle.ts b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarcePreviewStyle.ts
new file mode 100644
index 00000000000..5d043bc0a25
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarcePreviewStyle.ts
@@ -0,0 +1,8 @@
+import { GRAY_SCALE_LIGHT, THEME_LIGHT } from 'twenty-ui/theme';
+
+export const SALESFARCE_PREVIEW_STYLE = {
+ '--appearance-preview-background': THEME_LIGHT.color.sky4,
+ '--appearance-preview-border': GRAY_SCALE_LIGHT.gray7,
+ '--appearance-preview-content-background': GRAY_SCALE_LIGHT.gray1,
+ '--appearance-preview-content-color': THEME_LIGHT.color.cyan9,
+};
diff --git a/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceSessionStorageKey.ts b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceSessionStorageKey.ts
new file mode 100644
index 00000000000..9e071f1cd83
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/constants/SalesfarceSessionStorageKey.ts
@@ -0,0 +1 @@
+export const SALESFARCE_SESSION_STORAGE_KEY = 'salesfarce';
diff --git a/packages/twenty-front/src/modules/salesfarce/hooks/useSalesfarceColorScheme.ts b/packages/twenty-front/src/modules/salesfarce/hooks/useSalesfarceColorScheme.ts
new file mode 100644
index 00000000000..0ad13fc0f4a
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/hooks/useSalesfarceColorScheme.ts
@@ -0,0 +1,27 @@
+import { SALESFARCE_APPEARANCE_VALUE } from '@/salesfarce/constants/SalesfarceAppearanceValue';
+import { salesfarceIsActiveState } from '@/salesfarce/states/salesfarceIsActiveState';
+import { salesfarceEnter } from '@/salesfarce/utils/salesfarceEnter';
+import { type ColorScheme } from '@/ui/theme/types/ColorScheme';
+import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
+import { useColorScheme } from '@/workspace-member/hooks/useColorScheme';
+
+export const useSalesfarceColorScheme = () => {
+ const { colorScheme, setColorScheme } = useColorScheme();
+ const salesfarceIsActive = useAtomStateValue(salesfarceIsActiveState);
+
+ const setSalesfarceColorScheme = async (
+ value: ColorScheme | typeof SALESFARCE_APPEARANCE_VALUE,
+ ) => {
+ if (value === SALESFARCE_APPEARANCE_VALUE) {
+ salesfarceEnter();
+ return;
+ }
+
+ await setColorScheme(value);
+ };
+
+ return {
+ colorScheme: salesfarceIsActive ? SALESFARCE_APPEARANCE_VALUE : colorScheme,
+ setColorScheme: setSalesfarceColorScheme,
+ };
+};
diff --git a/packages/twenty-front/src/modules/salesfarce/states/salesfarceIsActiveState.ts b/packages/twenty-front/src/modules/salesfarce/states/salesfarceIsActiveState.ts
new file mode 100644
index 00000000000..7a225a0e653
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/states/salesfarceIsActiveState.ts
@@ -0,0 +1,7 @@
+import { salesfarceConsumeRequest } from '@/salesfarce/utils/salesfarceConsumeRequest';
+import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';
+
+export const salesfarceIsActiveState = createAtomState<boolean>({
+ key: 'salesfarceIsActiveState',
+ defaultValue: salesfarceConsumeRequest(),
+});
diff --git a/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-badge.css b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-badge.css
new file mode 100644
index 00000000000..c9354d7d592
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-badge.css
@@ -0,0 +1,20 @@
+.salesfarce-badge {
+ align-items: center;
+ background: linear-gradient(#ffffff4d, #ffffff00 55%, #00000014), #e39321;
+ border-radius: 3px;
+ box-shadow: inset 0 0 0 1px #00000033;
+ box-sizing: border-box;
+ color: #ffffff;
+ display: inline-flex;
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 11px;
+ font-weight: 700;
+ height: 20px;
+ inset-inline-end: 4px;
+ padding: 0 6px;
+ pointer-events: none;
+ position: absolute;
+ text-shadow: 0 1px 1px #00000080;
+ top: 4px;
+ white-space: nowrap;
+}
diff --git a/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-icons.css b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-icons.css
new file mode 100644
index 00000000000..bd66fe636b2
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-icons.css
@@ -0,0 +1,205 @@
+.salesfarce .tabler-icon {
+ background-image: var(--salesfarce-icon, none);
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: contain;
+}
+
+.salesfarce :is(.tabler-icon-home) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22roof%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f58a6a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23b8321c%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22wall%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fffdf0%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e6d29a%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22door%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23c08550%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237a4a24%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%2210.5%22%20y%3D%222.5%22%20width%3D%222%22%20height%3D%224%22%20fill%3D%22%23a8452b%22%20stroke%3D%22%236e2a17%22%2F%3E%3Crect%20x%3D%223.5%22%20y%3D%227.5%22%20width%3D%229%22%20height%3D%227%22%20fill%3D%22url%28%23wall%29%22%20stroke%3D%22%239a7b45%22%2F%3E%3Crect%20x%3D%226.5%22%20y%3D%2210.5%22%20width%3D%223%22%20height%3D%224%22%20fill%3D%22url%28%23door%29%22%20stroke%3D%22%236b3f1d%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%229%22%20width%3D%222%22%20height%3D%222%22%20fill%3D%22%237cc4f0%22%20stroke%3D%22%233f7fae%22%20stroke-width%3D%220.6%22%2F%3E%3Cpath%20d%3D%22M1%208.5%20L8%202%20L15%208.5%20L13.6%209.6%20L8%204.4%20L2.4%209.6Z%22%20fill%3D%22url%28%23roof%29%22%20stroke%3D%22%237c2414%22%20stroke-width%3D%220.8%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-building-skyscraper) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22back%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238cc6f2%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232463b0%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22front%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b4dcf8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233a7dc6%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22shine%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffffff%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%227.5%22%20y%3D%221.5%22%20width%3D%226%22%20height%3D%2213%22%20rx%3D%220.5%22%20fill%3D%22url%28%23back%29%22%20stroke%3D%22%231b4a85%22%2F%3E%3Crect%20x%3D%222.5%22%20y%3D%226.5%22%20width%3D%226%22%20height%3D%228%22%20rx%3D%220.5%22%20fill%3D%22url%28%23front%29%22%20stroke%3D%22%231b4a85%22%2F%3E%3Cg%20fill%3D%22%23ffe680%22%3E%3Crect%20x%3D%229%22%20y%3D%223.2%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%223.2%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%225.6%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%225.6%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%228%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%228%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%229%22%20y%3D%2210.4%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%2211%22%20y%3D%2210.4%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%228.2%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%228.2%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%224%22%20y%3D%2210.6%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%226%22%20y%3D%2210.6%22%20width%3D%221.2%22%20height%3D%221.2%22%2F%3E%3C%2Fg%3E%3Crect%20x%3D%228%22%20y%3D%222%22%20width%3D%222.2%22%20height%3D%2212%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.28%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%222.2%22%20height%3D%227%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.3%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%2214.5%22%20width%3D%2214%22%20height%3D%221%22%20fill%3D%22%2355687c%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce
+ :is(.tabler-icon-user, .tabler-icon-users, .tabler-icon-user-circle) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22skin%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffe3c8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e6a676%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22shirt%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23a898db%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2356458c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M2%2015.5%20C2%2011.3%204.6%209.6%208%209.6%20C11.4%209.6%2014%2011.3%2014%2015.5Z%22%20fill%3D%22url%28%23shirt%29%22%20stroke%3D%22%233d2f6b%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6.6%209.8%20L8%2012%20L9.4%209.8Z%22%20fill%3D%22%23ffffff%22%2F%3E%3Cpath%20d%3D%22M3.4%2014.5%20C3.7%2011.9%205.4%2010.7%208%2010.6%20C6%2011.5%204.7%2012.7%203.4%2014.5Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.35%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%225.4%22%20r%3D%223.4%22%20fill%3D%22url%28%23skin%29%22%20stroke%3D%22%23a86e45%22%2F%3E%3Cpath%20d%3D%22M4.7%205%20C4.6%202.4%206.2%201.6%208%201.6%20C9.8%201.6%2011.5%202.4%2011.3%205%20C10.4%203.9%209.3%203.6%208%203.6%20C6.7%203.6%205.6%203.9%204.7%205Z%22%20fill%3D%22%236b4226%22%2F%3E%3Cellipse%20cx%3D%226.9%22%20cy%3D%224.6%22%20rx%3D%221.2%22%20ry%3D%220.7%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.5%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-inbox) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22tray%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23eef3f9%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2394abc6%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22letter%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23dfe9f3%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%224.5%22%20y%3D%222.5%22%20width%3D%227%22%20height%3D%226%22%20fill%3D%22url%28%23letter%29%22%20stroke%3D%22%236d87a6%22%2F%3E%3Cpath%20d%3D%22M4.5%202.5%20L8%205.5%20L11.5%202.5%22%20fill%3D%22none%22%20stroke%3D%22%236d87a6%22%2F%3E%3Cpath%20d%3D%22M1.5%209.5%20L4%206.5%20H12%20L14.5%209.5%20V14.5%20H1.5Z%22%20fill%3D%22url%28%23tray%29%22%20stroke%3D%22%234f6a8a%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M1.5%209.5%20H5.5%20L6.5%2011.5%20H9.5%20L10.5%209.5%20H14.5%22%20fill%3D%22none%22%20stroke%3D%22%234f6a8a%22%2F%3E%3Crect%20x%3D%222.3%22%20y%3D%2210%22%20width%3D%2211.4%22%20height%3D%221.4%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-settings) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22steel%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f4f6f8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237f8b98%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.83%201.00%20L9.17%201.00%20L9.22%202.74%20L10.86%203.42%20L12.13%202.22%20L13.78%203.87%20L12.58%205.14%20L13.26%206.78%20L15.00%206.83%20L15.00%209.17%20L13.26%209.22%20L12.58%2010.86%20L13.78%2012.13%20L12.13%2013.78%20L10.86%2012.58%20L9.22%2013.26%20L9.17%2015.00%20L6.83%2015.00%20L6.78%2013.26%20L5.14%2012.58%20L3.87%2013.78%20L2.22%2012.13%20L3.42%2010.86%20L2.74%209.22%20L1.00%209.17%20L1.00%206.83%20L2.74%206.78%20L3.42%205.14%20L2.22%203.87%20L3.87%202.22%20L5.14%203.42%20L6.78%202.74Z%22%20fill%3D%22url%28%23steel%29%22%20stroke%3D%22%234f5a66%22%20stroke-width%3D%220.8%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222.4%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%234f5a66%22%20stroke-width%3D%220.8%22%2F%3E%3Cpath%20d%3D%22M3.6%206.2%20C4.6%203.9%206.8%203%208.9%203.3%20C7%203.9%205.2%204.8%203.6%206.2Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.6%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-target-arrow) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22ring%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff7a63%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c4261a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%227%22%20cy%3D%229%22%20r%3D%226.3%22%20fill%3D%22url%28%23ring%29%22%20stroke%3D%22%238c1a10%22%20stroke-width%3D%220.8%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%229%22%20r%3D%224.4%22%20fill%3D%22%23ffffff%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%229%22%20r%3D%222.6%22%20fill%3D%22url%28%23ring%29%22%2F%3E%3Ccircle%20cx%3D%227%22%20cy%3D%229%22%20r%3D%221%22%20fill%3D%22%23ffffff%22%2F%3E%3Cpath%20d%3D%22M2.6%206.2%20C3.6%204.3%205.6%203.3%207.6%203.5%20C5.6%204.2%204%205%202.6%206.2Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%2F%3E%3Cpath%20d%3D%22M7.4%208.6%20L14%202%22%20stroke%3D%22%233b3b3b%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12.2%201.5%20L14.6%201.4%20L14.5%203.8%20L13.6%202.4Z%22%20fill%3D%22%232f9e44%22%20stroke%3D%22%231f6e2f%22%20stroke-width%3D%220.5%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-checkbox, .tabler-icon-checklist) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22box%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23dbe6f1%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22check%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%237ee07a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232c9a2c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%221.5%22%20y%3D%223.5%22%20width%3D%2211%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22url%28%23box%29%22%20stroke%3D%22%234a76a8%22%2F%3E%3Cpath%20d%3D%22M3.6%208.8%20L6.4%2011.8%20L14.6%202.4%20L15.4%203.6%20L6.5%2014%20L2.6%209.8Z%22%20fill%3D%22url%28%23check%29%22%20stroke%3D%22%231d6b1d%22%20stroke-width%3D%220.7%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3.4%209.3%20L6.4%2012.3%20L13.8%203.4%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%220.6%22%20opacity%3D%220.6%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce
+ :is(.tabler-icon-notes, .tabler-icon-note, .tabler-icon-file-description) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22pad%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff8bf%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f0cf55%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M2.5%201.5%20H13.5%20V11%20L10%2014.5%20H2.5Z%22%20fill%3D%22url%28%23pad%29%22%20stroke%3D%22%23a8852a%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M10%2014.5%20V11%20H13.5%22%20fill%3D%22%23e3bd45%22%20stroke%3D%22%23a8852a%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cg%20stroke%3D%22%23c29a35%22%20stroke-width%3D%220.8%22%3E%3Cpath%20d%3D%22M4.5%204.5%20H11.5%22%2F%3E%3Cpath%20d%3D%22M4.5%206.8%20H11.5%22%2F%3E%3Cpath%20d%3D%22M4.5%209.1%20H11.5%22%2F%3E%3Cpath%20d%3D%22M4.5%2011.4%20H8.5%22%2F%3E%3C%2Fg%3E%3Crect%20x%3D%223%22%20y%3D%222%22%20width%3D%2210%22%20height%3D%221.6%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.5%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-files, .tabler-icon-folder) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22back%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffcf74%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e48a12%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22front%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffe7ad%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f5a42c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M1.5%203.5%20H6%20L7.5%205%20H14.5%20V13.5%20H1.5Z%22%20fill%3D%22url%28%23back%29%22%20stroke%3D%22%23a65a07%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M1.5%2013.5%20L3%207.5%20H15.5%20L14.5%2013.5Z%22%20fill%3D%22url%28%23front%29%22%20stroke%3D%22%23a65a07%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3.4%208.3%20H14.7%20L14.5%209.4%20H3.1Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-mail) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22envelope%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23cfe0f0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%221.5%22%20y%3D%223.5%22%20width%3D%2213%22%20height%3D%229%22%20rx%3D%221%22%20fill%3D%22url%28%23envelope%29%22%20stroke%3D%22%233e6b9e%22%2F%3E%3Cpath%20d%3D%22M1.8%204%20L8%209%20L14.2%204%22%20fill%3D%22none%22%20stroke%3D%22%233e6b9e%22%2F%3E%3Cpath%20d%3D%22M1.8%2012.2%20L6.2%207.7%20M14.2%2012.2%20L9.8%207.7%22%20fill%3D%22none%22%20stroke%3D%22%238aa9c9%22%20stroke-width%3D%220.8%22%2F%3E%3Crect%20x%3D%222.2%22%20y%3D%224.2%22%20width%3D%2211.6%22%20height%3D%221.2%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.6%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-calendar-event, .tabler-icon-calendar) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22page%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23dfe7ee%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22header%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f57a6a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c0281a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%221.5%22%20y%3D%222.5%22%20width%3D%2213%22%20height%3D%2212%22%20rx%3D%221%22%20fill%3D%22url%28%23page%29%22%20stroke%3D%22%235e7286%22%2F%3E%3Cpath%20d%3D%22M1.5%203.5%20A1%201%200%200%201%202.5%202.5%20H13.5%20A1%201%200%200%201%2014.5%203.5%20V6.5%20H1.5Z%22%20fill%3D%22url%28%23header%29%22%20stroke%3D%22%238c1d12%22%20stroke-linejoin%3D%22round%22%2F%3E%3Crect%20x%3D%222.2%22%20y%3D%223.1%22%20width%3D%2211.6%22%20height%3D%221.3%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22%2F%3E%3Cg%20fill%3D%22%237b8ea2%22%3E%3Crect%20x%3D%223.5%22%20y%3D%228.2%22%20width%3D%222%22%20height%3D%221.6%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%228.2%22%20width%3D%222%22%20height%3D%221.6%22%2F%3E%3Crect%20x%3D%2210.5%22%20y%3D%228.2%22%20width%3D%222%22%20height%3D%221.6%22%2F%3E%3Crect%20x%3D%223.5%22%20y%3D%2211.2%22%20width%3D%222%22%20height%3D%221.6%22%2F%3E%3Crect%20x%3D%227%22%20y%3D%2211.2%22%20width%3D%222%22%20height%3D%221.6%22%2F%3E%3C%2Fg%3E%3Crect%20x%3D%2210.5%22%20y%3D%2211.2%22%20width%3D%222%22%20height%3D%221.6%22%20fill%3D%22%23c0281a%22%2F%3E%3Cg%20fill%3D%22%23555f6b%22%3E%3Crect%20x%3D%224%22%20y%3D%221%22%20width%3D%221.4%22%20height%3D%223%22%20rx%3D%220.7%22%2F%3E%3Crect%20x%3D%2210.6%22%20y%3D%221%22%20width%3D%221.4%22%20height%3D%223%22%20rx%3D%220.7%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-timeline-event, .tabler-icon-clock) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22rim%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%237cc0f0%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231e5fa6%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22face%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e2ecf5%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%227%22%20fill%3D%22url%28%23rim%29%22%20stroke%3D%22%2316467d%22%20stroke-width%3D%220.8%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%225.2%22%20fill%3D%22url%28%23face%29%22%2F%3E%3Cpath%20d%3D%22M8%204.4%20V8%20L10.6%209.6%22%20fill%3D%22none%22%20stroke%3D%22%23333333%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%220.8%22%20fill%3D%22%23c0281a%22%2F%3E%3Cpath%20d%3D%22M3.2%206.4%20C4%204.2%206%202.9%208.3%202.9%20C6.2%203.6%204.5%204.8%203.2%206.4Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.6%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-message, .tabler-icon-comment) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22bubble%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239ad7f7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232b8ad1%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M3%202.5%20H13%20A1.5%201.5%200%200%201%2014.5%204%20V10%20A1.5%201.5%200%200%201%2013%2011.5%20H7.5%20L4%2014.5%20V11.5%20H3%20A1.5%201.5%200%200%201%201.5%2010%20V4%20A1.5%201.5%200%200%201%203%202.5Z%22%20fill%3D%22url%28%23bubble%29%22%20stroke%3D%22%231a62a0%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cg%20fill%3D%22%23ffffff%22%3E%3Ccircle%20cx%3D%225%22%20cy%3D%227.2%22%20r%3D%220.95%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%227.2%22%20r%3D%220.95%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%227.2%22%20r%3D%220.95%22%2F%3E%3C%2Fg%3E%3Cpath%20d%3D%22M2.4%204.4%20C2.6%203.6%203.2%203.2%204%203.2%20H12.6%20C13.2%203.2%2013.6%203.5%2013.7%204%20C10%204.6%206%204.7%202.4%204.4Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-search) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22lens%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f2fbff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2386c6ee%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22handle%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238a6a48%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%233e2c1b%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M9.8%209.8%20L14.4%2014.4%22%20stroke%3D%22%232b1f13%22%20stroke-width%3D%223.2%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M9.8%209.8%20L14.4%2014.4%22%20stroke%3D%22url%28%23handle%29%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%226.5%22%20cy%3D%226.5%22%20r%3D%225%22%20fill%3D%22url%28%23lens%29%22%20stroke%3D%22%23355f88%22%20stroke-width%3D%221.4%22%2F%3E%3Cpath%20d%3D%22M3.5%205.6%20C3.9%204.2%205%203.3%206.4%203.2%20C5.4%203.9%204.4%204.6%203.5%205.6Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.9%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-layout-dashboard) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22dial%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23d5dde5%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22base%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238a96a3%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%234f5a66%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M1.5%2012.5%20A6.5%206.5%200%200%201%2014.5%2012.5Z%22%20fill%3D%22url%28%23dial%29%22%20stroke%3D%22%234f5a66%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3.2%2012.2%20A4.9%204.9%200%200%201%205.1%208.3%22%20fill%3D%22none%22%20stroke%3D%22%233cae3c%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M5.4%208.1%20A4.9%204.9%200%200%201%2010.6%208.1%22%20fill%3D%22none%22%20stroke%3D%22%23f2c12e%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M10.9%208.3%20A4.9%204.9%200%200%201%2012.8%2012.2%22%20fill%3D%22none%22%20stroke%3D%22%23e0422c%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20d%3D%22M8%2012.2%20L11.6%207.4%22%20stroke%3D%22%238c1d12%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2212%22%20r%3D%221.3%22%20fill%3D%22%23333333%22%2F%3E%3Crect%20x%3D%221.5%22%20y%3D%2212.5%22%20width%3D%2213%22%20height%3D%222%22%20rx%3D%220.5%22%20fill%3D%22url%28%23base%29%22%20stroke%3D%22%233b444d%22%20stroke-width%3D%220.8%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-settings-automation) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22top%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239fd3f7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232b7fc6%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22left%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239be38f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f9a2f%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22right%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffd08a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e98a12%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M8%205.5%20V8%20M4%208%20H12%20M4%208%20V10.5%20M12%208%20V10.5%22%20fill%3D%22none%22%20stroke%3D%22%235a5a5a%22%20stroke-width%3D%221%22%2F%3E%3Crect%20x%3D%224.5%22%20y%3D%221.5%22%20width%3D%227%22%20height%3D%224%22%20rx%3D%221%22%20fill%3D%22url%28%23top%29%22%20stroke%3D%22%231d5f99%22%2F%3E%3Crect%20x%3D%221.5%22%20y%3D%2210.5%22%20width%3D%225%22%20height%3D%224%22%20rx%3D%221%22%20fill%3D%22url%28%23left%29%22%20stroke%3D%22%231f6e1f%22%2F%3E%3Crect%20x%3D%229.5%22%20y%3D%2210.5%22%20width%3D%225%22%20height%3D%224%22%20rx%3D%221%22%20fill%3D%22url%28%23right%29%22%20stroke%3D%22%23a65a07%22%2F%3E%3Cg%20fill%3D%22%23ffffff%22%20opacity%3D%220.5%22%3E%3Crect%20x%3D%225.2%22%20y%3D%222.1%22%20width%3D%225.6%22%20height%3D%221.3%22%2F%3E%3Crect%20x%3D%222.2%22%20y%3D%2211.1%22%20width%3D%223.6%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%2210.2%22%20y%3D%2211.1%22%20width%3D%223.6%22%20height%3D%221.2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-message-circle) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22round%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b5a6ea%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235b3fb0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M8%201.5%20C11.9%201.5%2014.5%203.9%2014.5%207%20C14.5%2010.1%2011.9%2012.5%208%2012.5%20C7.2%2012.5%206.5%2012.4%205.8%2012.2%20L2.5%2014.5%20L3.4%2011.3%20C2.2%2010.2%201.5%208.7%201.5%207%20C1.5%203.9%204.1%201.5%208%201.5Z%22%20fill%3D%22url%28%23round%29%22%20stroke%3D%22%233a2780%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M8%203.6%20L8.9%206.1%20L11.4%207%20L8.9%207.9%20L8%2010.4%20L7.1%207.9%20L4.6%207%20L7.1%206.1Z%22%20fill%3D%22%23ffffff%22%2F%3E%3Cpath%20d%3D%22M3%205.6%20C3.6%203.7%205.6%202.4%208%202.4%20C6%203%204.4%204.1%203%205.6Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-message-circle-plus) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22round%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23b5a6ea%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%235b3fb0%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22plus%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238be07e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232c9a2c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M8%201.5%20C11.9%201.5%2014.5%203.9%2014.5%207%20C14.5%2010.1%2011.9%2012.5%208%2012.5%20C7.2%2012.5%206.5%2012.4%205.8%2012.2%20L2.5%2014.5%20L3.4%2011.3%20C2.2%2010.2%201.5%208.7%201.5%207%20C1.5%203.9%204.1%201.5%208%201.5Z%22%20fill%3D%22url%28%23round%29%22%20stroke%3D%22%233a2780%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3%205.6%20C3.6%203.7%205.6%202.4%208%202.4%20C6%203%204.4%204.1%203%205.6Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223.6%22%20fill%3D%22url%28%23plus%29%22%20stroke%3D%22%231d6b1d%22%20stroke-width%3D%220.8%22%2F%3E%3Cpath%20d%3D%22M12%2010%20V14%20M10%2012%20H14%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-cat) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22fur%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffc27a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e07b17%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M2.5%2013%20C2%209.5%202.4%206.2%203%202.2%20L6%205.2%20C7.3%204.9%208.7%204.9%2010%205.2%20L13%202.2%20C13.6%206.2%2014%209.5%2013.5%2013%20C12.4%2014.5%2010.4%2015%208%2015%20C5.6%2015%203.6%2014.5%202.5%2013Z%22%20fill%3D%22url%28%23fur%29%22%20stroke%3D%22%238a4b0a%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3.6%204%20L5.1%205.6%20L3.9%206.3Z%20M12.4%204%20L10.9%205.6%20L12.1%206.3Z%22%20fill%3D%22%23f7a8a8%22%2F%3E%3Cellipse%20cx%3D%225.8%22%20cy%3D%229.2%22%20rx%3D%221.1%22%20ry%3D%221.3%22%20fill%3D%22%233f8f2f%22%2F%3E%3Cellipse%20cx%3D%2210.2%22%20cy%3D%229.2%22%20rx%3D%221.1%22%20ry%3D%221.3%22%20fill%3D%22%233f8f2f%22%2F%3E%3Cellipse%20cx%3D%225.8%22%20cy%3D%229.3%22%20rx%3D%220.35%22%20ry%3D%221%22%20fill%3D%22%231a1a1a%22%2F%3E%3Cellipse%20cx%3D%2210.2%22%20cy%3D%229.3%22%20rx%3D%220.35%22%20ry%3D%221%22%20fill%3D%22%231a1a1a%22%2F%3E%3Cpath%20d%3D%22M7.3%2011.3%20H8.7%20L8%2012.1Z%22%20fill%3D%22%23e36a8c%22%2F%3E%3Cpath%20d%3D%22M3.4%207.2%20C4.6%206%206.3%205.6%208%205.6%20C6.2%206.2%204.7%206.6%203.4%207.2Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.5%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-paw) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22pad%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23cf9a6a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237a4b2a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M8%208.2%20C10.4%208.2%2012.6%2010.6%2012.6%2012.6%20C12.6%2014.2%2011.2%2014.8%2010%2014.4%20C9.2%2014.1%208.6%2013.8%208%2013.8%20C7.4%2013.8%206.8%2014.1%206%2014.4%20C4.8%2014.8%203.4%2014.2%203.4%2012.6%20C3.4%2010.6%205.6%208.2%208%208.2Z%22%20fill%3D%22url%28%23pad%29%22%20stroke%3D%22%234e2c14%22%20stroke-width%3D%220.8%22%2F%3E%3Cg%20fill%3D%22url%28%23pad%29%22%20stroke%3D%22%234e2c14%22%20stroke-width%3D%220.8%22%3E%3Cellipse%20cx%3D%222.9%22%20cy%3D%227.2%22%20rx%3D%221.5%22%20ry%3D%221.9%22%20transform%3D%22rotate%28-20%202.9%207.2%29%22%2F%3E%3Cellipse%20cx%3D%225.9%22%20cy%3D%223.9%22%20rx%3D%221.6%22%20ry%3D%222.1%22%20transform%3D%22rotate%28-8%205.9%203.9%29%22%2F%3E%3Cellipse%20cx%3D%2210.1%22%20cy%3D%223.9%22%20rx%3D%221.6%22%20ry%3D%222.1%22%20transform%3D%22rotate%288%2010.1%203.9%29%22%2F%3E%3Cellipse%20cx%3D%2213.1%22%20cy%3D%227.2%22%20rx%3D%221.5%22%20ry%3D%221.9%22%20transform%3D%22rotate%2820%2013.1%207.2%29%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22%3E%3Cellipse%20cx%3D%225.6%22%20cy%3D%223.1%22%20rx%3D%220.7%22%20ry%3D%220.9%22%2F%3E%3Cellipse%20cx%3D%229.8%22%20cy%3D%223.1%22%20rx%3D%220.7%22%20ry%3D%220.9%22%2F%3E%3Cellipse%20cx%3D%227%22%20cy%3D%229.8%22%20rx%3D%221.6%22%20ry%3D%220.7%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-ruler-measure) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22wood%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffe99a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e0b43a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20transform%3D%22rotate%28-45%208%208%29%22%3E%3Crect%20x%3D%220.5%22%20y%3D%225%22%20width%3D%2215%22%20height%3D%226%22%20rx%3D%220.6%22%20fill%3D%22url%28%23wood%29%22%20stroke%3D%22%239a7420%22%2F%3E%3Cg%20stroke%3D%22%237a5a12%22%20stroke-width%3D%220.7%22%3E%3Cpath%20d%3D%22M3%205%20V7.5%22%2F%3E%3Cpath%20d%3D%22M5%205%20V6.6%22%2F%3E%3Cpath%20d%3D%22M7%205%20V7.5%22%2F%3E%3Cpath%20d%3D%22M9%205%20V6.6%22%2F%3E%3Cpath%20d%3D%22M11%205%20V7.5%22%2F%3E%3Cpath%20d%3D%22M13%205%20V6.6%22%2F%3E%3C%2Fg%3E%3Crect%20x%3D%221%22%20y%3D%229.2%22%20width%3D%2214%22%20height%3D%221.2%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.35%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.tabler-icon-briefcase) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22leather%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23d09356%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238a5226%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M5.5%205%20V3.2%20A1%201%200%200%201%206.5%202.2%20H9.5%20A1%201%200%200%201%2010.5%203.2%20V5%22%20fill%3D%22none%22%20stroke%3D%22%235e3415%22%20stroke-width%3D%221.4%22%2F%3E%3Crect%20x%3D%221.5%22%20y%3D%225%22%20width%3D%2213%22%20height%3D%229.5%22%20rx%3D%221.5%22%20fill%3D%22url%28%23leather%29%22%20stroke%3D%22%235e3415%22%2F%3E%3Cpath%20d%3D%22M1.6%209%20H14.4%22%20stroke%3D%22%236e3e19%22%20stroke-width%3D%220.8%22%2F%3E%3Crect%20x%3D%226.8%22%20y%3D%228.1%22%20width%3D%222.4%22%20height%3D%222%22%20rx%3D%220.4%22%20fill%3D%22%23ffd84d%22%20stroke%3D%22%23a87b0c%22%20stroke-width%3D%220.6%22%2F%3E%3Crect%20x%3D%222.3%22%20y%3D%225.7%22%20width%3D%2211.4%22%20height%3D%221.6%22%20rx%3D%220.8%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.35%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce
+ :is(
+ .navigation-drawer-item .tabler-icon-star,
+ [data-testid='top-bar-title'] .tabler-icon-star
+ ) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22gold%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff09a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f0a20a%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M8%201.2%20L10.1%205.6%20L14.9%206.2%20L11.4%209.5%20L12.3%2014.3%20L8%2012%20L3.7%2014.3%20L4.6%209.5%20L1.1%206.2%20L5.9%205.6Z%22%20fill%3D%22url%28%23gold%29%22%20stroke%3D%22%23b07408%22%20stroke-width%3D%220.8%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3.4%206.8%20L6.4%206.3%20L8%202.8%20L9%205.1%20C7.3%205.3%205.3%205.8%203.4%206.8Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.6%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-color-swatch) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22red%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff8a7a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c4261a%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22yellow%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffe680%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e0a812%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22blue%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238cc6f2%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232463b0%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%222.5%22%20y%3D%222%22%20width%3D%224%22%20height%3D%2211%22%20rx%3D%221%22%20fill%3D%22url%28%23blue%29%22%20stroke%3D%22%231b4a85%22%20stroke-width%3D%220.8%22%20transform%3D%22rotate%2850%204.5%2012.5%29%22%2F%3E%3Crect%20x%3D%222.5%22%20y%3D%222%22%20width%3D%224%22%20height%3D%2211%22%20rx%3D%221%22%20fill%3D%22url%28%23yellow%29%22%20stroke%3D%22%23a87b0c%22%20stroke-width%3D%220.8%22%20transform%3D%22rotate%2825%204.5%2012.5%29%22%2F%3E%3Crect%20x%3D%222.5%22%20y%3D%222%22%20width%3D%224%22%20height%3D%2211%22%20rx%3D%221%22%20fill%3D%22url%28%23red%29%22%20stroke%3D%22%238c1a10%22%20stroke-width%3D%220.8%22%2F%3E%3Crect%20x%3D%223.2%22%20y%3D%222.7%22%20width%3D%221.2%22%20height%3D%229.6%22%20rx%3D%220.6%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22%2F%3E%3Ccircle%20cx%3D%224.5%22%20cy%3D%2211.6%22%20r%3D%220.9%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%238c1a10%22%20stroke-width%3D%220.5%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-at) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22orb%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238cc6f2%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231e5fa6%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%227%22%20fill%3D%22url%28%23orb%29%22%20stroke%3D%22%2316467d%22%20stroke-width%3D%220.8%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%221.9%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.3%22%2F%3E%3Cpath%20d%3D%22M9.9%206.3%20V9.2%20C9.9%2010.4%2011.9%2010.6%2012%208.2%20C12.2%205.4%2010.2%203.9%208%203.9%20C5.6%203.9%203.9%205.7%203.9%208%20C3.9%2010.4%205.7%2012.1%208%2012.1%20C9%2012.1%209.8%2011.8%2010.4%2011.4%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.3%22%20stroke-linecap%3D%22round%22%2F%3E%3Cpath%20d%3D%22M3%206%20C3.8%203.8%205.8%202.4%208.2%202.4%20C6.2%203%204.4%204.3%203%206Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.5%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-settings-2) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22steel%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f4f6f8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237f8b98%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.83%201.00%20L9.17%201.00%20L9.22%202.74%20L10.86%203.42%20L12.13%202.22%20L13.78%203.87%20L12.58%205.14%20L13.26%206.78%20L15.00%206.83%20L15.00%209.17%20L13.26%209.22%20L12.58%2010.86%20L13.78%2012.13%20L12.13%2013.78%20L10.86%2012.58%20L9.22%2013.26%20L9.17%2015.00%20L6.83%2015.00%20L6.78%2013.26%20L5.14%2012.58%20L3.87%2013.78%20L2.22%2012.13%20L3.42%2010.86%20L2.74%209.22%20L1.00%209.17%20L1.00%206.83%20L2.74%206.78%20L3.42%205.14%20L2.22%203.87%20L3.87%202.22%20L5.14%203.42%20L6.78%202.74Z%22%20fill%3D%22url%28%23steel%29%22%20stroke%3D%22%234f5a66%22%20stroke-width%3D%220.8%22%20stroke-linejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222.4%22%20fill%3D%22%23ffffff%22%20stroke%3D%22%234f5a66%22%20stroke-width%3D%220.8%22%2F%3E%3Cpath%20d%3D%22M3.6%206.2%20C4.6%203.9%206.8%203%208.9%203.3%20C7%203.9%205.2%204.8%203.6%206.2Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.6%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-hierarchy) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22node%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239fd3f7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232b7fc6%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22leaf%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239be38f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f9a2f%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M8%206%20V8.5%20M4%208.5%20H12%20M4%208.5%20V10%20M12%208.5%20V10%22%20fill%3D%22none%22%20stroke%3D%22%235a5a5a%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%223.8%22%20r%3D%222.6%22%20fill%3D%22url%28%23node%29%22%20stroke%3D%22%231d5f99%22%20stroke-width%3D%220.8%22%2F%3E%3Ccircle%20cx%3D%224%22%20cy%3D%2212.2%22%20r%3D%222.4%22%20fill%3D%22url%28%23leaf%29%22%20stroke%3D%22%231f6e1f%22%20stroke-width%3D%220.8%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212.2%22%20r%3D%222.4%22%20fill%3D%22url%28%23leaf%29%22%20stroke%3D%22%231f6e1f%22%20stroke-width%3D%220.8%22%2F%3E%3Cg%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%3E%3Cellipse%20cx%3D%227.2%22%20cy%3D%222.8%22%20rx%3D%221.1%22%20ry%3D%220.6%22%2F%3E%3Cellipse%20cx%3D%223.3%22%20cy%3D%2211.3%22%20rx%3D%221%22%20ry%3D%220.55%22%2F%3E%3Cellipse%20cx%3D%2211.3%22%20cy%3D%2211.3%22%20rx%3D%221%22%20ry%3D%220.55%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-app-window) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22bar%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%236aa8f0%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%231d55c4%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22pane%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffffff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e4ebf2%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%221.5%22%20y%3D%222.5%22%20width%3D%2213%22%20height%3D%2211%22%20rx%3D%221%22%20fill%3D%22url%28%23pane%29%22%20stroke%3D%22%231b4a85%22%2F%3E%3Cpath%20d%3D%22M1.5%203.5%20A1%201%200%200%201%202.5%202.5%20H13.5%20A1%201%200%200%201%2014.5%203.5%20V5.5%20H1.5Z%22%20fill%3D%22url%28%23bar%29%22%20stroke%3D%22%231b4a85%22%20stroke-linejoin%3D%22round%22%2F%3E%3Crect%20x%3D%222.2%22%20y%3D%223%22%20width%3D%228.6%22%20height%3D%220.9%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22%2F%3E%3Crect%20x%3D%2211.6%22%20y%3D%223.1%22%20width%3D%222.2%22%20height%3D%221.9%22%20rx%3D%220.4%22%20fill%3D%22%23e0422c%22%20stroke%3D%22%238c1d12%22%20stroke-width%3D%220.4%22%2F%3E%3Cg%20fill%3D%22%23b8c6d6%22%3E%3Crect%20x%3D%223.5%22%20y%3D%227.5%22%20width%3D%229%22%20height%3D%221.2%22%2F%3E%3Crect%20x%3D%223.5%22%20y%3D%229.8%22%20width%3D%226%22%20height%3D%221.2%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-code) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22screen%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%234a4f57%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2316181b%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%221.5%22%20y%3D%222.5%22%20width%3D%2213%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22url%28%23screen%29%22%20stroke%3D%22%230b0c0e%22%2F%3E%3Crect%20x%3D%222.3%22%20y%3D%223.2%22%20width%3D%2211.4%22%20height%3D%221.4%22%20rx%3D%220.7%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.18%22%2F%3E%3Cpath%20d%3D%22M6%205.8%20L3.8%208%20L6%2010.2%20M10%205.8%20L12.2%208%20L10%2010.2%20M8.9%205%20L7.1%2011%22%20fill%3D%22none%22%20stroke%3D%22%234ee04e%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-apps) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22red%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff8a7a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23c4261a%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22green%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%239be38f%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f9a2f%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22blue%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238cc6f2%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232463b0%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22yellow%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffe680%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e0a812%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%221.5%22%20y%3D%221.5%22%20width%3D%225.6%22%20height%3D%225.6%22%20rx%3D%221.2%22%20fill%3D%22url%28%23red%29%22%20stroke%3D%22%238c1a10%22%20stroke-width%3D%220.7%22%2F%3E%3Crect%20x%3D%228.9%22%20y%3D%221.5%22%20width%3D%225.6%22%20height%3D%225.6%22%20rx%3D%221.2%22%20fill%3D%22url%28%23green%29%22%20stroke%3D%22%231f6e1f%22%20stroke-width%3D%220.7%22%2F%3E%3Crect%20x%3D%221.5%22%20y%3D%228.9%22%20width%3D%225.6%22%20height%3D%225.6%22%20rx%3D%221.2%22%20fill%3D%22url%28%23blue%29%22%20stroke%3D%22%231b4a85%22%20stroke-width%3D%220.7%22%2F%3E%3Crect%20x%3D%228.9%22%20y%3D%228.9%22%20width%3D%225.6%22%20height%3D%225.6%22%20rx%3D%221.2%22%20fill%3D%22url%28%23yellow%29%22%20stroke%3D%22%23a87b0c%22%20stroke-width%3D%220.7%22%2F%3E%3Cg%20fill%3D%22%23ffffff%22%20opacity%3D%220.45%22%3E%3Crect%20x%3D%222.1%22%20y%3D%222.1%22%20width%3D%224.4%22%20height%3D%221.6%22%20rx%3D%220.8%22%2F%3E%3Crect%20x%3D%229.5%22%20y%3D%222.1%22%20width%3D%224.4%22%20height%3D%221.6%22%20rx%3D%220.8%22%2F%3E%3Crect%20x%3D%222.1%22%20y%3D%229.5%22%20width%3D%224.4%22%20height%3D%221.6%22%20rx%3D%220.8%22%2F%3E%3Crect%20x%3D%229.5%22%20y%3D%229.5%22%20width%3D%224.4%22%20height%3D%221.6%22%20rx%3D%220.8%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-sparkles) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22big%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23fff09a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23f0a20a%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22small%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23d6c8ff%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237b3fb5%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6.5%203.5%20L7.9%207.6%20L12%209%20L7.9%2010.4%20L6.5%2014.5%20L5.1%2010.4%20L1%209%20L5.1%207.6Z%22%20fill%3D%22url%28%23big%29%22%20stroke%3D%22%23b07408%22%20stroke-width%3D%220.7%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M12.2%201%20L12.9%203.3%20L15.2%204%20L12.9%204.7%20L12.2%207%20L11.5%204.7%20L9.2%204%20L11.5%203.3Z%22%20fill%3D%22url%28%23small%29%22%20stroke%3D%22%234a2a80%22%20stroke-width%3D%220.6%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cellipse%20cx%3D%225.6%22%20cy%3D%227.9%22%20rx%3D%220.9%22%20ry%3D%220.5%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.7%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-server) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22unit%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23f4f6f8%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238f9aa6%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%227.3%22%20y%3D%227%22%20width%3D%221.4%22%20height%3D%222%22%20fill%3D%22%236b7682%22%2F%3E%3Crect%20x%3D%222.5%22%20y%3D%221.5%22%20width%3D%2211%22%20height%3D%225.5%22%20rx%3D%221%22%20fill%3D%22url%28%23unit%29%22%20stroke%3D%22%234f5a66%22%2F%3E%3Crect%20x%3D%222.5%22%20y%3D%229%22%20width%3D%2211%22%20height%3D%225.5%22%20rx%3D%221%22%20fill%3D%22url%28%23unit%29%22%20stroke%3D%22%234f5a66%22%2F%3E%3Cpath%20d%3D%22M4.5%203.4%20H8.5%20M4.5%205.1%20H8.5%20M4.5%2010.9%20H8.5%20M4.5%2012.6%20H8.5%22%20stroke%3D%22%236b7682%22%20stroke-width%3D%220.8%22%2F%3E%3Cg%20fill%3D%22%233cdc3c%22%20stroke%3D%22%231f7a1f%22%20stroke-width%3D%220.4%22%3E%3Ccircle%20cx%3D%2211.3%22%20cy%3D%224.25%22%20r%3D%220.9%22%2F%3E%3Ccircle%20cx%3D%2211.3%22%20cy%3D%2211.75%22%20r%3D%220.9%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%3E%3Crect%20x%3D%223.2%22%20y%3D%222%22%20width%3D%229.6%22%20height%3D%221%22%20rx%3D%220.5%22%2F%3E%3Crect%20x%3D%223.2%22%20y%3D%229.5%22%20width%3D%229.6%22%20height%3D%221%22%20rx%3D%220.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-help-circle) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22help%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ffc266%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e07800%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%227%22%20fill%3D%22url%28%23help%29%22%20stroke%3D%22%23a65000%22%20stroke-width%3D%220.8%22%2F%3E%3Cpath%20d%3D%22M5.9%206.1%20C5.9%204.8%206.9%204%208.1%204%20C9.4%204%2010.3%204.8%2010.3%205.9%20C10.3%207.4%208.2%207.5%208.2%209.2%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3Ccircle%20cx%3D%228.2%22%20cy%3D%2211.5%22%20r%3D%220.95%22%20fill%3D%22%23ffffff%22%2F%3E%3Cpath%20d%3D%22M3.2%206.2%20C4%204.1%205.9%202.8%208.2%202.8%20C6.2%203.5%204.6%204.6%203.2%206.2Z%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.55%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce :is(.navigation-drawer-item .tabler-icon-door-enter) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22door%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23d09356%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238a5226%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22arrow%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%238be07e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232c9a2c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%225.5%22%20y%3D%221.5%22%20width%3D%228%22%20height%3D%2213%22%20rx%3D%220.6%22%20fill%3D%22url%28%23door%29%22%20stroke%3D%22%235e3415%22%2F%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%236e3e19%22%20stroke-width%3D%220.6%22%3E%3Crect%20x%3D%227.6%22%20y%3D%223%22%20width%3D%224.4%22%20height%3D%224.5%22%2F%3E%3Crect%20x%3D%227.6%22%20y%3D%228.5%22%20width%3D%224.4%22%20height%3D%224.5%22%2F%3E%3C%2Fg%3E%3Crect%20x%3D%226.1%22%20y%3D%222.1%22%20width%3D%221.1%22%20height%3D%2211.8%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.25%22%2F%3E%3Ccircle%20cx%3D%2212.6%22%20cy%3D%228.2%22%20r%3D%220.7%22%20fill%3D%22%23ffd84d%22%20stroke%3D%22%23a87b0c%22%20stroke-width%3D%220.4%22%2F%3E%3Cpath%20d%3D%22M1%208%20L4.4%204.8%20V6.6%20H7.6%20V9.4%20H4.4%20V11.2Z%22%20fill%3D%22url%28%23arrow%29%22%20stroke%3D%22%231d6b1d%22%20stroke-width%3D%220.7%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce
+ :is([data-click-outside-id='navigation-drawer'] .tabler-icon-terminal) {
+ --salesfarce-icon: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22screen%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%234a4f57%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%2316181b%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%221.5%22%20y%3D%222.5%22%20width%3D%2213%22%20height%3D%2211%22%20rx%3D%221.5%22%20fill%3D%22url%28%23screen%29%22%20stroke%3D%22%230b0c0e%22%2F%3E%3Crect%20x%3D%222.3%22%20y%3D%223.2%22%20width%3D%2211.4%22%20height%3D%221.4%22%20rx%3D%220.7%22%20fill%3D%22%23ffffff%22%20opacity%3D%220.18%22%2F%3E%3Cpath%20d%3D%22M4.2%206%20L6.6%208%20L4.2%2010%20M7.8%2010.6%20H11.4%22%20fill%3D%22none%22%20stroke%3D%22%234ee04e%22%20stroke-width%3D%221.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E');
+}
+
+.salesfarce
+ :is(
+ .tabler-icon-home,
+ .tabler-icon-building-skyscraper,
+ .tabler-icon-user,
+ .tabler-icon-users,
+ .tabler-icon-user-circle,
+ .tabler-icon-inbox,
+ .tabler-icon-settings,
+ .tabler-icon-target-arrow,
+ .tabler-icon-checkbox,
+ .tabler-icon-checklist,
+ .tabler-icon-notes,
+ .tabler-icon-note,
+ .tabler-icon-file-description,
+ .tabler-icon-files,
+ .tabler-icon-folder,
+ .tabler-icon-mail,
+ .tabler-icon-calendar-event,
+ .tabler-icon-calendar,
+ .tabler-icon-timeline-event,
+ .tabler-icon-clock,
+ .tabler-icon-message,
+ .tabler-icon-comment,
+ .tabler-icon-search,
+ .tabler-icon-layout-dashboard,
+ .tabler-icon-settings-automation,
+ .tabler-icon-message-circle,
+ .tabler-icon-message-circle-plus,
+ .tabler-icon-cat,
+ .tabler-icon-paw,
+ .tabler-icon-ruler-measure,
+ .tabler-icon-briefcase,
+ .navigation-drawer-item .tabler-icon-star,
+ [data-testid='top-bar-title'] .tabler-icon-star,
+ .navigation-drawer-item .tabler-icon-color-swatch,
+ .navigation-drawer-item .tabler-icon-at,
+ .navigation-drawer-item .tabler-icon-settings-2,
+ .navigation-drawer-item .tabler-icon-hierarchy,
+ .navigation-drawer-item .tabler-icon-app-window,
+ .navigation-drawer-item .tabler-icon-code,
+ .navigation-drawer-item .tabler-icon-apps,
+ .navigation-drawer-item .tabler-icon-sparkles,
+ .navigation-drawer-item .tabler-icon-server,
+ .navigation-drawer-item .tabler-icon-help-circle,
+ .navigation-drawer-item .tabler-icon-door-enter,
+ [data-click-outside-id='navigation-drawer'] .tabler-icon-terminal
+ )
+ > :is(path, rect, circle, line, polyline, polygon, ellipse, g) {
+ opacity: 0;
+}
diff --git a/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-retro.css b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-retro.css
new file mode 100644
index 00000000000..d0b27fd2916
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-retro.css
@@ -0,0 +1,710 @@
+.salesfarce body {
+ font-family: var(--t-font-family);
+ -webkit-font-smoothing: auto;
+ -moz-osx-font-smoothing: auto;
+}
+
+.salesfarce {
+ --sf-object: #1797c0;
+}
+
+.salesfarce:has(
+ a[aria-current='page']:is(
+ [href^='/objects/companies'],
+ [href^='/object/company/']
+ )
+) {
+ --sf-object: #236fbd;
+ --sf-object-label: 'Account';
+}
+
+.salesfarce:has(
+ a[aria-current='page']:is(
+ [href^='/objects/people'],
+ [href^='/object/person/']
+ )
+) {
+ --sf-object: #56458c;
+ --sf-object-label: 'Contact';
+}
+
+.salesfarce:has(
+ a[aria-current='page']:is(
+ [href^='/objects/opportunities'],
+ [href^='/object/opportunity/']
+ )
+) {
+ --sf-object: #e5c130;
+ --sf-object-label: 'Opportunity';
+}
+
+.salesfarce:has(
+ a[aria-current='page']:is([href^='/objects/tasks'], [href^='/object/task/'])
+) {
+ --sf-object-label: 'Task';
+}
+
+.salesfarce:has(
+ a[aria-current='page']:is([href^='/objects/notes'], [href^='/object/note/'])
+) {
+ --sf-object: #e39321;
+ --sf-object-label: 'Note';
+}
+
+.salesfarce:has(
+ a[aria-current='page']:is(
+ [href^='/objects/dashboards'],
+ [href^='/object/dashboard/']
+ )
+) {
+ --sf-object: #861614;
+ --sf-object-label: 'Dashboard';
+}
+
+.salesfarce:has(
+ a[aria-current='page']:is(
+ [href^='/objects/workflows'],
+ [href^='/object/workflow/']
+ )
+) {
+ --sf-object: #a55647;
+ --sf-object-label: 'Workflow';
+}
+
+.salesfarce .navigation-drawer-item[aria-current],
+.salesfarce
+ .navigation-drawer-item:has(.navigation-drawer-item-label[aria-current]) {
+ background: var(--sf-object);
+ color: #ffffff;
+ font-weight: 700;
+}
+
+.salesfarce .navigation-drawer-item[aria-current] *,
+.salesfarce
+ .navigation-drawer-item:has(.navigation-drawer-item-label[aria-current])
+ * {
+ color: #ffffff;
+}
+
+.salesfarce div:has(> span > .section-title-container),
+.salesfarce div:has(> .section-title-container) {
+ background: linear-gradient(#d3edf8, #ffffff 40px);
+ border: 1px solid #dfdfdf;
+ border-radius: 5px 0 5px 5px;
+ padding-bottom: 4px;
+ position: relative;
+}
+
+.salesfarce div:has(> span > .section-title-container)::after,
+.salesfarce div:has(> .section-title-container)::after {
+ background: linear-gradient(225deg, #ffffff 50%, #ececec 50%);
+ border-bottom: 1px solid #dfdfdf;
+ border-bottom-left-radius: 2px;
+ border-left: 1px solid #dfdfdf;
+ content: '';
+ height: 9px;
+ position: absolute;
+ right: -1px;
+ top: -1px;
+ width: 9px;
+}
+
+.salesfarce .section-title-container {
+ --t-font-color-light: #333435;
+ --t-font-color-tertiary: #333435;
+
+ background: transparent;
+ color: #333435;
+}
+
+.salesfarce
+ [data-click-outside-id='navigation-drawer']
+ > div:not([role])::after {
+ background: #1797c0;
+ border-radius: 5px;
+ color: #ffffff;
+ content: 'Copyright © 2000-2010 Salesfarce, inc. All rights reserved.\A Privacy Statement | Security Statement | Terms of Use';
+ font-size: 10px;
+ line-height: 1.4;
+ margin: 8px;
+ padding: 8px;
+ text-align: center;
+ white-space: pre-line;
+}
+
+.salesfarce
+ [data-click-outside-id='navigation-drawer']
+ [role='group']:has(> button[aria-current])
+ > button {
+ background: transparent;
+ border-radius: 7px 7px 0 0;
+ box-shadow: none;
+ color: #353535;
+ font-weight: 700;
+}
+
+.salesfarce
+ [data-click-outside-id='navigation-drawer']
+ [role='group']:has(> button[aria-current])
+ > button:hover {
+ color: #1468b6;
+}
+
+.salesfarce
+ [data-click-outside-id='navigation-drawer']
+ [role='group']:has(> button[aria-current])
+ > button[aria-current='true'] {
+ background: #1797c0;
+ box-shadow:
+ 3px 0 5px -3px #999999,
+ -3px 0 5px -3px #999999;
+ color: #ffffff;
+}
+
+.salesfarce #root::before {
+ background: var(--sf-object);
+ content: '';
+ height: 3px;
+ inset: 0 0 auto;
+ pointer-events: none;
+ position: fixed;
+ z-index: 1;
+}
+
+.salesfarce [data-record-show-page-body] h3[font-size='lg'] {
+ font-size: 20px;
+ font-weight: 400;
+}
+
+.salesfarce [data-record-show-page-body] h3[font-size='lg'] > div::before {
+ align-self: center;
+ color: #4a4a56;
+ content: var(--sf-object-label, none);
+ font-size: 11px;
+ font-weight: 700;
+ margin-inline-end: 6px;
+}
+
+.salesfarce .header-cell,
+.salesfarce .header-cell .record-table-cell-content,
+.salesfarce .header-cell > [data-select-disable] {
+ --t-background-primary: #f2f3f3;
+
+ background: #f2f3f3;
+}
+
+.salesfarce .header-cell .record-table-cell-content {
+ color: #000000;
+ font-size: 11px;
+ font-weight: 700;
+}
+
+.salesfarce .header-cell .record-table-cell-content > div:first-child {
+ display: none;
+}
+
+.salesfarce
+ :is(.table-cell, .table-cell-0-0):where(
+ :not([data-dragging], [data-without-bottom-border])
+ ) {
+ border-bottom-color: #ececec;
+}
+
+.salesfarce
+ :is(.table-cell, .table-cell-0-0):where(:not([data-without-right-border])) {
+ border-right-color: transparent;
+}
+
+.salesfarce .header-cell {
+ border-color: #e0e3e5;
+}
+
+.salesfarce [id^='scroll-wrapper-record-table'] {
+ border-top: 3px solid var(--sf-object);
+}
+
+.salesfarce
+ .table-row:not([data-active='true'], [data-focused='true']):hover
+ .table-cell:not([data-selected], [data-dragging]) {
+ background: #e3f3ff;
+}
+
+.salesfarce
+ :is(
+ .record-table-cell-display,
+ [data-record-show-page-body] .widget,
+ [data-click-outside-id='record-board-card']
+ )
+ :is(
+ a[data-click-outside-id='link-chip-click-outside-id'],
+ a[target='_blank'][data-variant='outline'][data-shape='round']
+ ) {
+ --tw-chip-padding-start: 0px;
+ --tw-chip-padding-end: 0px;
+ --tw-chip-border-width: 0px;
+
+ background: transparent;
+ border: 0;
+ border-radius: 0;
+ box-shadow: none;
+ color: #015ba7;
+ text-decoration: underline;
+}
+
+.salesfarce
+ :is(
+ .record-table-cell-display,
+ [data-record-show-page-body] .widget,
+ [data-click-outside-id='record-board-card']
+ )
+ :is(
+ a[data-click-outside-id='link-chip-click-outside-id'],
+ a[target='_blank'][data-variant='outline'][data-shape='round']
+ ):hover {
+ background: transparent;
+ color: #1468b6;
+}
+
+.salesfarce
+ :is(
+ .record-table-cell-display,
+ [data-record-show-page-body] .widget,
+ [data-click-outside-id='record-board-card']
+ )
+ :is(
+ [data-size][data-shape]:not([data-variant]),
+ [data-variant='plain'][data-truncate] > div:has(> svg)
+ ) {
+ display: none;
+}
+
+.salesfarce
+ :is(
+ input,
+ textarea,
+ [role='button'][aria-haspopup],
+ div:has(> input[data-grouped]),
+ div:has(> div > div > .ProseMirror)
+ ) {
+ --t-background-transparent-lighter: #ffffff;
+ --t-border-color-medium: #a5acb2;
+ --t-border-radius-md: 0px;
+}
+
+.salesfarce [data-table-header='true'],
+.salesfarce [data-table-header='true'] > div {
+ background: #f2f3f3;
+ color: #000000;
+ font-size: 11px;
+ font-weight: 700;
+}
+
+.salesfarce [data-table-header='true'] > svg {
+ display: none;
+}
+
+.salesfarce [role='button'][aria-controls^='view-picker-'] > div {
+ background: #ffffff;
+ border: 1px solid #a5acb2;
+ border-radius: 0;
+ box-shadow: none;
+}
+
+.salesfarce [role='button'][aria-controls^='view-picker-'] {
+ align-items: center;
+ display: flex;
+ gap: 4px;
+}
+
+.salesfarce [role='button'][aria-controls^='view-picker-']::after {
+ align-items: center;
+ background: linear-gradient(#fefefe, #f0f0f0 60%);
+ border: 1px solid #b5b5b5;
+ border-bottom-color: #7f7f7f;
+ border-radius: 3px;
+ box-sizing: border-box;
+ color: #333333;
+ content: 'Go!' / '';
+ display: flex;
+ font-size: 11px;
+ font-weight: 700;
+ height: 22px;
+ padding: 0 6px;
+}
+
+@media (max-width: 768px) {
+ .salesfarce [role='button'][aria-controls^='view-picker-']::after {
+ display: none;
+ }
+}
+
+.salesfarce
+ :is(button, a):is([data-color='neutral'], [data-color='accent']):is(
+ [data-variant='outline'],
+ [data-variant='solid']
+ ) {
+ --tw-button-background: linear-gradient(#fefefe, #f0f0f0 60%);
+ --tw-button-border: #b5b5b5;
+ --tw-button-color: #333333;
+ --tw-button-hover: linear-gradient(#feffff, #e5f4ff 60%);
+ --tw-button-active: linear-gradient(#cccccc, #e6e6e6 20%, #f9f9f9);
+
+ border-bottom-color: #7f7f7f;
+ border-radius: 3px;
+ font-weight: 700;
+}
+
+.salesfarce
+ [data-click-outside-id='page-action-container']
+ button[data-color='accent'][data-variant='solid'] {
+ --tw-button-background: linear-gradient(#60c2e2, #0099cc);
+ --tw-button-border: #ffffff;
+ --tw-button-color: #ffffff;
+ --tw-button-hover: #1797c0;
+ --tw-button-active: #0099cc;
+
+ border-bottom-color: #ffffff;
+ border-radius: 6px;
+ box-shadow: 0 0 0 1px #9fd3e6;
+}
+
+.salesfarce [data-floating-ui-viewport] > div {
+ border-color: #7d7d7d;
+ border-radius: 0;
+}
+
+.salesfarce [data-floating-ui-viewport] [data-highlighted],
+.salesfarce
+ [data-floating-ui-viewport]
+ div:has(> [data-highlighted]):has(> .hoverable-buttons) {
+ background: #e3f3ff;
+ color: #015ba7;
+ text-decoration: underline;
+}
+
+.salesfarce [role='checkbox'] {
+ border-radius: 0;
+}
+
+.salesfarce
+ :is(
+ [style*='--tw-tag-background'],
+ [style*='--tw-status-background'],
+ [style*='--color-sample-border-color']
+ ) {
+ --t-tag-text-gray: #8a8a8a;
+ --t-tag-text-mauve: #6b6b9a;
+ --t-tag-text-slate: #5a6f8f;
+ --t-tag-text-sage: #6b8a63;
+ --t-tag-text-olive: #8a8a4f;
+ --t-tag-text-sand: #9a8a72;
+ --t-tag-text-tomato: #d9532c;
+ --t-tag-text-red: #cc0000;
+ --t-tag-text-ruby: #c41e4a;
+ --t-tag-text-crimson: #b52a6e;
+ --t-tag-text-pink: #c2478f;
+ --t-tag-text-plum: #9b2fae;
+ --t-tag-text-purple: #7b3fb5;
+ --t-tag-text-violet: #56458c;
+ --t-tag-text-iris: #5c5cc7;
+ --t-tag-text-cyan: #2a8a96;
+ --t-tag-text-turquoise: #1f8a8a;
+ --t-tag-text-sky: #1797c0;
+ --t-tag-text-blue: #236fbd;
+ --t-tag-text-jade: #1a8a5a;
+ --t-tag-text-green: #339900;
+ --t-tag-text-grass: #5a8a00;
+ --t-tag-text-mint: #3a9a8a;
+ --t-tag-text-lime: #7a9a1e;
+ --t-tag-text-bronze: #a55647;
+ --t-tag-text-gold: #b7a752;
+ --t-tag-text-brown: #8c5a2b;
+ --t-tag-text-orange: #e39321;
+ --t-tag-text-amber: #f3a205;
+ --t-tag-text-yellow: #e5c130;
+}
+
+.salesfarce
+ [style*='--tw-tag-background']:not(
+ [data-variant='ghost'],
+ [data-variant='outline'],
+ [style*='--tw-tag-background: transparent']
+ ) {
+ background:
+ linear-gradient(#ffffff4d, #ffffff00 55%, #00000014), var(--tw-tag-text);
+ border-radius: 3px;
+ box-shadow: inset 0 0 0 1px #00000033;
+ color: #ffffff;
+ font-weight: 700;
+ text-shadow: 0 -1px 0 #00000040;
+}
+
+.salesfarce [style*='--tw-status-background'] {
+ background:
+ linear-gradient(#ffffff4d, #ffffff00 55%, #00000014),
+ var(--tw-status-text-color);
+ border-radius: 3px;
+ box-shadow: inset 0 0 0 1px #00000033;
+ color: #ffffff;
+ font-weight: 700;
+ text-shadow: 0 -1px 0 #00000040;
+}
+
+.salesfarce [style*='--tw-status-background']::before {
+ background-color: #ffffff;
+}
+
+.salesfarce [style*='--color-sample-border-color'] {
+ background-color: var(--color-sample-border-color);
+}
+
+.salesfarce
+ :is([style*='--tw-tag-background'], [style*='--tw-status-background']):is(
+ [style*='--t-tag-background-yellow'],
+ [style*='--t-tag-background-amber'],
+ [style*='--t-tag-background-gold']
+ ):not([data-variant='ghost'], [data-variant='outline']) {
+ text-shadow: 0 1px 1px #00000080;
+}
+
+.salesfarce
+ [style*='--t-tag-background-gray']:not(
+ [data-variant='ghost'],
+ [data-variant='outline']
+ ) {
+ background: linear-gradient(#fefefe, #e8e8e8);
+ box-shadow: inset 0 0 0 1px #b5b5b5;
+ color: #333333;
+ text-shadow: none;
+}
+
+.salesfarce
+ [style*='--t-tag-background-gray'][style*='--tw-status-background']::before {
+ background-color: #8a8a8a;
+}
+
+.salesfarce
+ span[role='img']:is([data-variant='keys'], [data-variant='button']) {
+ display: none;
+}
+
+.salesfarce [role='tooltip'] {
+ --t-tooltip-color: #000000;
+ --t-tooltip-description-color: #333435;
+
+ background: #ffffd0;
+ border: 1px solid #333333;
+ border-radius: 3px;
+ box-shadow: none;
+ color: #000000;
+}
+
+.salesfarce :is([role='tab'], a[data-testid^='tab-']) {
+ --tw-tabs-background: transparent;
+ --tw-tabs-color: #015ba7;
+ --tw-tabs-icon-color: #015ba7;
+
+ background: none;
+ border-radius: 0;
+ box-shadow: none;
+ color: #015ba7;
+ font-size: 11px;
+}
+
+.salesfarce :is([role='tab'], a[data-testid^='tab-']):hover span {
+ text-decoration: underline;
+}
+
+.salesfarce
+ :is([role='tab'], a[data-testid^='tab-']):is(
+ [data-active],
+ [aria-selected='true'],
+ [aria-current='page']
+ ) {
+ --tw-tabs-color: #000000;
+ --tw-tabs-icon-color: #000000;
+
+ color: #000000;
+ font-weight: 700;
+}
+
+.salesfarce :is([role='tab'], a[data-testid^='tab-']) [aria-hidden='true'],
+.salesfarce :is([role='tab'], a[data-testid^='tab-'])::after {
+ display: none;
+}
+
+.salesfarce [role='tab'] > span,
+.salesfarce a[data-testid^='tab-'] > span > span > span {
+ background: transparent;
+}
+
+.salesfarce .page-layout-tab-list-print-hidden > div {
+ justify-content: center;
+}
+
+.salesfarce .page-layout-tab-list-print-hidden div[id^='base-ui-'] {
+ align-items: center;
+ display: flex;
+}
+
+.salesfarce
+ .page-layout-tab-list-print-hidden
+ div[id^='base-ui-']:not(:last-child)::after {
+ color: #999999;
+ content: '|';
+ font-size: 11px;
+}
+
+.salesfarce [data-record-show-page-body] .widget {
+ background: #f8f8f8;
+ border-radius: 4px;
+ box-shadow: inset 0 0 0 1px #eaeaea;
+}
+
+.salesfarce [data-record-show-page-body] .widget-card-header {
+ background: transparent;
+ box-shadow:
+ inset 0 3px var(--sf-object),
+ inset 0 -1px #dbdbdb;
+}
+
+.salesfarce [data-record-show-page-body] .widget-card-header > div {
+ color: #000000;
+ font-weight: 700;
+}
+
+.salesfarce [data-testid='record-fields-widget'] header {
+ background: transparent;
+ box-shadow: inset 0 2px var(--sf-object);
+}
+
+.salesfarce [data-testid='record-fields-widget'] header > div {
+ color: #27282e;
+ font-weight: 700;
+}
+
+.salesfarce [data-testid='record-fields-widget'] div:has(> [id^='fields-']) {
+ box-shadow: inset 0 -1px #ececec;
+}
+
+.salesfarce
+ [data-testid='record-fields-widget']
+ div:has(> [id^='fields-'])
+ > div:first-child {
+ color: #4a4a56;
+ font-weight: 700;
+}
+
+.salesfarce
+ [data-testid='record-fields-widget']
+ div:has(> [id^='fields-'])
+ > div:first-child
+ > div:has(> svg) {
+ display: none;
+}
+
+.salesfarce
+ [data-click-outside-id='record-board-card']
+ > div
+ > div[data-selected] {
+ border-top-width: 3px;
+}
+
+.salesfarce
+ [data-click-outside-id='record-board-card']
+ > div
+ > div[data-selected='false'] {
+ background: #f8f8f8;
+ border-color: var(--sf-object) #eaeaea #eaeaea;
+ border-radius: 4px;
+ box-shadow: none;
+}
+
+.salesfarce [id^='toast-']:is([role='status'], [role='alert']) {
+ background: #ffffcc;
+ border: 1px solid #3399ff;
+ border-radius: 4px;
+ color: #000000;
+}
+
+.salesfarce
+ [id^='toast-']:is([role='status'], [role='alert']):has(
+ .tabler-icon-alert-triangle
+ ) {
+ border-color: #cc0000;
+}
+
+.salesfarce
+ [id^='toast-']:is([role='status'], [role='alert']):has(
+ .tabler-icon-square-rounded-check
+ ) {
+ border-color: #339900;
+}
+
+.salesfarce
+ [id^='toast-']:is([role='status'], [role='alert'])
+ > [aria-hidden='true']
+ > :not([role='progressbar']) {
+ display: none;
+}
+
+.salesfarce * {
+ scrollbar-color: auto !important;
+}
+
+.salesfarce ::-webkit-scrollbar {
+ height: 16px;
+ width: 16px;
+}
+
+.salesfarce ::-webkit-scrollbar-track,
+.salesfarce ::-webkit-scrollbar-corner {
+ background: #f0f0f0;
+}
+
+.salesfarce ::-webkit-scrollbar-thumb {
+ background: linear-gradient(90deg, #f6f6f6, #d9d9d9);
+ border: 1px solid #9a9a9a;
+ border-radius: 2px;
+}
+
+.salesfarce ::-webkit-scrollbar-thumb:horizontal {
+ background: linear-gradient(#f6f6f6, #d9d9d9);
+}
+
+.salesfarce ::-webkit-scrollbar-thumb:hover {
+ background: linear-gradient(90deg, #eef7fd, #c7e2f4);
+ border-color: #3c7fb1;
+}
+
+.salesfarce ::-webkit-scrollbar-button:start:decrement,
+.salesfarce ::-webkit-scrollbar-button:end:increment {
+ background-color: #f0f0f0;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 8px;
+ display: block;
+ height: 16px;
+ width: 16px;
+}
+
+.salesfarce ::-webkit-scrollbar-button:vertical:start:decrement {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1 6 L4 2.5 L7 6Z' fill='%23606060'/%3E%3C/svg%3E");
+}
+
+.salesfarce ::-webkit-scrollbar-button:vertical:end:increment {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1 2 L4 5.5 L7 2Z' fill='%23606060'/%3E%3C/svg%3E");
+}
+
+.salesfarce ::-webkit-scrollbar-button:horizontal:start:decrement {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M6 1 L2.5 4 L6 7Z' fill='%23606060'/%3E%3C/svg%3E");
+}
+
+.salesfarce ::-webkit-scrollbar-button:horizontal:end:increment {
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2 1 L5.5 4 L2 7Z' fill='%23606060'/%3E%3C/svg%3E");
+}
+
+:root.salesfarce :focus-visible:not(input, textarea, [contenteditable='true']) {
+ outline: 1px dotted #000000 !important;
+ outline-offset: 1px !important;
+}
diff --git a/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-variables.css b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-variables.css
new file mode 100644
index 00000000000..5d272b7db5a
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce-variables.css
@@ -0,0 +1,187 @@
+.salesfarce {
+ --t-accent-primary: #8ccfee;
+ --t-accent-secondary: #8ccfee;
+ --t-accent-tertiary: #cfeef8;
+ --t-accent-quaternary: #e3f3ff;
+ --t-accent-accent3570: #1f9cc8;
+ --t-accent-accent4060: #1f9cc8;
+ --t-accent-accent1: #f5fbfd;
+ --t-accent-accent2: #e3f3ff;
+ --t-accent-accent3: #cfeef8;
+ --t-accent-accent4: #b0e1fa;
+ --t-accent-accent5: #8ccfee;
+ --t-accent-accent6: #5fbde3;
+ --t-accent-accent7: #3aa9d4;
+ --t-accent-accent8: #1f9cc8;
+ --t-accent-accent9: #1797c0;
+ --t-accent-accent10: #1468b6;
+ --t-accent-accent11: #015ba7;
+ --t-accent-accent12: #0d3d6b;
+ --t-background-primary: #ffffff;
+ --t-background-secondary: #f8f8f8;
+ --t-background-tertiary: #e3f3ff;
+ --t-background-quaternary: #e0e3e5;
+ --t-background-inverted-primary: #222222;
+ --t-background-inverted-secondary: #333435;
+ --t-background-transparent-primary: #f8f8f8;
+ --t-background-transparent-secondary: #ffffff;
+ --t-background-transparent-medium: #1797c033;
+ --t-background-transparent-light: #1797c01f;
+ --t-background-transparent-lighter: #0000000a;
+ --t-background-overlay-primary: #ffffff99;
+ --t-background-primary-inverted: #222222;
+ --t-background-primary-inverted-hover: #333435;
+ --t-blur-light: none;
+ --t-blur-medium: none;
+ --t-blur-strong: none;
+ --t-border-color-strong: #b5b5b5;
+ --t-border-color-medium: #e0e3e5;
+ --t-border-color-light: #ececec;
+ --t-border-color-secondary-inverted: #333435;
+ --t-border-color-inverted: #222222;
+ --t-border-color-blue: #3aa9d4;
+ --t-border-radius-xs: 1px;
+ --t-border-radius-sm: 2px;
+ --t-border-radius-md: 3px;
+ --t-border-radius-sm-round: 2px;
+ --t-border-radius-md-round: 3px;
+ --t-border-radius-lg-round: 4px;
+ --t-border-radius-lg: 4px;
+ --t-border-radius-xl: 4px;
+ --t-border-radius-xxl: 4px;
+ --t-border-radius-pill: 3px;
+ --t-box-shadow-color: #0000000d;
+ --t-box-shadow-light: 0 1px 2px #00000026;
+ --t-box-shadow-sidebar: none;
+ --t-box-shadow-bottom-panel: 0 -1px 5px #00000033;
+ --t-box-shadow-strong: 0 1px 5px #727272;
+ --t-box-shadow-underline: 0 1px 0 #b5b5b5;
+ --t-box-shadow-super-heavy: 2px 3px 10px #999999;
+ --t-font-color-primary: #222222;
+ --t-font-color-secondary: #333435;
+ --t-font-color-tertiary: #4a4a56;
+ --t-font-color-light: #888888;
+ --t-font-color-extra-light: #a3a3a3;
+ --t-font-color-inverted: #ffffff;
+ --t-font-color-danger: #cc0000;
+ --t-font-size-xs: 0.77rem;
+ --t-font-size-sm: 0.846rem;
+ --t-font-size-md: 0.923rem;
+ --t-font-size-lg: 1.2rem;
+ --t-font-size-xl: 1.662rem;
+ --t-font-weight-medium: 700;
+ --t-font-weight-semi-bold: 700;
+ --t-font-family: Arial, Helvetica, sans-serif;
+ --t-snack-bar-error-color: #cc0000;
+ --t-snack-bar-info-color: #3399ff;
+ --t-snack-bar-default-color: #333333;
+ --t-tag-text-gray: #4a4a56;
+ --t-tag-text-mauve: #6262a4;
+ --t-tag-text-slate: #516a91;
+ --t-tag-text-sage: #526e4c;
+ --t-tag-text-olive: #6b6b47;
+ --t-tag-text-sand: #6e6356;
+ --t-tag-text-tomato: #b92b19;
+ --t-tag-text-red: #c40f11;
+ --t-tag-text-ruby: #bd063c;
+ --t-tag-text-crimson: #a62264;
+ --t-tag-text-pink: #a82f80;
+ --t-tag-text-plum: #930fa5;
+ --t-tag-text-purple: #7325c2;
+ --t-tag-text-violet: #56458c;
+ --t-tag-text-iris: #5757c7;
+ --t-tag-text-cyan: #2e6f76;
+ --t-tag-text-turquoise: #1c7272;
+ --t-tag-text-sky: #11708e;
+ --t-tag-text-blue: #2065ac;
+ --t-tag-text-jade: #00704b;
+ --t-tag-text-green: #277527;
+ --t-tag-text-grass: #4b7000;
+ --t-tag-text-mint: #3c736a;
+ --t-tag-text-lime: #58751e;
+ --t-tag-text-bronze: #974f41;
+ --t-tag-text-gold: #7a6607;
+ --t-tag-text-brown: #8c4400;
+ --t-tag-text-orange: #915d12;
+ --t-tag-text-amber: #876522;
+ --t-tag-text-yellow: #806a10;
+ --t-tag-background-gray: #ececec;
+ --t-tag-background-mauve: #ebebf4;
+ --t-tag-background-slate: #e8ecf2;
+ --t-tag-background-sage: #e0e7df;
+ --t-tag-background-olive: #ebebe0;
+ --t-tag-background-sand: #e6e3e0;
+ --t-tag-background-tomato: #f9d8d4;
+ --t-tag-background-red: #fcd5d5;
+ --t-tag-background-ruby: #f9cdda;
+ --t-tag-background-crimson: #edd3e0;
+ --t-tag-background-pink: #f1d6e8;
+ --t-tag-background-plum: #e9cfed;
+ --t-tag-background-purple: #e3d3f3;
+ --t-tag-background-violet: #dddae8;
+ --t-tag-background-iris: #e0e0f5;
+ --t-tag-background-cyan: #d9ebed;
+ --t-tag-background-turquoise: #d4eeee;
+ --t-tag-background-sky: #d1eaf2;
+ --t-tag-background-blue: #d3e2f2;
+ --t-tag-background-jade: #ccebe0;
+ --t-tag-background-green: #d6ead6;
+ --t-tag-background-grass: #e0ebcc;
+ --t-tag-background-mint: #e4f1ef;
+ --t-tag-background-lime: #e7f0d5;
+ --t-tag-background-bronze: #edddda;
+ --t-tag-background-gold: #eee8ce;
+ --t-tag-background-brown: #e8dacc;
+ --t-tag-background-orange: #f9e9d3;
+ --t-tag-background-amber: #f5ebd6;
+ --t-tag-background-yellow: #faf3d6;
+ --t-code-text-gray: #3e3f44;
+ --t-illustration-icon-fill-gray: #e0e3e5;
+ --t-gray-scale-gray1: #ffffff;
+ --t-gray-scale-gray2: #f8f8f8;
+ --t-gray-scale-gray3: #ffffff;
+ --t-gray-scale-gray4: #ececec;
+ --t-gray-scale-gray5: #e0e3e5;
+ --t-gray-scale-gray6: #b5b5b5;
+ --t-gray-scale-gray7: #a3a3a3;
+ --t-gray-scale-gray8: #888888;
+ --t-gray-scale-gray9: #4a4a56;
+ --t-gray-scale-gray10: #3e3f44;
+ --t-gray-scale-gray11: #333435;
+ --t-gray-scale-gray12: #222222;
+ --t-color-red: #cc0000;
+ --t-color-blue: #1797c0;
+ --t-color-blue1: #f5fbfd;
+ --t-color-blue2: #e3f3ff;
+ --t-color-blue3: #cfeef8;
+ --t-color-blue4: #b0e1fa;
+ --t-color-blue5: #8ccfee;
+ --t-color-blue6: #5fbde3;
+ --t-color-blue7: #3aa9d4;
+ --t-color-blue8: #1f9cc8;
+ --t-color-blue9: #1797c0;
+ --t-color-blue10: #1468b6;
+ --t-color-blue11: #015ba7;
+ --t-color-blue12: #0d3d6b;
+ --t-color-red9: #cc0000;
+ --t-color-gray1: #ffffff;
+ --t-color-gray2: #f8f8f8;
+ --t-color-gray3: #ffffff;
+ --t-color-gray4: #ececec;
+ --t-color-gray5: #e0e3e5;
+ --t-color-gray6: #b5b5b5;
+ --t-color-gray7: #a3a3a3;
+ --t-color-gray8: #888888;
+ --t-color-gray9: #4a4a56;
+ --t-color-gray10: #3e3f44;
+ --t-color-gray11: #333435;
+ --t-color-gray12: #222222;
+ --t-snack-bar-success-color: #339900;
+ --t-snack-bar-success-background-color: #33990040;
+ --t-snack-bar-error-background-color: #cc000040;
+ --t-snack-bar-warning-color: #ff9900;
+ --t-snack-bar-warning-background-color: #ff990040;
+ --t-snack-bar-info-background-color: #3399ff40;
+ --t-snack-bar-default-background-color: #00000020;
+ --t-corner-shape: round;
+}
diff --git a/packages/twenty-front/src/modules/salesfarce/styles/salesfarce.css b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce.css
new file mode 100644
index 00000000000..204b8bbb920
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/styles/salesfarce.css
@@ -0,0 +1,4 @@
+@import './salesfarce-variables.css';
+@import './salesfarce-retro.css';
+@import './salesfarce-icons.css';
+@import './salesfarce-badge.css';
diff --git a/packages/twenty-front/src/modules/salesfarce/utils/__tests__/salesfarceConsumeRequest.test.ts b/packages/twenty-front/src/modules/salesfarce/utils/__tests__/salesfarceConsumeRequest.test.ts
new file mode 100644
index 00000000000..378a3ba7d63
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/utils/__tests__/salesfarceConsumeRequest.test.ts
@@ -0,0 +1,15 @@
+import { SALESFARCE_SESSION_STORAGE_KEY } from '@/salesfarce/constants/SalesfarceSessionStorageKey';
+import { salesfarceConsumeRequest } from '@/salesfarce/utils/salesfarceConsumeRequest';
+
+describe('salesfarceConsumeRequest', () => {
+ afterEach(() => {
+ sessionStorage.clear();
+ });
+
+ it('honors a request once so the next refresh drops Salesfarce', () => {
+ sessionStorage.setItem(SALESFARCE_SESSION_STORAGE_KEY, 'true');
+
+ expect(salesfarceConsumeRequest()).toBe(true);
+ expect(salesfarceConsumeRequest()).toBe(false);
+ });
+});
diff --git a/packages/twenty-front/src/modules/salesfarce/utils/salesfarceConsumeRequest.ts b/packages/twenty-front/src/modules/salesfarce/utils/salesfarceConsumeRequest.ts
new file mode 100644
index 00000000000..0f403ead223
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/utils/salesfarceConsumeRequest.ts
@@ -0,0 +1,14 @@
+import { SALESFARCE_SESSION_STORAGE_KEY } from '@/salesfarce/constants/SalesfarceSessionStorageKey';
+
+export const salesfarceConsumeRequest = () => {
+ try {
+ const isRequested =
+ sessionStorage.getItem(SALESFARCE_SESSION_STORAGE_KEY) === 'true';
+
+ sessionStorage.removeItem(SALESFARCE_SESSION_STORAGE_KEY);
+
+ return isRequested;
+ } catch {
+ return false;
+ }
+};
diff --git a/packages/twenty-front/src/modules/salesfarce/utils/salesfarceEnter.ts b/packages/twenty-front/src/modules/salesfarce/utils/salesfarceEnter.ts
new file mode 100644
index 00000000000..f8b6519d88f
--- /dev/null
+++ b/packages/twenty-front/src/modules/salesfarce/utils/salesfarceEnter.ts
@@ -0,0 +1,12 @@
+import { SALESFARCE_SESSION_STORAGE_KEY } from '@/salesfarce/constants/SalesfarceSessionStorageKey';
+import { reloadWindow } from '~/utils/reloadWindow';
+
+export const salesfarceEnter = () => {
+ try {
+ sessionStorage.setItem(SALESFARCE_SESSION_STORAGE_KEY, 'true');
+ } catch {
+ return;
+ }
+
+ reloadWindow();
+};
diff --git a/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsx b/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsx
index a5b3b854d33..d14ba65e9df 100644
--- a/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsx
+++ b/packages/twenty-front/src/modules/ui/theme/components/BaseThemeProvider.tsx
@@ -1,5 +1,8 @@
import { type JSX, createContext } from 'react';
+// Salesfarce: remove with the theme
+import { SalesfarceTheme } from '@/salesfarce/components/SalesfarceTheme';
+import { salesfarceIsActiveState } from '@/salesfarce/states/salesfarceIsActiveState';
import { UI_SCALE_MULTIPLIERS } from '@/ui/theme/constants/UiScaleMultipliers';
import { useSystemColorScheme } from '@/ui/theme/hooks/useSystemColorScheme';
import { persistedColorSchemeState } from '@/ui/theme/states/persistedColorSchemeState';
@@ -22,6 +25,8 @@ export const BaseThemeProvider = ({ children }: BaseThemeProviderProps) => {
persistedColorSchemeState,
);
const persistedUiScaleStep = useAtomStateValue(persistedUiScaleStepState);
+ // Salesfarce: remove with the theme
+ const salesfarceIsActive = useAtomStateValue(salesfarceIsActiveState);
const systemColorScheme = useSystemColorScheme();
const effectiveColorScheme =
persistedColorScheme === 'System'
@@ -30,8 +35,15 @@ export const BaseThemeProvider = ({ children }: BaseThemeProviderProps) => {
return (
<ThemeSchemeContext.Provider value={setPersistedColorScheme}>
+ {/* Salesfarce: remove with the theme */}
+ <SalesfarceTheme isActive={salesfarceIsActive} />
<ThemeProvider
- colorScheme={effectiveColorScheme === 'Dark' ? 'dark' : 'light'}
+ // Salesfarce: on removal, drop "&& !salesfarceIsActive"
+ colorScheme={
+ effectiveColorScheme === 'Dark' && !salesfarceIsActive
+ ? 'dark'
+ : 'light'
+ }
scale={UI_SCALE_MULTIPLIERS[persistedUiScaleStep]}
>
{children}
diff --git a/packages/twenty-front/src/modules/workspace-member/hooks/useColorScheme.ts b/packages/twenty-front/src/modules/workspace-member/hooks/useColorScheme.ts
index acc2f45565a..07663838c1d 100644
--- a/packages/twenty-front/src/modules/workspace-member/hooks/useColorScheme.ts
+++ b/packages/twenty-front/src/modules/workspace-member/hooks/useColorScheme.ts
@@ -1,5 +1,7 @@
import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
import { getToastOptionsFromError } from '@/error-handler/utils/getToastOptionsFromError';
+// Salesfarce: remove with the theme
+import { salesfarceIsActiveState } from '@/salesfarce/states/salesfarceIsActiveState';
import { useUpdateWorkspaceMemberSettings } from '@/workspace-member/hooks/useUpdateWorkspaceMemberSettings';
import { persistedColorSchemeState } from '@/ui/theme/states/persistedColorSchemeState';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
@@ -17,6 +19,8 @@ import {
IconSunMoon,
} from 'twenty-ui/icon';
import { type ColorScheme } from '@/ui/theme/types/ColorScheme';
+// Salesfarce: remove with the theme
+import { reloadWindow } from '~/utils/reloadWindow';
export const useColorScheme = () => {
const currentWorkspaceMember = useAtomStateValue(currentWorkspaceMemberState);
@@ -53,6 +57,11 @@ export const useColorScheme = () => {
colorScheme: value,
},
});
+
+ // Salesfarce: remove with the theme
+ if (store.get(salesfarceIsActiveState.atom)) {
+ reloadWindow();
+ }
} catch (error) {
const latestWorkspaceMember = store.get(
currentWorkspaceMemberState.atom,
diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsx
index 87e939a4972..e15c42ac7a1 100644
--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsx
+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearance.tsx
@@ -2,7 +2,10 @@ import { styled } from '@linaria/react';
import { useLingui } from '@lingui/react/macro';
import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
-import { useColorScheme } from '@/workspace-member/hooks/useColorScheme';
+// Salesfarce: on removal, import useColorScheme from '@/workspace-member/hooks/useColorScheme'
+import { useSalesfarceColorScheme } from '@/salesfarce/hooks/useSalesfarceColorScheme';
+// Salesfarce: remove with the theme
+import { SALESFARCE_APPEARANCE_VALUE } from '@/salesfarce/constants/SalesfarceAppearanceValue';
import { useAtomStateValue } from '@/ui/utilities/state/jotai/hooks/useAtomStateValue';
import { isDefined } from 'twenty-shared/utils';
import { doNotTranslate } from 'twenty-shared/i18n';
@@ -23,12 +26,19 @@ const StyledChoices = styled.div`
export const SettingsAppearance = () => {
const { t } = useLingui();
- const { colorScheme, setColorScheme } = useColorScheme();
+ // Salesfarce: on removal, call useColorScheme() instead
+ const { colorScheme, setColorScheme } = useSalesfarceColorScheme();
const currentWorkspaceMember = useAtomStateValue(currentWorkspaceMemberState);
- const choices: { value: ColorScheme; label: string }[] = [
+ const choices: {
+ // Salesfarce: on removal, drop the Salesfarce union
+ value: ColorScheme | typeof SALESFARCE_APPEARANCE_VALUE;
+ label: string;
+ }[] = [
{ value: doNotTranslate('Light'), label: t`Light` },
{ value: doNotTranslate('Dark'), label: t`Dark` },
{ value: doNotTranslate('System'), label: t`System settings` },
+ // Salesfarce: remove with the theme
+ { value: SALESFARCE_APPEARANCE_VALUE, label: t`Salesfarce` },
];
return (
@@ -40,7 +50,10 @@ export const SettingsAppearance = () => {
aria-label={t`Appearance`}
value={colorScheme}
disabled={!isDefined(currentWorkspaceMember)}
- onValueChange={(value: ColorScheme) => {
+ // Salesfarce: on removal, drop the Salesfarce union
+ onValueChange={(
+ value: ColorScheme | typeof SALESFARCE_APPEARANCE_VALUE,
+ ) => {
void setColorScheme(value);
}}
>
diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearanceOption.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearanceOption.tsx
index 95914badca5..6dd9b547569 100644
--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearanceOption.tsx
+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearanceOption.tsx
@@ -6,6 +6,9 @@ import { Radio } from 'twenty-ui/primitives/input';
import { MOBILE_VIEWPORT, themeCssVariables, useTheme } from 'twenty-ui/theme';
import { SettingsAppearancePreview } from '~/pages/settings/profile/appearance/components/SettingsAppearancePreview';
import { type ColorScheme } from '@/ui/theme/types/ColorScheme';
+// Salesfarce: remove with the theme
+import { SalesfarceBadge } from '@/salesfarce/components/SalesfarceBadge';
+import { SALESFARCE_APPEARANCE_VALUE } from '@/salesfarce/constants/SalesfarceAppearanceValue';
const StyledChoice = styled.label`
display: flex;
@@ -85,7 +88,8 @@ const StyledLabel = styled.span`
`;
type SettingsAppearanceOptionProps = {
- colorScheme: ColorScheme;
+ // Salesfarce: on removal, drop the Salesfarce union
+ colorScheme: ColorScheme | typeof SALESFARCE_APPEARANCE_VALUE;
label: string;
};
@@ -104,6 +108,8 @@ export const SettingsAppearanceOption = ({
render={<StyledTile />}
>
<SettingsAppearancePreview colorScheme={colorScheme} />
+ {/* Salesfarce: remove with the theme */}
+ {colorScheme === SALESFARCE_APPEARANCE_VALUE && <SalesfarceBadge />}
<Radio.Indicator keepMounted aria-hidden render={<StyledCheckmark />}>
<IconCheck size={theme.icon.size.sm} />
</Radio.Indicator>
diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearancePreview.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearancePreview.tsx
index a5a923ca79c..a7162ce32ae 100644
--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearancePreview.tsx
+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/SettingsAppearancePreview.tsx
@@ -8,6 +8,9 @@ import {
} from 'twenty-ui/theme';
import { type ColorScheme } from '@/ui/theme/types/ColorScheme';
import { doNotTranslate } from 'twenty-shared/i18n';
+// Salesfarce: remove with the theme
+import { SALESFARCE_APPEARANCE_VALUE } from '@/salesfarce/constants/SalesfarceAppearanceValue';
+import { SALESFARCE_PREVIEW_STYLE } from '@/salesfarce/constants/SalesfarcePreviewStyle';
const StyledPreview = styled.div`
border-radius: ${themeCssVariables.border.radius.md};
@@ -25,6 +28,7 @@ const StyledSegment = styled.div`
display: flex;
flex: 1;
min-width: 0;
+ overflow: hidden;
padding-inline-start: ${themeCssVariables.spacing[6]};
padding-top: ${themeCssVariables.spacing[6]};
@@ -68,7 +72,8 @@ const StyledContent = styled.div`
`;
type SettingsAppearancePreviewProps = {
- colorScheme: ColorScheme;
+ // Salesfarce: on removal, drop the Salesfarce union
+ colorScheme: ColorScheme | typeof SALESFARCE_APPEARANCE_VALUE;
};
export const SettingsAppearancePreview = ({
@@ -93,6 +98,9 @@ export const SettingsAppearancePreview = ({
'--appearance-preview-border': grayScale.gray5,
'--appearance-preview-content-background': grayScale.gray1,
'--appearance-preview-content-color': grayScale.gray12,
+ // Salesfarce: remove with the theme
+ ...(segment === SALESFARCE_APPEARANCE_VALUE &&
+ SALESFARCE_PREVIEW_STYLE),
} as CSSProperties
}
>
diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/__stories__/SettingsAppearance.interactions.stories.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/__stories__/SettingsAppearance.interactions.stories.tsx
index 3a78a3d77b7..2621c10e5f9 100644
--- a/packages/twenty-front/src/pages/settings/profile/appearance/components/__stories__/SettingsAppearance.interactions.stories.tsx
+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/__stories__/SettingsAppearance.interactions.stories.tsx
@@ -51,7 +51,8 @@ export const SelectionAndKeyboard: Story = {
const dark = group.getByRole('radio', { name: 'Dark' });
const system = group.getByRole('radio', { name: 'System settings' });
- expect(group.getAllByRole('radio')).toHaveLength(3);
+ // Salesfarce: on removal, expect 3 options
+ expect(group.getAllByRole('radio')).toHaveLength(4);
expect(light).toBeChecked();
await userEvent.click(group.getByText('Dark'));
await waitFor(() => expect(dark).toBeChecked());
@@ -80,8 +81,9 @@ export const SelectionAndKeyboard: Story = {
await userEvent.tab({ shift: true });
expect(system).toHaveFocus();
expect(getComputedStyle(system).outlineStyle).toBe('solid');
- await userEvent.keyboard('{ArrowRight}');
- await waitFor(() => expect(light).toBeChecked());
+ // Salesfarce: on removal, press ArrowRight and expect Light, as it wraps around
+ await userEvent.keyboard('{ArrowLeft}');
+ await waitFor(() => expect(dark).toBeChecked());
expect(system).not.toBeChecked();
},
};
diff --git a/packages/twenty-front/src/pages/settings/profile/appearance/components/__tests__/SalesfarceSettingsAppearance.test.tsx b/packages/twenty-front/src/pages/settings/profile/appearance/components/__tests__/SalesfarceSettingsAppearance.test.tsx
new file mode 100644
index 00000000000..351d90355d7
--- /dev/null
+++ b/packages/twenty-front/src/pages/settings/profile/appearance/components/__tests__/SalesfarceSettingsAppearance.test.tsx
@@ -0,0 +1,98 @@
+import { i18n } from '@lingui/core';
+import { I18nProvider } from '@lingui/react';
+import { cleanup, render, screen, waitFor } from '@testing-library/react';
+import userEvent from '@testing-library/user-event';
+import { Provider as JotaiProvider } from 'jotai';
+import { SOURCE_LOCALE } from 'twenty-shared/translations';
+import { ToastProvider } from 'twenty-ui/components/feedback';
+import { ThemeProvider } from 'twenty-ui/theme';
+
+import { currentWorkspaceMemberState } from '@/auth/states/currentWorkspaceMemberState';
+import { salesfarceIsActiveState } from '@/salesfarce/states/salesfarceIsActiveState';
+import { salesfarceConsumeRequest } from '@/salesfarce/utils/salesfarceConsumeRequest';
+import {
+ jotaiStore,
+ resetJotaiStore,
+} from '@/ui/utilities/state/jotai/jotaiStore';
+import { SettingsAppearance } from '~/pages/settings/profile/appearance/components/SettingsAppearance';
+import { dynamicActivate } from '~/utils/i18n/dynamicActivate';
+
+const updateSettings = jest.fn().mockResolvedValue(undefined);
+
+jest.mock('@/workspace-member/hooks/useUpdateWorkspaceMemberSettings', () => ({
+ useUpdateWorkspaceMemberSettings: () => ({
+ updateWorkspaceMemberSettings: updateSettings,
+ }),
+}));
+
+const reloadWindow = jest.fn();
+
+jest.mock('~/utils/reloadWindow', () => ({
+ reloadWindow: () => reloadWindow(),
+}));
+
+dynamicActivate(SOURCE_LOCALE);
+
+const renderAppearance = () => {
+ jotaiStore.set(currentWorkspaceMemberState.atom, {
+ id: 'appearance-member',
+ name: { firstName: 'Alex', lastName: 'Example' },
+ userEmail: '[email protected]',
+ locale: 'en',
+ colorScheme: 'Light',
+ });
+
+ return render(
+ <JotaiProvider store={jotaiStore}>
+ <ThemeProvider colorScheme="light" applyToRoot={false}>
+ <I18nProvider i18n={i18n}>
+ <ToastProvider>
+ <SettingsAppearance />
+ </ToastProvider>
+ </I18nProvider>
+ </ThemeProvider>
+ </JotaiProvider>,
+ );
+};
+
+describe('SettingsAppearance with Salesfarce', () => {
+ beforeAll(() => {
+ Object.defineProperty(window, 'PointerEvent', { value: MouseEvent });
+ });
+
+ beforeEach(() => {
+ jest.clearAllMocks();
+ resetJotaiStore();
+ });
+
+ afterEach(() => {
+ cleanup();
+ sessionStorage.clear();
+ });
+
+ it('reloads into Salesfarce without saving it as the theme', async () => {
+ renderAppearance();
+
+ await userEvent.click(screen.getByRole('radio', { name: 'Salesfarce' }));
+
+ expect(salesfarceConsumeRequest()).toBe(true);
+ expect(reloadWindow).toHaveBeenCalledTimes(1);
+ expect(updateSettings).not.toHaveBeenCalled();
+ });
+
+ it('saves the picked theme and reloads out of Salesfarce', async () => {
+ jotaiStore.set(salesfarceIsActiveState.atom, true);
+ renderAppearance();
+
+ expect(screen.getByRole('radio', { name: 'Salesfarce' })).toBeChecked();
+
+ await userEvent.click(screen.getByRole('radio', { name: 'Dark' }));
+
+ expect(updateSettings).toHaveBeenCalledWith({
+ workspaceMemberId: 'appearance-member',
+ update: { colorScheme: 'Dark' },
+ });
+ expect(updateSettings).toHaveBeenCalledTimes(1);
+ await waitFor(() => expect(reloadWindow).toHaveBeenCalledTimes(1));
+ });
+});