Skip to content

Commit

Permalink
White labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
sidedwards committed May 7, 2024
1 parent d0d52de commit b9bea68
Show file tree
Hide file tree
Showing 11 changed files with 966 additions and 20 deletions.
6 changes: 3 additions & 3 deletions packages/design-system/src/css/_tokens.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@use 'sass:math';

@mixin theme {
--color-primary-h: var(--prim-color-primary-h);
--color-primary-s: var(--prim-color-primary-s);
--color-primary-l: 68%;
--color-primary-h: 24;
--color-primary-s: 90;
--color-primary-l: 57%;

// Primary tokens

Expand Down
4 changes: 2 additions & 2 deletions packages/editor-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
</script>
<script>!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled getFeatureFlag onFeatureFlags reloadFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[])</script>

<title>n8n.io - Workflow Automation</title>
<title>Acclaro - Workflow Automation</title>
</head>
<body>
<noscript>
<strong
>We're sorry but the n8n Editor-UI doesn't work properly without JavaScript enabled. Please
>We're sorry but the Acclaro Editor-UI doesn't work properly without JavaScript enabled. Please
enable it to continue.</strong
>
</noscript>
Expand Down
Binary file modified packages/editor-ui/public/favicon.ico
Binary file not shown.
173 changes: 172 additions & 1 deletion packages/editor-ui/public/static/logo/channel/dev-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 172 additions & 1 deletion packages/editor-ui/public/static/logo/channel/dev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
171 changes: 170 additions & 1 deletion packages/editor-ui/public/static/logo/collapsed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
219 changes: 218 additions & 1 deletion packages/editor-ui/public/static/logo/expanded-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
219 changes: 218 additions & 1 deletion packages/editor-ui/public/static/logo/expanded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/MainSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export default defineComponent({
img {
position: relative;
left: 1px;
height: 20px;
height: 30px;
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/editor-ui/src/composables/useTitleChange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ export function useTitleChange() {
icon = '▶️';
}

window.document.title = prependBeta(`n8n - ${icon} ${workflow}`);
window.document.title = prependBeta(`Acclaro - ${icon} ${workflow}`);
};

const titleReset = () => {
window.document.title = prependBeta('n8n - Workflow Automation');
window.document.title = prependBeta('Acclaro - Workflow Automation');
};

return {
Expand Down
15 changes: 8 additions & 7 deletions packages/editor-ui/src/plugins/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"clientSecret": "Client Secret"
}
},
"_brand.name": "Acclaro Workflows",
"generic.any": "Any",
"generic.cancel": "Cancel",
"generic.close": "Close",
Expand Down Expand Up @@ -67,11 +68,11 @@
"generic.loading": "Loading",
"generic.and": "and",
"generic.welcome": "Welcome",
"about.aboutN8n": "About n8n",
"about.aboutN8n": "About @:_brand.name",
"about.close": "Close",
"about.license": "License",
"about.n8nLicense": "Sustainable Use License + n8n Enterprise License",
"about.n8nVersion": "n8n Version",
"about.n8nVersion": "@:_brand.name Version",
"about.sourceCode": "Source Code",
"about.instanceID": "Instance ID",
"askAi.dialog.title": "'Ask AI' is almost ready",
Expand Down Expand Up @@ -759,7 +760,7 @@
"readOnlyEnv.showMessage.executions.title": "Cannot edit execution",
"readOnlyEnv.showMessage.workflows.message": "Workflows are read-only in protected instances.",
"readOnlyEnv.showMessage.workflows.title": "Cannot edit workflow",
"mainSidebar.aboutN8n": "About n8n",
"mainSidebar.aboutN8n": "About @:_brand.name",
"mainSidebar.confirmMessage.workflowDelete.cancelButtonText": "",
"mainSidebar.confirmMessage.workflowDelete.confirmButtonText": "Yes, delete",
"mainSidebar.confirmMessage.workflowDelete.headline": "Delete Workflow?",
Expand Down Expand Up @@ -1039,7 +1040,7 @@
"nodeErrorView.details.info": "Other info",
"nodeErrorView.details.nodeVersion": "Node version",
"nodeErrorView.details.nodeType": "Node type",
"nodeErrorView.details.n8nVersion": "n8n version",
"nodeErrorView.details.n8nVersion": "@:_brand.name version",
"nodeErrorView.details.errorCause": "Error cause",
"nodeErrorView.details.causeDetailed": "Cause detailed",
"nodeErrorView.details.stackTrace": "Stack trace",
Expand Down Expand Up @@ -1309,7 +1310,7 @@
"personalizationModal.operations": "Operations",
"personalizationModal.other": "Other",
"personalizationModal.otherPleaseSpecify": "Other (please specify)",
"personalizationModal.specifyReportedSource": "Specify how you heard about n8n",
"personalizationModal.specifyReportedSource": "Specify how you heard about @:_brand.name",
"personalizationModal.people": "people",
"personalizationModal.physicalRetailOrServices": "Physical retail or services",
"personalizationModal.product": "Product (e.g. fast prototyping)",
Expand All @@ -1318,7 +1319,7 @@
"personalizationModal.salesAndMarketing": "Sales and Marketing",
"personalizationModal.security": "Security",
"personalizationModal.select": "Select...",
"personalizationModal.howDidYouHearAboutN8n": "How did you hear about n8n?",
"personalizationModal.howDidYouHearAboutN8n": "How did you hear about @:_brand.name?",
"personalizationModal.friendWordOfMouth": "Friend / Word of mouth",
"personalizationModal.podcast": "Podcast",
"personalizationModal.event": "Event",
Expand Down Expand Up @@ -1928,7 +1929,7 @@
"ndv.search.items": "{matched} of {total} item | {matched} of {total} items",
"updatesPanel.andIs": "and is",
"updatesPanel.behindTheLatest": "behind the latest and greatest n8n",
"updatesPanel.howToUpdateYourN8nVersion": "How to update your n8n version",
"updatesPanel.howToUpdateYourN8nVersion": "How to update your @:_brand.name version",
"updatesPanel.version": "{numberOfVersions} version{howManySuffix}",
"updatesPanel.weVeBeenBusy": "We’ve been busy ✨",
"updatesPanel.youReOnVersion": "You’re on {currentVersionName}, which was released",
Expand Down

0 comments on commit b9bea68

Please sign in to comment.