mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 13:27:31 -08:00
421dd72224
* introduce analytics * add user survey backend * add user survey backend * set answers on survey submit Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> * change name to personalization * lint Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> * N8n 2495 add personalization modal (#2280) * update modals * add onboarding modal * implement questions * introduce analytics * simplify impl * implement survey handling * add personalized cateogry * update modal behavior * add thank you view * handle empty cases * rename modal * standarize modal names * update image, add tags to headings * remove unused file * remove unused interfaces * clean up footer spacing * introduce analytics * refactor to fix bug * update endpoint * set min height * update stories * update naming from questions to survey * remove spacing after core categories * fix bug in logic * sort nodes * rename types * merge with be * rename userSurvey * clean up rest api * use constants for keys * use survey keys * clean up types * move personalization to its own file Co-authored-by: ahsan-virani <ahsan.virani@gmail.com> * Survey new options (#2300) * split up options * fix quotes * remove unused import * add user created workflow event (#2301) * simplify env vars * fix versionCli on FE * update personalization env * fix event User opened Credentials panel * fix select modal spacing * fix nodes panel event * fix workflow id in workflow execute event * improve telemetry error logging * fix config and stop process events * add flush call on n8n stop * ready for release * improve telemetry process exit * fix merge * improve n8n stop events Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Co-authored-by: Mutasem <mutdmour@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
309 lines
7 KiB
SCSS
309 lines
7 KiB
SCSS
@mixin theme {
|
|
--color-primary-h: 6.9;
|
|
--color-primary-s: 100%;
|
|
--color-primary-l: 67.6%;
|
|
--color-primary: hsl(
|
|
var(--color-primary-h),
|
|
var(--color-primary-s),
|
|
var(--color-primary-l)
|
|
);
|
|
|
|
--color-primary-tint-1-l: 88%;
|
|
--color-primary-tint-1: hsl(
|
|
var(--color-primary-h),
|
|
var(--color-primary-s),
|
|
var(--color-primary-tint-1-l)
|
|
);
|
|
|
|
--color-primary-tint-2-l: 94.5%;
|
|
--color-primary-tint-2: hsl(
|
|
var(--color-primary-h),
|
|
var(--color-primary-s),
|
|
var(--color-primary-tint-2-l)
|
|
);
|
|
|
|
--color-primary-tint-3-l: 96.9%;
|
|
--color-primary-tint-3: hsl(
|
|
var(--color-primary-h),
|
|
var(--color-primary-s),
|
|
var(--color-primary-tint-3-l)
|
|
);
|
|
|
|
--color-primary-shade-1-l: 57.6%;
|
|
--color-primary-shade-1: hsl(
|
|
var(--color-primary-h),
|
|
var(--color-primary-s),
|
|
var(--color-primary-shade-1-l)
|
|
);
|
|
|
|
--color-primary-shade-2-l: 23%;
|
|
--color-primary-shade-2: hsl(
|
|
var(--color-primary-h),
|
|
var(--color-primary-s),
|
|
var(--color-primary-shade-2-l)
|
|
);
|
|
|
|
--color-secondary-h: 247;
|
|
--color-secondary-s: 49%;
|
|
--color-secondary-l: 53%;
|
|
--color-secondary: hsl(
|
|
var(--color-secondary-h),
|
|
var(--color-secondary-s),
|
|
var(--color-secondary-l)
|
|
);
|
|
|
|
--color-success-h: 150.4;
|
|
--color-success-s: 60%;
|
|
--color-success-l: 40.4%;
|
|
--color-success: hsl(
|
|
var(--color-success-h),
|
|
var(--color-success-s),
|
|
var(--color-success-l)
|
|
);
|
|
|
|
--color-success-tint-1-l: 90%;
|
|
--color-success-tint-1: hsl(
|
|
var(--color-success-h),
|
|
var(--color-success-s),
|
|
var(--color-success-tint-1-l)
|
|
);
|
|
|
|
--color-success-tint-2-l: 94.9%;
|
|
--color-success-tint-2: hsl(
|
|
var(--color-success-h),
|
|
var(--color-success-s),
|
|
var(--color-success-tint-2-l)
|
|
);
|
|
|
|
--color-warning-h: 36;
|
|
--color-warning-s: 77%;
|
|
--color-warning-l: 57%;
|
|
--color-warning: hsl(
|
|
var(--color-warning-h),
|
|
var(--color-warning-s),
|
|
var(--color-warning-l)
|
|
);
|
|
|
|
--color-warning-tint-1-l: 88%;
|
|
--color-warning-tint-1: hsl(
|
|
var(--color-warning-h),
|
|
var(--color-warning-s),
|
|
var(--color-warning-tint-1-l)
|
|
);
|
|
|
|
--color-warning-tint-2-l: 96%;
|
|
--color-warning-tint-2: hsl(
|
|
var(--color-warning-h),
|
|
var(--color-warning-s),
|
|
var(--color-warning-tint-2-l)
|
|
);
|
|
|
|
--color-danger-h: 0;
|
|
--color-danger-s: 87.6%;
|
|
--color-danger-l: 65.3%;
|
|
--color-danger: hsl(
|
|
var(--color-danger-h),
|
|
var(--color-danger-s),
|
|
var(--color-danger-l)
|
|
);
|
|
|
|
--color-danger-tint-1-l: 93.9%;
|
|
--color-danger-tint-1: hsl(
|
|
var(--color-danger-h),
|
|
var(--color-danger-s),
|
|
var(--color-danger-tint-1-l)
|
|
);
|
|
--color-danger-tint-2-l: 96.9%;
|
|
--color-danger-tint-2: hsl(
|
|
var(--color-danger-h),
|
|
var(--color-danger-s),
|
|
var(--color-danger-tint-2-l)
|
|
);
|
|
|
|
--color-info-h: 220;
|
|
--color-info-s: 4%;
|
|
--color-info-l: 58%;
|
|
--color-info: hsl(
|
|
var(--color-info-h),
|
|
var(--color-info-s),
|
|
var(--color-info-l)
|
|
);
|
|
|
|
--color-info-tint-1-l: 88%;
|
|
--color-info-tint-1: hsl(
|
|
var(--color-info-h),
|
|
var(--color-info-s),
|
|
var(--color-info-tint-1-l)
|
|
);
|
|
--color-info-tint-2-l: 96%;
|
|
--color-info-tint-2: hsl(
|
|
var(--color-info-h),
|
|
var(--color-info-s),
|
|
var(--color-info-tint-2-l)
|
|
);
|
|
|
|
--color-text-dark-h: 0;
|
|
--color-text-dark-s: 0%;
|
|
--color-text-dark-l: 33.3%;
|
|
--color-text-dark: hsl(
|
|
var(--color-text-dark-h),
|
|
var(--color-text-dark-s),
|
|
var(--color-text-dark-l)
|
|
);
|
|
|
|
--color-text-base-h: 240;
|
|
--color-text-base-s: 4%;
|
|
--color-text-base-l: 51%;
|
|
--color-text-base: hsl(
|
|
var(--color-text-base-h),
|
|
var(--color-text-base-s),
|
|
var(--color-text-base-l)
|
|
);
|
|
|
|
--color-text-light-h: 220;
|
|
--color-text-light-s: 4.2%;
|
|
--color-text-light-l: 58.2%;
|
|
--color-text-light: hsl(
|
|
var(--color-text-light-h),
|
|
var(--color-text-light-s),
|
|
var(--color-text-light-l)
|
|
);
|
|
|
|
--color-text-lighter-h: 222;
|
|
--color-text-lighter-s: 16.7%;
|
|
--color-text-lighter-l: 88.2%;
|
|
--color-text-lighter: hsl(
|
|
var(--color-text-lighter-h),
|
|
var(--color-text-lighter-s),
|
|
var(--color-text-lighter-l)
|
|
);
|
|
|
|
--color-text-xlight-h: 0;
|
|
--color-text-xlight-s: 0%;
|
|
--color-text-xlight-l: 100%;
|
|
--color-text-xlight: hsl(
|
|
var(--color-text-xlight-h),
|
|
var(--color-text-xlight-s),
|
|
var(--color-text-xlight-l)
|
|
);
|
|
|
|
--color-foreground-base-h: 220;
|
|
--color-foreground-base-s: 20%;
|
|
--color-foreground-base-l: 88.2%;
|
|
--color-foreground-base: hsl(
|
|
var(--color-foreground-base-h),
|
|
var(--color-foreground-base-s),
|
|
var(--color-foreground-base-l)
|
|
);
|
|
|
|
--color-foreground-light-h: 0;
|
|
--color-foreground-light-s: 0%;
|
|
--color-foreground-light-l: 93.3%;
|
|
--color-foreground-light: hsl(
|
|
var(--color-foreground-light-h),
|
|
var(--color-foreground-light-s),
|
|
var(--color-foreground-light-l)
|
|
);
|
|
|
|
--color-foreground-xlight-h: 0;
|
|
--color-foreground-xlight-s: 0%;
|
|
--color-foreground-xlight-l: 100%;
|
|
--color-foreground-xlight: hsl(
|
|
var(--color-foreground-xlight-h),
|
|
var(--color-foreground-xlight-s),
|
|
var(--color-foreground-xlight-l)
|
|
);
|
|
|
|
--color-background-dark-h: 240;
|
|
--color-background-dark-s: 4.2%;
|
|
--color-background-dark-l: 18.8%;
|
|
--color-background-dark: hsl(
|
|
var(--color-background-dark-h),
|
|
var(--color-background-dark-s),
|
|
var(--color-background-dark-l)
|
|
);
|
|
|
|
--color-background-base-h: 220;
|
|
--color-background-base-s: 30%;
|
|
--color-background-base-l: 96.1%;
|
|
--color-background-base: hsl(
|
|
var(--color-background-base-h),
|
|
var(--color-background-base-s),
|
|
var(--color-background-base-l)
|
|
);
|
|
|
|
--color-background-light-h: 220;
|
|
--color-background-light-s: 27.3%;
|
|
--color-background-light-l: 97.8%;
|
|
--color-background-light: hsl(
|
|
var(--color-background-light-h),
|
|
var(--color-background-light-s),
|
|
var(--color-background-light-l)
|
|
);
|
|
|
|
--color-background-lighter-h: 252;
|
|
--color-background-lighter-s: 71.4%;
|
|
--color-background-lighter-l: 98.6%;
|
|
--color-background-lighter: hsl(
|
|
var(--color-background-lighter-h),
|
|
var(--color-background-lighter-s),
|
|
var(--color-background-lighter-l)
|
|
);
|
|
|
|
--color-background-xlight-h: 0;
|
|
--color-background-xlight-s: 0%;
|
|
--color-background-xlight-l: 100%;
|
|
--color-background-xlight: hsl(
|
|
var(--color-background-xlight-h),
|
|
var(--color-background-xlight-s),
|
|
var(--color-background-xlight-l)
|
|
);
|
|
|
|
--border-radius-large: 8px;
|
|
--border-radius-base: 4px;
|
|
--border-radius-small: 2px;
|
|
--border-color-base: var(--color-foreground-base);
|
|
--border-color-light: var(--color-foreground-light);
|
|
|
|
--border-style-base: solid;
|
|
--border-width-base: 1px;
|
|
--border-base: var(--border-width-base) var(--border-style-base)
|
|
var(--color-foreground-base);
|
|
|
|
--font-size-2xs: 0.75rem;
|
|
--font-size-xs: 0.8125rem;
|
|
--font-size-s: 0.875rem;
|
|
--font-size-m: 1rem;
|
|
--font-size-l: 1.125rem;
|
|
--font-size-xl: 1.25rem;
|
|
--font-size-2xl: 1.75rem;
|
|
|
|
--font-line-height-compact: 1.25;
|
|
--font-line-height-regular: 1.3;
|
|
--font-line-height-loose: 1.35;
|
|
--font-line-height-xloose: 1.5;
|
|
|
|
--font-weight-regular: 400;
|
|
--font-weight-semi-bold: 500;
|
|
--font-weight-bold: 600;
|
|
--font-family: 'Open Sans', sans-serif;
|
|
|
|
--spacing-5xs: 0.125rem;
|
|
--spacing-4xs: 0.25rem;
|
|
--spacing-3xs: 0.375rem;
|
|
--spacing-2xs: 0.5rem;
|
|
--spacing-xs: 0.75rem;
|
|
--spacing-s: 1rem;
|
|
--spacing-m: 1.25rem;
|
|
--spacing-l: 1.5rem;
|
|
--spacing-xl: 2rem;
|
|
--spacing-2xl: 3rem;
|
|
--spacing-3xl: 4rem;
|
|
--spacing-4xl: 8rem;
|
|
--spacing-5xl: 16rem;
|
|
}
|
|
|
|
:root {
|
|
@include theme;
|
|
}
|