diff --git a/cypress/e2e/early-access-management.cy.ts b/cypress/e2e/early-access-management.cy.ts index 9a594d8d1c34c..8736a39ab945a 100644 --- a/cypress/e2e/early-access-management.cy.ts +++ b/cypress/e2e/early-access-management.cy.ts @@ -6,7 +6,7 @@ describe('Early Access Management', () => { it('Early access feature new and list', () => { // load an empty early access feature page cy.get('h1').should('contain', 'Early Access Management') - cy.title().should('equal', 'Early Access Management • PostHog') + cy.title().should('equal', 'Early access features • PostHog') cy.get('h2').should('contain', 'Create your first feature') cy.get('[data-attr="product-introduction-docs-link"]').should( 'contain', diff --git a/cypress/e2e/insights.cy.ts b/cypress/e2e/insights.cy.ts index 0e449825b2194..5157d21429ba9 100644 --- a/cypress/e2e/insights.cy.ts +++ b/cypress/e2e/insights.cy.ts @@ -24,7 +24,7 @@ describe('Insights', () => { cy.get('[data-attr=breadcrumb-0]').should('contain', 'Hogflix') cy.get('[data-attr=breadcrumb-1]').should('contain', 'Hogflix Demo App') - cy.get('[data-attr=breadcrumb-2]').should('have.text', 'Insights') + cy.get('[data-attr=breadcrumb-2]').should('have.text', 'Product analytics') cy.get('[data-attr=breadcrumb-3]').should('have.text', 'insight name') }) diff --git a/frontend/__snapshots__/components-product-empty-state--empty-with-action.png b/frontend/__snapshots__/components-product-empty-state--empty-with-action.png index dd10594e21d1c..4c6bc2766b5e4 100644 Binary files a/frontend/__snapshots__/components-product-empty-state--empty-with-action.png and b/frontend/__snapshots__/components-product-empty-state--empty-with-action.png differ diff --git a/frontend/__snapshots__/components-product-empty-state--not-empty-with-action.png b/frontend/__snapshots__/components-product-empty-state--not-empty-with-action.png index d9ed865218733..a93edc4abb8e1 100644 Binary files a/frontend/__snapshots__/components-product-empty-state--not-empty-with-action.png and b/frontend/__snapshots__/components-product-empty-state--not-empty-with-action.png differ diff --git a/frontend/__snapshots__/components-product-empty-state--product-introduction.png b/frontend/__snapshots__/components-product-empty-state--product-introduction.png index dd10594e21d1c..4c6bc2766b5e4 100644 Binary files a/frontend/__snapshots__/components-product-empty-state--product-introduction.png and b/frontend/__snapshots__/components-product-empty-state--product-introduction.png differ diff --git a/frontend/__snapshots__/lemon-ui-colors--all-three-thousand-color-options.png b/frontend/__snapshots__/lemon-ui-colors--all-three-thousand-color-options.png index 2038fbe5c8bb2..02abe5eaa23a3 100644 Binary files a/frontend/__snapshots__/lemon-ui-colors--all-three-thousand-color-options.png and b/frontend/__snapshots__/lemon-ui-colors--all-three-thousand-color-options.png differ diff --git a/frontend/__snapshots__/lemon-ui-lemon-table--empty-loading.png b/frontend/__snapshots__/lemon-ui-lemon-table--empty-loading.png index b6109c6884322..90ae77d5ca04a 100644 Binary files a/frontend/__snapshots__/lemon-ui-lemon-table--empty-loading.png and b/frontend/__snapshots__/lemon-ui-lemon-table--empty-loading.png differ diff --git a/frontend/__snapshots__/lemon-ui-lemon-table--loading.png b/frontend/__snapshots__/lemon-ui-lemon-table--loading.png index e5852c23bda01..f3f2287fcdb4c 100644 Binary files a/frontend/__snapshots__/lemon-ui-lemon-table--loading.png and b/frontend/__snapshots__/lemon-ui-lemon-table--loading.png differ diff --git a/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png b/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png index 9329598d4f0f9..314ba79e762b7 100644 Binary files a/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png and b/frontend/__snapshots__/posthog-3000-navigation--navigation-3000.png differ diff --git a/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png b/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png index a63ee9697bb12..c6353784ceaf1 100644 Binary files a/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png and b/frontend/__snapshots__/posthog-3000-navigation--navigation-base.png differ diff --git a/frontend/__snapshots__/scenes-app-events--event-explorer.png b/frontend/__snapshots__/scenes-app-events--event-explorer.png index 4ed82b3bdbbdd..7d3287e05481b 100644 Binary files a/frontend/__snapshots__/scenes-app-events--event-explorer.png and b/frontend/__snapshots__/scenes-app-events--event-explorer.png differ diff --git a/frontend/__snapshots__/scenes-app-experiments--experiments-list-pay-gate.png b/frontend/__snapshots__/scenes-app-experiments--experiments-list-pay-gate.png index fd9d704276d4c..683e286506729 100644 Binary files a/frontend/__snapshots__/scenes-app-experiments--experiments-list-pay-gate.png and b/frontend/__snapshots__/scenes-app-experiments--experiments-list-pay-gate.png differ diff --git a/frontend/__snapshots__/scenes-app-experiments--experiments-list.png b/frontend/__snapshots__/scenes-app-experiments--experiments-list.png index f6760a46e6b69..4072657487cb8 100644 Binary files a/frontend/__snapshots__/scenes-app-experiments--experiments-list.png and b/frontend/__snapshots__/scenes-app-experiments--experiments-list.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends--webkit.png b/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends--webkit.png index ff8d20c392180..6dc2469d4e86c 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends--webkit.png and b/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends--webkit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends-edit.png b/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends-edit.png index d3727abe59c66..47a57985324e7 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends-edit.png and b/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends-edit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends.png b/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends.png index 7f8fbe65c33f4..b202134733cb9 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends.png and b/frontend/__snapshots__/scenes-app-insights--funnel-historical-trends.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert--webkit.png b/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert--webkit.png index 2cd74f758f4f0..47e5a05de12f7 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert--webkit.png and b/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert--webkit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert.png b/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert.png index 0c68ed20b354c..8dc58b1661850 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert.png and b/frontend/__snapshots__/scenes-app-insights--funnel-time-to-convert.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--lifecycle--webkit.png b/frontend/__snapshots__/scenes-app-insights--lifecycle--webkit.png index 91f6f6e560edd..4e19a3ac196a8 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--lifecycle--webkit.png and b/frontend/__snapshots__/scenes-app-insights--lifecycle--webkit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--lifecycle.png b/frontend/__snapshots__/scenes-app-insights--lifecycle.png index 89b738cf06472..ee6a38e4c8867 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--lifecycle.png and b/frontend/__snapshots__/scenes-app-insights--lifecycle.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--stickiness--webkit.png b/frontend/__snapshots__/scenes-app-insights--stickiness--webkit.png index b1f44c1341ec3..a4f25708ea77f 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--stickiness--webkit.png and b/frontend/__snapshots__/scenes-app-insights--stickiness--webkit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--stickiness.png b/frontend/__snapshots__/scenes-app-insights--stickiness.png index e3a0289b2bde0..ca0a0e4584603 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--stickiness.png and b/frontend/__snapshots__/scenes-app-insights--stickiness.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-table--webkit.png b/frontend/__snapshots__/scenes-app-insights--trends-table--webkit.png index 106f7b70d1f54..c8152a34b9fcf 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-table--webkit.png and b/frontend/__snapshots__/scenes-app-insights--trends-table--webkit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown--webkit.png b/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown--webkit.png index ff41c7540bfcf..ea3258d112d2b 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown--webkit.png and b/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown--webkit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown.png b/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown.png index 18487bb88d559..07315c3e93ea9 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown.png and b/frontend/__snapshots__/scenes-app-insights--trends-table-breakdown.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-table-edit.png b/frontend/__snapshots__/scenes-app-insights--trends-table-edit.png index 4a6fe4f1a4daf..cdb83ab257bbe 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-table-edit.png and b/frontend/__snapshots__/scenes-app-insights--trends-table-edit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-table.png b/frontend/__snapshots__/scenes-app-insights--trends-table.png index bab2405d9ac61..f4b1b0a1926f1 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-table.png and b/frontend/__snapshots__/scenes-app-insights--trends-table.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown--webkit.png b/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown--webkit.png index 979febee96067..78562d90d9f46 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown--webkit.png and b/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown--webkit.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown.png b/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown.png index 7f099baaf9eab..8631d1ac95b97 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown.png and b/frontend/__snapshots__/scenes-app-insights--trends-value-breakdown.png differ diff --git a/frontend/__snapshots__/scenes-app-insights--trends-value.png b/frontend/__snapshots__/scenes-app-insights--trends-value.png index 94177c7f28870..b50972b250868 100644 Binary files a/frontend/__snapshots__/scenes-app-insights--trends-value.png and b/frontend/__snapshots__/scenes-app-insights--trends-value.png differ diff --git a/frontend/__snapshots__/scenes-app-notebooks--recordings-playlist.png b/frontend/__snapshots__/scenes-app-notebooks--recordings-playlist.png index e18ecc8d6a5a5..ae5e9601bdbb4 100644 Binary files a/frontend/__snapshots__/scenes-app-notebooks--recordings-playlist.png and b/frontend/__snapshots__/scenes-app-notebooks--recordings-playlist.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration.png index 94b53793cc3fe..4268b9820e627 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics.png index 16186b1e522ff..6e4f613841bdf 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-filtering-page.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-filtering-page.png index 2922f7f7736ff..a000f5709360c 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-filtering-page.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-filtering-page.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page.png index 72113b0438d81..d5df660c362ee 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page-empty.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page-empty.png index b9810d5bf2186..5655e24e12a0c 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page-empty.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page-empty.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page.png index 11799f73e5bb9..06bdfb7c4f880 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-transformations-page.png differ diff --git a/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png b/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png index 55081c3b37420..5850c12954b74 100644 Binary files a/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png and b/frontend/__snapshots__/scenes-app-project-homepage--project-homepage.png differ diff --git a/frontend/__snapshots__/scenes-app-recordings--recordings-play-lists.png b/frontend/__snapshots__/scenes-app-recordings--recordings-play-lists.png index c4c27f4db817a..7bb41e1837cc3 100644 Binary files a/frontend/__snapshots__/scenes-app-recordings--recordings-play-lists.png and b/frontend/__snapshots__/scenes-app-recordings--recordings-play-lists.png differ diff --git a/frontend/__snapshots__/scenes-app-saved-insights--empty-state.png b/frontend/__snapshots__/scenes-app-saved-insights--empty-state.png index 7757d243d548c..7952158fdb025 100644 Binary files a/frontend/__snapshots__/scenes-app-saved-insights--empty-state.png and b/frontend/__snapshots__/scenes-app-saved-insights--empty-state.png differ diff --git a/frontend/__snapshots__/scenes-app-saved-insights--list-view.png b/frontend/__snapshots__/scenes-app-saved-insights--list-view.png index 520f2c041c0a8..ae911ef6d0319 100644 Binary files a/frontend/__snapshots__/scenes-app-saved-insights--list-view.png and b/frontend/__snapshots__/scenes-app-saved-insights--list-view.png differ diff --git a/frontend/__snapshots__/scenes-app-surveys--survey-templates.png b/frontend/__snapshots__/scenes-app-surveys--survey-templates.png index 845b572228b88..d888557c99407 100644 Binary files a/frontend/__snapshots__/scenes-app-surveys--survey-templates.png and b/frontend/__snapshots__/scenes-app-surveys--survey-templates.png differ diff --git a/frontend/src/layout/navigation-3000/components/Breadcrumbs.scss b/frontend/src/layout/navigation-3000/components/Breadcrumbs.scss index 75b3dae2df67d..b99bef81f312b 100644 --- a/frontend/src/layout/navigation-3000/components/Breadcrumbs.scss +++ b/frontend/src/layout/navigation-3000/components/Breadcrumbs.scss @@ -26,7 +26,6 @@ font-size: calc(0.75rem + 0.0625rem * var(--breadcrumbs-compaction-rate)); line-height: 1rem; font-weight: 600; - user-select: none; pointer-events: auto; } diff --git a/frontend/src/layout/navigation/Breadcrumbs/Breadcrumbs.scss b/frontend/src/layout/navigation/Breadcrumbs/Breadcrumbs.scss index 625535c49575e..6141582fea852 100644 --- a/frontend/src/layout/navigation/Breadcrumbs/Breadcrumbs.scss +++ b/frontend/src/layout/navigation/Breadcrumbs/Breadcrumbs.scss @@ -22,7 +22,7 @@ &--actionable { cursor: pointer; - color: var(--primary); + color: var(--primary-3000); } } diff --git a/frontend/src/layout/navigation/Breadcrumbs/breadcrumbsLogic.test.ts b/frontend/src/layout/navigation/Breadcrumbs/breadcrumbsLogic.test.ts index dd49842bc5fa7..ce74771427690 100644 --- a/frontend/src/layout/navigation/Breadcrumbs/breadcrumbsLogic.test.ts +++ b/frontend/src/layout/navigation/Breadcrumbs/breadcrumbsLogic.test.ts @@ -25,8 +25,8 @@ describe('breadcrumbsLogic', () => { // test with .delay because subscriptions happen async router.actions.push(urls.savedInsights()) - await expectLogic(logic).delay(1).toMatchValues({ documentTitle: 'Insights • PostHog' }) - expect(global.document.title).toEqual('Insights • PostHog') + await expectLogic(logic).delay(1).toMatchValues({ documentTitle: 'Product analytics • PostHog' }) + expect(global.document.title).toEqual('Product analytics • PostHog') router.actions.push(urls.dashboards()) await expectLogic(logic).delay(1).toMatchValues({ documentTitle: 'Dashboards • PostHog' }) diff --git a/frontend/src/layout/navigation/SideBar/SideBar.tsx b/frontend/src/layout/navigation/SideBar/SideBar.tsx index b946d96f6de83..b5f8c1e3f8ef3 100644 --- a/frontend/src/layout/navigation/SideBar/SideBar.tsx +++ b/frontend/src/layout/navigation/SideBar/SideBar.tsx @@ -201,7 +201,7 @@ function Pages(): JSX.Element { } identifier={Scene.EarlyAccessFeatures} - title={'Early Access Management'} + title={'Early access features'} to={urls.earlyAccessFeatures()} />
Data
@@ -210,7 +210,7 @@ function Pages(): JSX.Element { icon={} identifier={Scene.Events} to={urls.events()} - title={'Event Explorer'} + title={'Event explorer'} /> } @@ -230,7 +230,7 @@ function Pages(): JSX.Element { } identifier={Scene.DataWarehouse} - title={'Data Warehouse'} + title={'Data warehouse'} to={urls.dataWarehouse()} highlight="beta" /> @@ -240,7 +240,7 @@ function Pages(): JSX.Element {
Apps
{canViewPlugins(currentOrganization) && ( } identifier={Scene.Apps} to={urls.projectApps()} diff --git a/frontend/src/layout/navigation/TopBar/TopBar.scss b/frontend/src/layout/navigation/TopBar/TopBar.scss index 8e1732a7d2d34..79815df7875f5 100644 --- a/frontend/src/layout/navigation/TopBar/TopBar.scss +++ b/frontend/src/layout/navigation/TopBar/TopBar.scss @@ -130,7 +130,7 @@ } .SitePopover__side-link { - color: var(--primary); + color: var(--primary-3000); margin-left: 0.5rem; font-weight: 600; font-size: 0.8125rem; diff --git a/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss b/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss index 2dbb9042ea037..b0f5f5a471e2c 100644 --- a/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss +++ b/frontend/src/lib/components/Cards/InsightCard/InsightCard.scss @@ -12,8 +12,8 @@ flex-direction: column; &--highlighted { - border-color: var(--primary); - outline: 1px solid var(--primary); + border-color: var(--primary-3000); + outline: 1px solid var(--primary-3000); } .ant-alert { @@ -160,7 +160,7 @@ width: 1rem; border-radius: 0.25rem; margin-right: 0.25rem; - background: var(--primary); + background: var(--primary-3000); color: var(--bg-light); line-height: 1rem; font-size: 0.625rem; diff --git a/frontend/src/lib/components/Cards/InsightCard/InsightMeta.tsx b/frontend/src/lib/components/Cards/InsightCard/InsightMeta.tsx index 129a365f6d84c..2b85413419f02 100644 --- a/frontend/src/lib/components/Cards/InsightCard/InsightMeta.tsx +++ b/frontend/src/lib/components/Cards/InsightCard/InsightMeta.tsx @@ -107,7 +107,7 @@ export function InsightMeta({ samplingNotice={ insight.filters.sampling_factor && insight.filters.sampling_factor < 1 ? ( - + ) : null } diff --git a/frontend/src/lib/components/CommandPalette/CommandPalette.scss b/frontend/src/lib/components/CommandPalette/CommandPalette.scss index 0972ea918e81e..e2622169149a0 100644 --- a/frontend/src/lib/components/CommandPalette/CommandPalette.scss +++ b/frontend/src/lib/components/CommandPalette/CommandPalette.scss @@ -109,7 +109,7 @@ cursor: pointer; &::after { - background: var(--primary); + background: var(--primary-3000); } } diff --git a/frontend/src/lib/components/DebugNotice.tsx b/frontend/src/lib/components/DebugNotice.tsx index 11d70ba34054d..4ceb631d56d77 100644 --- a/frontend/src/lib/components/DebugNotice.tsx +++ b/frontend/src/lib/components/DebugNotice.tsx @@ -29,7 +29,7 @@ export function DebugNotice(): JSX.Element | null { return (
setNoticeHidden(true)}> -
+
DEBUG mode } + icon={} onClick={() => { updateHasSeenProductIntroFor(productKey, true) action && action() diff --git a/frontend/src/lib/components/PropertiesTable/PropertiesTable.scss b/frontend/src/lib/components/PropertiesTable/PropertiesTable.scss index 2ec1fd268b87f..f530132d670a6 100644 --- a/frontend/src/lib/components/PropertiesTable/PropertiesTable.scss +++ b/frontend/src/lib/components/PropertiesTable/PropertiesTable.scss @@ -5,21 +5,31 @@ } .property-value-type { - display: flex; align-items: center; - width: fit-content; - height: 1.25rem; - padding: 0.125rem 0.25rem; - letter-spacing: 0.25px; + background: var(--mid); border-radius: var(--radius); border: 1px solid var(--border-light); - background: var(--mid); color: var(--muted-alt); + cursor: default; + display: flex; font-size: 0.625rem; font-weight: 500; + height: 1.25rem; + letter-spacing: 0.25px; + padding: 0.125rem 0.25rem; text-transform: uppercase; white-space: nowrap; - cursor: default; + width: fit-content; + + .posthog-3000 & { + background: none; + border-radius: calc(var(--radius) * 0.75); + border-style: solid; + border-width: 1px; + font-family: var(--font-mono); + font-size: 0.688rem; + padding: 0.075rem 0.25rem; + } &:not(:first-child) { margin-left: 0.25rem; @@ -27,10 +37,10 @@ } .properties-table-value { - min-width: 12rem; - max-width: fit-content; - display: flex; align-items: center; + display: flex; + max-width: fit-content; + min-width: 12rem; .value-link { > * { @@ -45,7 +55,20 @@ .editable { text-decoration: underline dotted; - text-decoration-color: var(--primary); + text-decoration-color: var(--primary-3000); cursor: pointer; + + .posthog-3000 & { + border: 1px solid transparent; + border-radius: calc(var(--radius) * 0.75); + margin-left: -0.25rem; + padding: 0.125rem 0.25rem; + text-decoration: none; + + &:hover { + background: var(--bg-light); + border: 1px solid var(--border-light); + } + } } } diff --git a/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx b/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx index 1344eed38581f..f96fb045c022f 100644 --- a/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx +++ b/frontend/src/lib/components/PropertiesTable/PropertiesTable.tsx @@ -15,6 +15,7 @@ import { NewProperty } from 'scenes/persons/NewProperty' import { LemonCheckbox, LemonInput, Link } from '@posthog/lemon-ui' import clsx from 'clsx' import { PropertyDefinitionType } from '~/types' +import { IconPencil } from '@posthog/icons' type HandledType = 'string' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' type Type = HandledType | 'symbol' | 'object' | 'function' @@ -85,18 +86,19 @@ function ValueDisplay({ const valueComponent = ( canEdit && textBasedTypes.includes(valueType) && setEditing(true)} > {!isURL(value) ? ( - valueString + {valueString} ) : ( {valueString} )} + {canEdit && } ) diff --git a/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.scss b/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.scss index b30e128738345..fa5bdc421a424 100644 --- a/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.scss +++ b/frontend/src/lib/components/PropertyGroupFilters/PropertyGroupFilters.scss @@ -63,7 +63,7 @@ font-size: 12px; &.selected { - background-color: var(--primary); + background-color: var(--primary-3000); color: #fff; } } diff --git a/frontend/src/lib/components/TaxonomicFilter/InfiniteList.scss b/frontend/src/lib/components/TaxonomicFilter/InfiniteList.scss index 4861992b41aff..97c2e739162ac 100644 --- a/frontend/src/lib/components/TaxonomicFilter/InfiniteList.scss +++ b/frontend/src/lib/components/TaxonomicFilter/InfiniteList.scss @@ -48,7 +48,7 @@ } &.taxonomy-icon-built-in { - color: var(--primary); + color: var(--primary-3000); } } } @@ -86,7 +86,7 @@ } &.expand-row { - color: var(--primary); + color: var(--primary-3000); } } } diff --git a/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.scss b/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.scss index d4716286d5906..108cbcb552950 100644 --- a/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.scss +++ b/frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.scss @@ -46,6 +46,19 @@ background: var(--side); border-color: var(--side); + .posthog-3000 & { + color: var(--default); + font-weight: 500; + + &:not(.taxonomic-pill-active) { + opacity: 0.7; + } + + &:hover { + opacity: 1; + } + } + &.taxonomic-count-zero { color: var(--muted); cursor: not-allowed; diff --git a/frontend/src/lib/components/TimelineSeekbar/TimelineSeekbar.scss b/frontend/src/lib/components/TimelineSeekbar/TimelineSeekbar.scss index d0ac9a6fe4220..80a1630463217 100644 --- a/frontend/src/lib/components/TimelineSeekbar/TimelineSeekbar.scss +++ b/frontend/src/lib/components/TimelineSeekbar/TimelineSeekbar.scss @@ -23,14 +23,14 @@ width: fit-content; padding: 0 0.25rem; border-radius: var(--radius); - background: var(--primary); + background: var(--primary-3000); color: var(--bg-light); line-height: 1.25rem; font-size: 0.75rem; font-weight: 500; &::selection { - background: var(--primary-light); // Default selection background is invisible on primary + background: var(--primary-3000-hover); // Default selection background is invisible on primary } .Spinner { @@ -77,7 +77,7 @@ left: 0; height: var(--timeline-seekbar-thickness); width: calc(100% - var(--timeline-seekbar-arrow-width)); - background: var(--primary); + background: var(--primary-3000); } .TimelineSeekbar__line-start, @@ -91,7 +91,7 @@ display: block; margin: calc(var(--timeline-seekbar-thickness) + 0.125rem) 0; height: var(--timeline-seekbar-arrow-height); - background: var(--primary); + background: var(--primary-3000); } } diff --git a/frontend/src/lib/lemon-ui/LemonActionableTooltip/LemonActionableTooltip.scss b/frontend/src/lib/lemon-ui/LemonActionableTooltip/LemonActionableTooltip.scss index 7a5d1c1db4b74..b01a0c24d3f18 100644 --- a/frontend/src/lib/lemon-ui/LemonActionableTooltip/LemonActionableTooltip.scss +++ b/frontend/src/lib/lemon-ui/LemonActionableTooltip/LemonActionableTooltip.scss @@ -22,7 +22,7 @@ } .LemonActionableTooltip__icon { - color: var(--primary); + color: var(--primary-3000); display: flex; align-items: center; width: 1.5rem; diff --git a/frontend/src/lib/lemon-ui/LemonBadge/LemonBadge.scss b/frontend/src/lib/lemon-ui/LemonBadge/LemonBadge.scss index 186df996abe84..adc91cce935f8 100644 --- a/frontend/src/lib/lemon-ui/LemonBadge/LemonBadge.scss +++ b/frontend/src/lib/lemon-ui/LemonBadge/LemonBadge.scss @@ -1,5 +1,5 @@ .LemonBadge { - --lemon-badge-color: var(--primary); + --lemon-badge-color: var(--primary-3000); --lemon-badge-size: 1.5rem; --lemon-badge-font-size: 0.75rem; --lemon-badge-position-offset: 0.5rem; diff --git a/frontend/src/lib/lemon-ui/LemonButton/LemonButton3000.scss b/frontend/src/lib/lemon-ui/LemonButton/LemonButton3000.scss index d7a53bb238fbb..e0067bc5406af 100644 --- a/frontend/src/lib/lemon-ui/LemonButton/LemonButton3000.scss +++ b/frontend/src/lib/lemon-ui/LemonButton/LemonButton3000.scss @@ -1,6 +1,5 @@ .posthog-3000 { - --transition: background-color 200ms ease, color 200ms ease, border 200ms ease, opacity 200ms ease, - transform 200ms ease; + --transition: opacity 200ms ease, transform 200ms ease; .LemonButton { border-width: 0; diff --git a/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.scss b/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.scss index 8ffed36ab0d40..135c3c2a43e24 100644 --- a/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.scss +++ b/frontend/src/lib/lemon-ui/LemonCheckbox/LemonCheckbox.scss @@ -15,6 +15,10 @@ --tick-length: 12.73; // Approximation of tick length, which is (3 + 6) * sqrt(2) --box-color: var(--primary); + .posthog-3000 & { + --box-color: var(--primary-3000); + } + display: flex; align-items: center; cursor: pointer; @@ -59,7 +63,7 @@ &.LemonCheckbox:not(.LemonCheckbox--disabled):hover, &.LemonCheckbox:not(.LemonCheckbox--disabled):active { label { - --box-color: var(--primary-light); + --box-color: var(--primary-3000-hover); .LemonCheckbox__box { border-color: var(--box-color); @@ -68,7 +72,7 @@ } &.LemonCheckbox:not(.LemonCheckbox--disabled):active label { - --box-color: var(--primary-dark); + --box-color: var(--primary-3000-active); } &.LemonCheckbox--checked { diff --git a/frontend/src/lib/lemon-ui/LemonCollapse/LemonCollapse.scss b/frontend/src/lib/lemon-ui/LemonCollapse/LemonCollapse.scss index ecf859a354eec..6dd509e146f97 100644 --- a/frontend/src/lib/lemon-ui/LemonCollapse/LemonCollapse.scss +++ b/frontend/src/lib/lemon-ui/LemonCollapse/LemonCollapse.scss @@ -30,11 +30,15 @@ } .LemonCollapsePanel__body { - transition: height 200ms ease; - height: 0; - overflow: hidden; border-top-width: 1px; box-sizing: content-box; + height: 0; + overflow: hidden; + transition: height 200ms ease; + + .posthog-3000 & { + background: var(--bg-light); + } } .LemonCollapsePanel__content { diff --git a/frontend/src/lib/lemon-ui/LemonFileInput/LemonFileInput.scss b/frontend/src/lib/lemon-ui/LemonFileInput/LemonFileInput.scss index 1a266d6ba5b08..731f84ed06b90 100644 --- a/frontend/src/lib/lemon-ui/LemonFileInput/LemonFileInput.scss +++ b/frontend/src/lib/lemon-ui/LemonFileInput/LemonFileInput.scss @@ -11,6 +11,6 @@ left: calc(-1 * var(--file-drop-target-padding)); height: calc(100% + var(--file-drop-target-padding) * 2); width: calc(100% + var(--file-drop-target-padding) * 2); - border: 3px dashed var(--primary); + border: 3px dashed var(--primary-3000); border-radius: var(--radius); } diff --git a/frontend/src/lib/lemon-ui/LemonInput/LemonInput.scss b/frontend/src/lib/lemon-ui/LemonInput/LemonInput.scss index 03943ad9f9bf1..c00645bafc1e1 100644 --- a/frontend/src/lib/lemon-ui/LemonInput/LemonInput.scss +++ b/frontend/src/lib/lemon-ui/LemonInput/LemonInput.scss @@ -1,27 +1,26 @@ .LemonInput { - transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, opacity 200ms ease; - display: flex; - min-height: 2.5rem; - padding: 0.25rem 0.5rem; + align-items: center; background: none; border-radius: var(--radius); + border: 1px solid var(--border); + color: var(--default); + cursor: text; + display: flex; font-size: 0.875rem; - text-align: left; + gap: 0.25rem; + justify-content: center; line-height: 1.25rem; - cursor: text; - color: var(--default); - border: 1px solid var(--border); + min-height: 2.5rem; + padding: 0.25rem 0.5rem; + text-align: left; background-color: var(--bg-light); - align-items: center; - justify-content: center; - gap: 0.25rem; &:hover:not([aria-disabled='true']) { - border-color: var(--primary-light); + border-color: var(--primary-3000-hover); } &.LemonInput--focused:not([aria-disabled='true']) { - border-color: var(--primary); + border-color: var(--primary-3000); } &.LemonInput--transparent-background { @@ -67,7 +66,7 @@ &.LemonInput--has-content { > .LemonIcon { - color: var(--primary); + color: var(--primary-3000); } } diff --git a/frontend/src/lib/lemon-ui/LemonRow/LemonRow.scss b/frontend/src/lib/lemon-ui/LemonRow/LemonRow.scss index f847cc3127765..cdec3b871b333 100644 --- a/frontend/src/lib/lemon-ui/LemonRow/LemonRow.scss +++ b/frontend/src/lib/lemon-ui/LemonRow/LemonRow.scss @@ -20,7 +20,7 @@ font-weight: 600; .LemonRow__icon { - color: var(--primary); + color: var(--primary-3000); } } diff --git a/frontend/src/lib/lemon-ui/LemonSelectMultiple/LemonSelectMultiple.scss b/frontend/src/lib/lemon-ui/LemonSelectMultiple/LemonSelectMultiple.scss index a382503f15b58..59b8e3bd4d44a 100644 --- a/frontend/src/lib/lemon-ui/LemonSelectMultiple/LemonSelectMultiple.scss +++ b/frontend/src/lib/lemon-ui/LemonSelectMultiple/LemonSelectMultiple.scss @@ -23,7 +23,7 @@ &:not(.ant-select-disabled):active { .ant-select-selector { background: var(--bg-light); - border-color: var(--primary); + border-color: var(--primary-3000); box-shadow: none; } } @@ -65,10 +65,14 @@ .LemonSelectMultipleDropdown { background: var(--bg-light); - padding: 0.5rem; border-radius: var(--radius); border: 1px solid var(--primary); margin: -4px 0; // Counteract antd wrapper + padding: 0.5rem; + + .posthog-3000 & { + border: 1px solid var(--primary-3000); + } .ant-select-item { padding: 0; diff --git a/frontend/src/lib/lemon-ui/LemonSwitch/LemonSwitch.scss b/frontend/src/lib/lemon-ui/LemonSwitch/LemonSwitch.scss index 6ce695c71a252..50b5e18e475d6 100644 --- a/frontend/src/lib/lemon-ui/LemonSwitch/LemonSwitch.scss +++ b/frontend/src/lib/lemon-ui/LemonSwitch/LemonSwitch.scss @@ -96,9 +96,9 @@ justify-content: center; .LemonSwitch--checked & { - transform: translateX(1rem); background-color: var(--primary); border-color: var(--primary); + transform: translateX(1rem); } .LemonSwitch--active & { diff --git a/frontend/src/lib/lemon-ui/LemonTable/LemonTable.scss b/frontend/src/lib/lemon-ui/LemonTable/LemonTable.scss index 2a911f8ef6bb0..6e37c6cd5eecc 100644 --- a/frontend/src/lib/lemon-ui/LemonTable/LemonTable.scss +++ b/frontend/src/lib/lemon-ui/LemonTable/LemonTable.scss @@ -1,13 +1,20 @@ .LemonTable { position: relative; width: 100%; - background: var(--bg-light); + background: var(--bg-table); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; flex: 1; --row-base-height: 3rem; + + .posthog-3000 & { + --row-base-height: auto; + + font-size: 13px; + } + --row-horizontal-padding: 1rem; &.LemonTable--with-ribbon { @@ -90,6 +97,16 @@ max-width: 30rem; font-size: 0.75rem; } + + a.Link { + .posthog-3000 & { + color: var(--default); + + &:not(:disabled):hover { + color: var(--primary-3000-hover); + } + } + } } .LemonTable__content > table { @@ -105,10 +122,25 @@ letter-spacing: 0.03125rem; text-transform: uppercase; + .posthog-3000 & { + background: none; + } + > tr { > th { font-weight: 700; text-align: left; + + .posthog-3000 & { + padding-top: 0.5rem; + padding-bottom: 0.5rem; + } + + .LemonButton { + .posthog-3000 & { + margin: -0.5rem 0; + } + } } &.LemonTable__row--grouping { @@ -136,8 +168,21 @@ } > td { + color: var(--text-secondary); padding-top: 0.5rem; padding-bottom: 0.5rem; + + .posthog-3000 & { + padding-top: 0.3rem; + padding-bottom: 0.3rem; + } + + .LemonButton { + .posthog-3000 & { + margin-top: -0.2rem; + margin-bottom: -0.2rem; + } + } } } } @@ -212,8 +257,22 @@ .LemonTable__header { cursor: default; + .posthog-3000 & { + opacity: 0.4; + } + &.LemonTable__header--actionable { cursor: pointer; + + .posthog-3000 & { + &:hover { + opacity: 0.7; + } + + &:active { + opacity: 0.9; + } + } } } @@ -222,6 +281,12 @@ align-items: center; justify-content: space-between; line-height: 1.5; + + div { + .posthog-3000 & { + white-space: nowrap; + } + } } .LemonTable__footer { diff --git a/frontend/src/lib/lemon-ui/LemonTable/LemonTableLoader.scss b/frontend/src/lib/lemon-ui/LemonTable/LemonTableLoader.scss index 314f0e2806528..4e30b5ddec332 100644 --- a/frontend/src/lib/lemon-ui/LemonTable/LemonTableLoader.scss +++ b/frontend/src/lib/lemon-ui/LemonTable/LemonTableLoader.scss @@ -1,15 +1,15 @@ .LemonTableLoader { - transition: height 200ms ease, top 200ms ease; - z-index: 10; - position: absolute; - left: 0; - padding: 0; - bottom: -1px; - width: 100%; - height: 0; background: var(--primary-bg-active); border: none !important; + bottom: -1px; + height: 0; + left: 0; overflow: hidden; + padding: 0.05rem !important; + position: absolute; + transition: height 200ms ease, top 200ms ease; + width: 100%; + z-index: 10; &::after { content: ''; @@ -20,11 +20,16 @@ height: 100%; animation: LemonTableLoader__swooping 1.5s linear infinite; background: var(--primary); + + .posthog-3000 & { + animation: loading-bar 1.5s linear infinite; + background: var(--primary-3000); + } } &.LemonTableLoader--enter-active, &.LemonTableLoader--enter-done { - height: 0.25rem; + height: 0.125rem; } } diff --git a/frontend/src/lib/lemon-ui/LemonTabs/LemonTabs.scss b/frontend/src/lib/lemon-ui/LemonTabs/LemonTabs.scss index 4ff742148785c..967a0add69417 100644 --- a/frontend/src/lib/lemon-ui/LemonTabs/LemonTabs.scss +++ b/frontend/src/lib/lemon-ui/LemonTabs/LemonTabs.scss @@ -62,7 +62,7 @@ } &:active { - color: var(--primary-dark); + color: var(--primary-3000-active); } &.LemonTabs__tab--active { @@ -79,8 +79,9 @@ } .LemonTabs__tab-content { - display: flex; align-items: center; - padding: 0.75rem 0; cursor: pointer; + display: flex; + padding: 0.75rem 0; + white-space: nowrap; } diff --git a/frontend/src/lib/lemon-ui/LemonTag/LemonTag.scss b/frontend/src/lib/lemon-ui/LemonTag/LemonTag.scss index 2e664294f0b4b..348d596a1cec3 100644 --- a/frontend/src/lib/lemon-ui/LemonTag/LemonTag.scss +++ b/frontend/src/lib/lemon-ui/LemonTag/LemonTag.scss @@ -1,48 +1,99 @@ .LemonTag { - font-size: 0.75rem; - font-weight: var(--font-medium); + align-items: center; background: var(--border); - padding: 0.125rem 0.25rem; border-radius: var(--radius); - display: inline-flex; - align-items: center; color: var(--default); + display: inline-flex; + font-size: 0.75rem; + font-weight: var(--font-medium); line-height: 1rem; + padding: 0.125rem 0.25rem; white-space: nowrap; + .posthog-3000 & { + background: none; + border-radius: calc(var(--radius) * 0.75); + border-style: solid; + border-width: 1px; + font-size: 0.688rem; + padding: 0.075rem 0.25rem; + } + &.primary { - background-color: var(--primary); + background-color: var(--primary-3000); color: #fff; + + .posthog-3000 & { + background: none; + border-color: var(--primary-3000); + color: var(--primary-3000); + } } &.highlight { background-color: var(--mark); color: var(--bg-charcoal); + + .posthog-3000 & { + background: none; + border-color: var(--mark); + color: var(--mark); + } } &.warning { background-color: var(--warning); color: var(--bg-charcoal); + + .posthog-3000 & { + background: none; + border-color: var(--warning); + color: var(--warning); + } } &.danger { background-color: var(--danger); color: #fff; + + .posthog-3000 & { + background: none; + border-color: var(--danger); + color: var(--danger); + } } &.success { background-color: var(--success); color: #fff; + + .posthog-3000 & { + background: none; + border-color: var(--success); + color: var(--success); + } } &.completion { background-color: var(--purple-light); color: var(--bg-charcoal); + + .posthog-3000 & { + background: none; + border-color: var(--purple-light); + color: var(--purple-light); + } } &.caution { background-color: var(--danger-lighter); color: var(--bg-charcoal); + + .posthog-3000 & { + background: none; + border-color: var(--danger-lighter); + color: var(--danger-lighter); + } } &.none { diff --git a/frontend/src/lib/lemon-ui/LemonTextArea/LemonTextArea.scss b/frontend/src/lib/lemon-ui/LemonTextArea/LemonTextArea.scss index 389975e57915a..ccc45dc5f36a2 100644 --- a/frontend/src/lib/lemon-ui/LemonTextArea/LemonTextArea.scss +++ b/frontend/src/lib/lemon-ui/LemonTextArea/LemonTextArea.scss @@ -15,7 +15,7 @@ display: block; &:not(:disabled):hover { - border: 1px solid var(--primary-light); + border: 1px solid var(--primary-3000-hover); } width: 100%; @@ -27,7 +27,7 @@ } &:focus:not(:disabled) { - border: 1px solid var(--primary); + border: 1px solid var(--primary-3000); } .Field--error & { diff --git a/frontend/src/lib/lemon-ui/Link/Link.scss b/frontend/src/lib/lemon-ui/Link/Link.scss index 7b4702499c601..2500c9b62debe 100644 --- a/frontend/src/lib/lemon-ui/Link/Link.scss +++ b/frontend/src/lib/lemon-ui/Link/Link.scss @@ -1,20 +1,20 @@ .Link { - transition: color 200ms ease, opacity 200ms ease; background: none; - color: var(--link); border: none; + color: var(--link); + cursor: pointer; + line-height: inherit; outline: none; padding: 0; - line-height: inherit; - cursor: pointer; + transition: none; &:not(:disabled) { &:hover { - color: var(--primary-light); + color: var(--primary-3000-hover); } &:active { - color: var(--primary-dark); + color: var(--primary-3000-active); } } diff --git a/frontend/src/lib/lemon-ui/Popover/Popover.scss b/frontend/src/lib/lemon-ui/Popover/Popover.scss index 55c5f5986f204..5dbb894d99043 100644 --- a/frontend/src/lib/lemon-ui/Popover/Popover.scss +++ b/frontend/src/lib/lemon-ui/Popover/Popover.scss @@ -38,7 +38,7 @@ opacity: 0; .Popover--actionable & { - border-color: var(--primary); + border-color: var(--primary-3000); } // We set the offset below instead of using floating-ui's offset(), because we need there to be no gap between @@ -136,7 +136,7 @@ } .Popover--actionable & { - border-color: var(--primary); + border-color: var(--primary-3000); } } diff --git a/frontend/src/lib/lemon-ui/ProfilePicture/ProfilePicture.scss b/frontend/src/lib/lemon-ui/ProfilePicture/ProfilePicture.scss index 9e5a327867146..d3f5896baebca 100644 --- a/frontend/src/lib/lemon-ui/ProfilePicture/ProfilePicture.scss +++ b/frontend/src/lib/lemon-ui/ProfilePicture/ProfilePicture.scss @@ -93,7 +93,7 @@ height: 1.5rem; width: 1.5rem; border-radius: 50%; - background: var(--primary); + background: var(--primary-3000); color: #fff; font-size: 0.625rem; font-weight: 600; diff --git a/frontend/src/queries/nodes/DataNode/DateRange.tsx b/frontend/src/queries/nodes/DataNode/DateRange.tsx index ce48a8ec9d892..f28699cb34146 100644 --- a/frontend/src/queries/nodes/DataNode/DateRange.tsx +++ b/frontend/src/queries/nodes/DataNode/DateRange.tsx @@ -10,7 +10,6 @@ export function DateRange({ query, setQuery }: DateRangeProps): JSX.Element | nu if (isEventsQuery(query)) { return ( { diff --git a/frontend/src/queries/nodes/DataTable/SavedQueries.tsx b/frontend/src/queries/nodes/DataTable/SavedQueries.tsx index fc088e7edc040..15dc608ebf9ad 100644 --- a/frontend/src/queries/nodes/DataTable/SavedQueries.tsx +++ b/frontend/src/queries/nodes/DataTable/SavedQueries.tsx @@ -1,5 +1,4 @@ import { LemonButton, LemonButtonWithDropdown } from 'lib/lemon-ui/LemonButton' -import { IconBookmarkBorder } from 'lib/lemon-ui/icons' import { DataTableNode } from '~/queries/schema' import equal from 'fast-deep-equal' import { useValues } from 'kea' @@ -48,7 +47,6 @@ export function SavedQueries({ query, setQuery }: SavedQueriesProps): JSX.Elemen }} type="secondary" status="primary-alt" - icon={} > {selectedTitle} diff --git a/frontend/src/scenes/PreflightCheck/PreflightCheck.scss b/frontend/src/scenes/PreflightCheck/PreflightCheck.scss index 2b83263873c2e..0628c2ac5d99f 100644 --- a/frontend/src/scenes/PreflightCheck/PreflightCheck.scss +++ b/frontend/src/scenes/PreflightCheck/PreflightCheck.scss @@ -81,7 +81,7 @@ svg, .Preflight__status-text { - color: var(--primary); + color: var(--primary-3000); } } diff --git a/frontend/src/scenes/actions/EventName.tsx b/frontend/src/scenes/actions/EventName.tsx index aadaf08a4cee1..b467e2d044028 100644 --- a/frontend/src/scenes/actions/EventName.tsx +++ b/frontend/src/scenes/actions/EventName.tsx @@ -38,6 +38,7 @@ export function LemonEventName({ renderValue={(v) => (v !== null ? : null)} allowClear={allEventsOption === 'clear'} excludedProperties={allEventsOption !== 'explicit' ? { events: [null] } : undefined} + size="small" /> ) } diff --git a/frontend/src/scenes/actions/actionsLogic.ts b/frontend/src/scenes/actions/actionsLogic.ts index c281814856611..12b34768c63f3 100644 --- a/frontend/src/scenes/actions/actionsLogic.ts +++ b/frontend/src/scenes/actions/actionsLogic.ts @@ -68,7 +68,7 @@ export const actionsLogic = kea([ () => [], (): Breadcrumb[] => [ { - name: `Data Management`, + name: `Data management`, path: urls.eventDefinitions(), }, { diff --git a/frontend/src/scenes/batch_exports/BatchExportEditScene.tsx b/frontend/src/scenes/batch_exports/BatchExportEditScene.tsx index 7f5a66fd4798d..3f6dfcf661597 100644 --- a/frontend/src/scenes/batch_exports/BatchExportEditScene.tsx +++ b/frontend/src/scenes/batch_exports/BatchExportEditScene.tsx @@ -19,7 +19,7 @@ export function BatchExportsEditScene(): JSX.Element { return ( <> - +
diff --git a/frontend/src/scenes/batch_exports/BatchExports.scss b/frontend/src/scenes/batch_exports/BatchExports.scss index 835ed19de7ec9..507ce76135072 100644 --- a/frontend/src/scenes/batch_exports/BatchExports.scss +++ b/frontend/src/scenes/batch_exports/BatchExports.scss @@ -7,7 +7,7 @@ @keyframes BatchExportRunIcon__pulse { 0% { outline-offset: 0; - outline-color: var(--primary-light); + outline-color: var(--primary-3000-hover); } 80% { diff --git a/frontend/src/scenes/cohorts/Cohorts.scss b/frontend/src/scenes/cohorts/Cohorts.scss index 8dd6ee18eeee8..ba03ee05269f4 100644 --- a/frontend/src/scenes/cohorts/Cohorts.scss +++ b/frontend/src/scenes/cohorts/Cohorts.scss @@ -22,7 +22,7 @@ border-radius: 4px !important; &:hover { - border-color: var(--primary-light) !important; + border-color: var(--primary-3000-hover) !important; } .ant-upload-drag-container { diff --git a/frontend/src/scenes/dashboard/DashboardItems.scss b/frontend/src/scenes/dashboard/DashboardItems.scss index 7cf51ba05a33f..8bd848c3b2705 100644 --- a/frontend/src/scenes/dashboard/DashboardItems.scss +++ b/frontend/src/scenes/dashboard/DashboardItems.scss @@ -41,8 +41,8 @@ transition: 100ms ease; max-width: 100%; position: relative; - border: 1px solid var(--primary); - outline: 1px solid var(--primary); + border: 1px solid var(--primary-3000); + outline: 1px solid var(--primary-3000); border-radius: var(--radius); z-index: 2; user-select: none; diff --git a/frontend/src/scenes/data-management/DataManagementScene.tsx b/frontend/src/scenes/data-management/DataManagementScene.tsx index 0513de6e11e5e..64dca6f5ea78c 100644 --- a/frontend/src/scenes/data-management/DataManagementScene.tsx +++ b/frontend/src/scenes/data-management/DataManagementScene.tsx @@ -96,7 +96,7 @@ const tabs: Record< }, [DataManagementTab.IngestionWarnings]: { url: urls.ingestionWarnings(), - label: 'Ingestion Warnings', + label: 'Ingestion warnings', content: , }, [DataManagementTab.Database]: { diff --git a/frontend/src/scenes/data-management/events/DefinitionHeader.tsx b/frontend/src/scenes/data-management/events/DefinitionHeader.tsx index cc34e2f364f9e..8edb6f208faab 100644 --- a/frontend/src/scenes/data-management/events/DefinitionHeader.tsx +++ b/frontend/src/scenes/data-management/events/DefinitionHeader.tsx @@ -1,19 +1,10 @@ import { EventDefinition, PropertyDefinition } from '~/types' -import { - IconAutocapture, - IconPageleave, - IconPreview, - PropertyIcon, - IconUnverifiedEvent, - IconVerifiedEvent, - VerifiedPropertyIcon, - IconSelectAll, -} from 'lib/lemon-ui/icons' +import { IconSelectAll } from 'lib/lemon-ui/icons' +import { IconBadge, IconBolt, IconCursor, IconEye, IconLeave, IconList, IconLogomark } from '@posthog/icons' import { getKeyMapping, KEY_MAPPING } from 'lib/taxonomy' import { PropertyKeyInfo } from 'lib/components/PropertyKeyInfo' import { Tooltip } from 'lib/lemon-ui/Tooltip' import { TaxonomicFilterGroup, TaxonomicFilterGroupType } from 'lib/components/TaxonomicFilter/types' -import clsx from 'clsx' import { Link } from 'lib/lemon-ui/Link' import { urls } from 'scenes/urls' import { @@ -25,20 +16,20 @@ export function getPropertyDefinitionIcon(definition: PropertyDefinition): JSX.E if (KEY_MAPPING.event[definition.name]) { return ( - + ) } if (definition.verified) { return ( - + ) } return ( - + ) } @@ -47,29 +38,32 @@ export function getEventDefinitionIcon(definition: EventDefinition & { value: st // Rest are events if (definition.name === '$pageview' || definition.name === '$screen') { return ( - - + + ) } if (definition.name === '$pageleave') { return ( - + ) } if (definition.name === '$autocapture') { + return + } + if (definition.name && definition.verified) { return ( - - + + ) } - if (definition.name && (definition.verified || !!KEY_MAPPING.event[definition.name])) { + if (definition.name && !!KEY_MAPPING.event[definition.name]) { return ( - - + + ) } @@ -81,8 +75,8 @@ export function getEventDefinitionIcon(definition: EventDefinition & { value: st ) } return ( - - + + ) } @@ -108,7 +102,7 @@ function RawDefinitionHeader({ const isLink = asLink && fullDetailUrl const innerContent = ( - + ) @@ -127,7 +121,27 @@ function RawDefinitionHeader({ {!hideIcon && icon &&
{icon}
} {!hideText && (
-
{linkedInnerContent}
+
+ {linkedInnerContent} + {definition.verified && ( + <> + + + + + )} + {!!KEY_MAPPING.event[definition.name] && ( + + + + )} +
{description ?
{description}
: null}
)} diff --git a/frontend/src/scenes/data-management/events/EventDefinitionsTable.scss b/frontend/src/scenes/data-management/events/EventDefinitionsTable.scss index 6f510e589a9c7..9cc22ad4acc2a 100644 --- a/frontend/src/scenes/data-management/events/EventDefinitionsTable.scss +++ b/frontend/src/scenes/data-management/events/EventDefinitionsTable.scss @@ -1,6 +1,7 @@ .events-definition-table { .LemonTable__content > table > tbody { td.definition-column-icon { + padding-right: 0.5rem; width: 36px; .definition-column-name-icon { @@ -8,7 +9,7 @@ align-items: center; justify-content: center; width: 30px; - font-size: 1.5rem; + font-size: 1.2rem; svg.taxonomy-icon { flex-shrink: 0; @@ -37,16 +38,15 @@ justify-content: center; .definition-column-name-content-title { + align-items: center; + display: flex; font-weight: 600; - cursor: pointer; - position: relative; + gap: 0.25rem; overflow: visible; + position: relative; - &::before { - content: ''; - position: absolute; - inset: -5px -50px -5px -10px; - height: 22px; + svg { + color: var(--success); } } } diff --git a/frontend/src/scenes/data-management/ingestion-warnings/ingestionWarningsLogic.ts b/frontend/src/scenes/data-management/ingestion-warnings/ingestionWarningsLogic.ts index c3509561e1a42..f77354a22331c 100644 --- a/frontend/src/scenes/data-management/ingestion-warnings/ingestionWarningsLogic.ts +++ b/frontend/src/scenes/data-management/ingestion-warnings/ingestionWarningsLogic.ts @@ -47,11 +47,11 @@ export const ingestionWarningsLogic = kea([ (): Breadcrumb[] => { return [ { - name: `Data Management`, + name: `Data management`, path: urls.eventDefinitions(), }, { - name: 'Ingestion Warnings', + name: 'Ingestion warnings', path: urls.ingestionWarnings(), }, ] diff --git a/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.scss b/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.scss index 50b3d7bfb9394..68dfef351b3c0 100644 --- a/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.scss +++ b/frontend/src/scenes/data-management/properties/PropertyDefinitionsTable.scss @@ -1,6 +1,7 @@ .event-properties-definition-table { .LemonTable__content > table > tbody { td.definition-column-icon { + padding-right: 0.5rem; width: 36px; .definition-column-name-icon { @@ -8,6 +9,7 @@ align-items: center; justify-content: center; width: 30px; + font-size: 1.2rem; svg.taxonomy-icon { flex-shrink: 0; @@ -32,16 +34,14 @@ justify-content: center; .definition-column-name-content-title { - font-weight: 600; + align-items: center; cursor: pointer; + display: flex; + font-weight: 600; + gap: 0.25rem; - &::before { - content: ''; - position: absolute; - top: -5px; - left: -10px; - right: -50px; - height: 22px; + svg { + color: var(--success); } } } diff --git a/frontend/src/scenes/data-warehouse/new_table/dataWarehouseTableLogic.tsx b/frontend/src/scenes/data-warehouse/new_table/dataWarehouseTableLogic.tsx index 14b5710ae431f..bedab7d53d0cd 100644 --- a/frontend/src/scenes/data-warehouse/new_table/dataWarehouseTableLogic.tsx +++ b/frontend/src/scenes/data-warehouse/new_table/dataWarehouseTableLogic.tsx @@ -100,7 +100,7 @@ export const dataWarehouseTableLogic = kea([ () => [], (): Breadcrumb[] => [ { - name: `Data Warehouse`, + name: `Data warehouse`, path: urls.dataWarehouseExternal(), }, { diff --git a/frontend/src/scenes/early-access-features/earlyAccessFeaturesLogic.ts b/frontend/src/scenes/early-access-features/earlyAccessFeaturesLogic.ts index a8f0ec464aa8e..ac1b0f16bdcf7 100644 --- a/frontend/src/scenes/early-access-features/earlyAccessFeaturesLogic.ts +++ b/frontend/src/scenes/early-access-features/earlyAccessFeaturesLogic.ts @@ -22,7 +22,7 @@ export const earlyAccessFeaturesLogic = kea([ () => [], (): Breadcrumb[] => [ { - name: 'Early Access Management', + name: 'Early access features', path: urls.earlyAccessFeatures(), }, ], diff --git a/frontend/src/scenes/events/Events.tsx b/frontend/src/scenes/events/Events.tsx index 164363a7b35cc..aa30ee553c381 100644 --- a/frontend/src/scenes/events/Events.tsx +++ b/frontend/src/scenes/events/Events.tsx @@ -14,7 +14,7 @@ export const scene: SceneExport = { export function Events(): JSX.Element { return ( <> - +
diff --git a/frontend/src/scenes/experiments/Experiments.tsx b/frontend/src/scenes/experiments/Experiments.tsx index 5595ba60f5bca..ee702a4b77451 100644 --- a/frontend/src/scenes/experiments/Experiments.tsx +++ b/frontend/src/scenes/experiments/Experiments.tsx @@ -41,7 +41,7 @@ export function Experiments(): JSX.Element { const { hasAvailableFeature } = useValues(userLogic) const EXPERIMENTS_PRODUCT_DESCRIPTION = - 'Experiments help you test changes to your product to see which changes will lead to optimal results. Automatic statistical calculations let you see if the results are valid or if they are likely just a chance occurrence.' + 'A/B testing help you test changes to your product to see which changes will lead to optimal results. Automatic statistical calculations let you see if the results are valid or if they are likely just a chance occurrence.' const getExperimentDuration = (experiment: Experiment): number | undefined => { return experiment.end_date @@ -144,7 +144,7 @@ export function Experiments(): JSX.Element { return (
Experiments
} + title={
A/B testing
} buttons={ hasAvailableFeature(AvailableFeature.EXPERIMENTATION) ? ( @@ -154,14 +154,13 @@ export function Experiments(): JSX.Element { } caption={ <> - Check out our {' '} - Experimentation user guide + Visit the guide {' '} to learn more. @@ -182,7 +181,7 @@ export function Experiments(): JSX.Element { {(shouldShowEmptyState || shouldShowProductIntroduction) && (tab === ExperimentsTabs.Archived ? ( ) : ( diff --git a/frontend/src/scenes/feature-flags/FeatureFlag.scss b/frontend/src/scenes/feature-flags/FeatureFlag.scss index 730181e4ad083..344c90cfc9641 100644 --- a/frontend/src/scenes/feature-flags/FeatureFlag.scss +++ b/frontend/src/scenes/feature-flags/FeatureFlag.scss @@ -61,6 +61,6 @@ .FeatureConditionCard { .FeatureConditionCard--border--highlight { - border-color: var(--primary); + border-color: var(--primary-3000); } } diff --git a/frontend/src/scenes/feature-flags/featureFlagsLogic.ts b/frontend/src/scenes/feature-flags/featureFlagsLogic.ts index e88e418635a2c..ad1c8b79b571f 100644 --- a/frontend/src/scenes/feature-flags/featureFlagsLogic.ts +++ b/frontend/src/scenes/feature-flags/featureFlagsLogic.ts @@ -154,7 +154,7 @@ export const featureFlagsLogic = kea([ () => [], (): Breadcrumb[] => [ { - name: 'Feature Flags', + name: 'Feature flags', path: urls.featureFlags(), }, ], diff --git a/frontend/src/scenes/funnels/FunnelBarGraph/FunnelBarGraph.scss b/frontend/src/scenes/funnels/FunnelBarGraph/FunnelBarGraph.scss index 7f2e0024ca851..ad4a376864a61 100644 --- a/frontend/src/scenes/funnels/FunnelBarGraph/FunnelBarGraph.scss +++ b/frontend/src/scenes/funnels/FunnelBarGraph/FunnelBarGraph.scss @@ -120,7 +120,7 @@ $glyph_height: 23px; // Based on .funnel-step-glyph .funnel-bar { position: relative; height: 100%; - background: var(--funnel-default); + background: var(--primary-3000); transition: width 0.2s ease, height 0.2s ease; &.first { @@ -148,7 +148,7 @@ $glyph_height: 23px; // Based on .funnel-step-glyph &.outside { left: calc(100% + #{$label_position_offset}); - color: var(--funnel-default); + color: var(--primary-3000); } } } diff --git a/frontend/src/scenes/insights/insightSceneLogic.tsx b/frontend/src/scenes/insights/insightSceneLogic.tsx index 3ff71b3e53720..1d2f2d6507bc0 100644 --- a/frontend/src/scenes/insights/insightSceneLogic.tsx +++ b/frontend/src/scenes/insights/insightSceneLogic.tsx @@ -88,7 +88,7 @@ export const insightSceneLogic = kea([ (s) => [s.insight], (insight): Breadcrumb[] => [ { - name: 'Insights', + name: 'Product analytics', path: urls.savedInsights(), }, { diff --git a/frontend/src/scenes/insights/views/Histogram/Histogram.scss b/frontend/src/scenes/insights/views/Histogram/Histogram.scss index e6d3138958889..2742347145d09 100644 --- a/frontend/src/scenes/insights/views/Histogram/Histogram.scss +++ b/frontend/src/scenes/insights/views/Histogram/Histogram.scss @@ -61,7 +61,7 @@ * Bars */ g#bars { - fill: var(--funnel-default); + fill: var(--primary-3000); } g#labels { diff --git a/frontend/src/scenes/insights/views/InsightsTable/InsightsTable.scss b/frontend/src/scenes/insights/views/InsightsTable/InsightsTable.scss index 1ce975beb6fd1..4158e729c4915 100644 --- a/frontend/src/scenes/insights/views/InsightsTable/InsightsTable.scss +++ b/frontend/src/scenes/insights/views/InsightsTable/InsightsTable.scss @@ -3,7 +3,7 @@ align-items: center; .edit-icon { - color: var(--primary); + color: var(--primary-3000); cursor: pointer; font-size: 1rem; } @@ -13,7 +13,7 @@ cursor: pointer; .EntityFilterInfo { - color: var(--primary); + color: var(--primary-3000); font-weight: 500; } } diff --git a/frontend/src/scenes/insights/views/WorldMap/WorldMap.scss b/frontend/src/scenes/insights/views/WorldMap/WorldMap.scss index d8f9bffe605e7..e4ae155aede2f 100644 --- a/frontend/src/scenes/insights/views/WorldMap/WorldMap.scss +++ b/frontend/src/scenes/insights/views/WorldMap/WorldMap.scss @@ -10,7 +10,7 @@ fill-rule: evenodd; &:hover { - color: var(--primary-dark) !important; + color: var(--primary-3000-hover) !important; } } } diff --git a/frontend/src/scenes/notebooks/AddToNotebook/DraggableToNotebook.scss b/frontend/src/scenes/notebooks/AddToNotebook/DraggableToNotebook.scss index 2ee530fe2d87a..8f90c06671cf0 100644 --- a/frontend/src/scenes/notebooks/AddToNotebook/DraggableToNotebook.scss +++ b/frontend/src/scenes/notebooks/AddToNotebook/DraggableToNotebook.scss @@ -5,7 +5,7 @@ // Weird hack - this fixes chrome from not correctly identifying the bounds of the component for the drag preview // https://github.com/react-dnd/react-dnd/issues/832#issuecomment-442071628 transform: translate3d(0, 0, 0); - outline: 1px solid var(--primary); + outline: 1px solid var(--primary-3000); background-color: var(--bg-light); } diff --git a/frontend/src/scenes/notebooks/Nodes/NotebookNodeCohort.tsx b/frontend/src/scenes/notebooks/Nodes/NotebookNodeCohort.tsx index 60fa028e0814a..fd5aad3420b5e 100644 --- a/frontend/src/scenes/notebooks/Nodes/NotebookNodeCohort.tsx +++ b/frontend/src/scenes/notebooks/Nodes/NotebookNodeCohort.tsx @@ -9,7 +9,7 @@ import { useEffect, useMemo } from 'react' import clsx from 'clsx' import { NotFound } from 'lib/components/NotFound' import { cohortEditLogic } from 'scenes/cohorts/cohortEditLogic' -import { IconCohort, IconPerson, InsightsTrendsIcon } from 'lib/lemon-ui/icons' +import { IconPeople, IconPerson, IconTrends } from '@posthog/icons' import { Query } from '~/queries/Query/Query' import { LemonDivider, LemonTag } from '@posthog/lemon-ui' import { DataTableNode, NodeKind } from '~/queries/schema' @@ -71,7 +71,7 @@ const Component = ({ attributes }: NotebookNodeProps, + icon: , onClick: () => { setExpanded(false) insertAfter({ @@ -130,7 +130,7 @@ const Component = ({ attributes }: NotebookNodeProps ) : (
- + {cohort.name} ({cohort.count} persons) {cohort.is_static ? 'Static' : 'Dynamic'} diff --git a/frontend/src/scenes/notebooks/Notebook/Notebook.scss b/frontend/src/scenes/notebooks/Notebook/Notebook.scss index 1ba202f5a0348..ed584c90842d8 100644 --- a/frontend/src/scenes/notebooks/Notebook/Notebook.scss +++ b/frontend/src/scenes/notebooks/Notebook/Notebook.scss @@ -262,7 +262,7 @@ // overriding ::selection is necessary here because // antd makes it invisible otherwise span::selection { - color: var(--primary); + color: var(--primary-3000); } // Overrides for insight controls diff --git a/frontend/src/scenes/notebooks/Notebook/SlashCommands.tsx b/frontend/src/scenes/notebooks/Notebook/SlashCommands.tsx index 56d8c2c19efaf..6fb6e14c67654 100644 --- a/frontend/src/scenes/notebooks/Notebook/SlashCommands.tsx +++ b/frontend/src/scenes/notebooks/Notebook/SlashCommands.tsx @@ -3,21 +3,19 @@ import Suggestion from '@tiptap/suggestion' import { ReactRenderer } from '@tiptap/react' import { LemonButton, LemonDivider, lemonToast } from '@posthog/lemon-ui' +import { IconBold, IconCohort, IconItalic } from 'lib/lemon-ui/icons' import { - IconBold, - IconCohort, - IconItalic, - IconRecording, - IconTableChart, - IconUploadFile, - InsightSQLIcon, - InsightsFunnelsIcon, - InsightsLifecycleIcon, - InsightsPathsIcon, - InsightsRetentionIcon, - InsightsStickinessIcon, - InsightsTrendsIcon, -} from 'lib/lemon-ui/icons' + IconCursor, + IconFunnels, + IconHogQL, + IconLifecycle, + IconRetention, + IconRewindPlay, + IconStickiness, + IconTrends, + IconUpload, + IconUserPaths, +} from '@posthog/icons' import { forwardRef, useCallback, useEffect, useImperativeHandle, useMemo, useState } from 'react' import { EditorCommands, EditorRange } from './utils' import { BaseMathType, ChartDisplayType, FunnelVizType, NotebookNodeType, PathType, RetentionPeriod } from '~/types' @@ -100,7 +98,7 @@ const SLASH_COMMANDS: SlashCommandsItem[] = [ { title: 'Trend', search: 'trend insight', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -125,7 +123,7 @@ const SLASH_COMMANDS: SlashCommandsItem[] = [ { title: 'Funnel', search: 'funnel insight', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -152,7 +150,7 @@ const SLASH_COMMANDS: SlashCommandsItem[] = [ { title: 'Retention', search: 'retention insight', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -179,7 +177,7 @@ const SLASH_COMMANDS: SlashCommandsItem[] = [ { title: 'Paths', search: 'paths insight', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -194,7 +192,7 @@ const SLASH_COMMANDS: SlashCommandsItem[] = [ { title: 'Stickiness', search: 'stickiness insight', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -215,7 +213,7 @@ const SLASH_COMMANDS: SlashCommandsItem[] = [ { title: 'Lifecycle', search: 'lifecycle insight', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -235,7 +233,7 @@ const SLASH_COMMANDS: SlashCommandsItem[] = [ { title: 'HogQL', search: 'sql', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -267,7 +265,7 @@ order by count() desc { title: 'Events', search: 'data explore', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt( pos, @@ -303,13 +301,13 @@ order by count() desc { title: 'Session Replays', search: 'recordings video', - icon: , + icon: , command: (chain, pos) => chain.insertContentAt(pos, { type: NotebookNodeType.RecordingPlaylist, attrs: {} }), }, { title: 'Image', search: 'picture', - icon: , + icon: , command: async (chain, pos) => { // Trigger upload followed by insert try { diff --git a/frontend/src/scenes/notebooks/NotebookPanel/NotebookPanel.scss b/frontend/src/scenes/notebooks/NotebookPanel/NotebookPanel.scss index d4a2460692e24..5cd1a52a8ca02 100644 --- a/frontend/src/scenes/notebooks/NotebookPanel/NotebookPanel.scss +++ b/frontend/src/scenes/notebooks/NotebookPanel/NotebookPanel.scss @@ -40,7 +40,7 @@ } &--active { - border-color: var(--primary); + border-color: var(--primary-3000); height: 8rem; .NotebookPanelDropzone__message { diff --git a/frontend/src/scenes/notebooks/NotebookPanel/NotebookPopover.scss b/frontend/src/scenes/notebooks/NotebookPanel/NotebookPopover.scss index ba0ab7a664877..4534f030b9bf5 100644 --- a/frontend/src/scenes/notebooks/NotebookPanel/NotebookPopover.scss +++ b/frontend/src/scenes/notebooks/NotebookPanel/NotebookPopover.scss @@ -121,7 +121,7 @@ } &--active { - border-color: var(--primary); + border-color: var(--primary-3000); height: 8rem; .NotebookPanelDropzone__message { @@ -131,7 +131,7 @@ &--dropped { padding: 1rem; - border-color: var(--primary); + border-color: var(--primary-3000); background-color: var(--bg-light); height: 100%; justify-content: flex-start; diff --git a/frontend/src/scenes/persons-management/personsManagementSceneLogic.tsx b/frontend/src/scenes/persons-management/personsManagementSceneLogic.tsx index 0e1202affc14c..c6935d13641c9 100644 --- a/frontend/src/scenes/persons-management/personsManagementSceneLogic.tsx +++ b/frontend/src/scenes/persons-management/personsManagementSceneLogic.tsx @@ -51,7 +51,7 @@ export const personsManagementSceneLogic = kea( { key: 'persons', url: urls.persons(), - label: 'Persons', + label: 'People', content: , }, { diff --git a/frontend/src/scenes/persons/PersonScene.scss b/frontend/src/scenes/persons/PersonScene.scss index b22eea07f7361..e555d6434aecb 100644 --- a/frontend/src/scenes/persons/PersonScene.scss +++ b/frontend/src/scenes/persons/PersonScene.scss @@ -5,7 +5,7 @@ line-height: 1.125rem; margin: 0 0 0 0.25rem; padding: 0 0.25rem 0 0.375rem; - color: var(--primary); + color: var(--primary-3000); cursor: pointer; svg { diff --git a/frontend/src/scenes/pipeline/pipelineLogic.tsx b/frontend/src/scenes/pipeline/pipelineLogic.tsx index 017e1966745b7..c043eeac44dd7 100644 --- a/frontend/src/scenes/pipeline/pipelineLogic.tsx +++ b/frontend/src/scenes/pipeline/pipelineLogic.tsx @@ -43,7 +43,7 @@ export const pipelineLogic = kea([ breadcrumbs: [ (s) => [s.currentTab], (tab): Breadcrumb[] => { - const breadcrumbs: Breadcrumb[] = [{ name: 'Pipeline' }] + const breadcrumbs: Breadcrumb[] = [{ name: 'Data pipeline' }] breadcrumbs.push({ name: humanFriendlyTabName(tab), }) diff --git a/frontend/src/scenes/project-homepage/NewlySeenPersons.tsx b/frontend/src/scenes/project-homepage/NewlySeenPersons.tsx index 0aea88331c5e3..64a4181460b29 100644 --- a/frontend/src/scenes/project-homepage/NewlySeenPersons.tsx +++ b/frontend/src/scenes/project-homepage/NewlySeenPersons.tsx @@ -33,14 +33,14 @@ export function NewlySeenPersons(): JSX.Element { return ( } diff --git a/frontend/src/scenes/project-homepage/ProjectHomepage.scss b/frontend/src/scenes/project-homepage/ProjectHomepage.scss index 3066991290387..f905c0241e4a4 100644 --- a/frontend/src/scenes/project-homepage/ProjectHomepage.scss +++ b/frontend/src/scenes/project-homepage/ProjectHomepage.scss @@ -1,11 +1,11 @@ .project-homepage { - .homepage-dashboard-header { + .HomepageDashboardHeader { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; - .dashboard-title-container { + .HomepageDashboardHeader__title { display: flex; flex-direction: row; align-items: center; @@ -17,6 +17,16 @@ margin: 0; } } + + .posthog-3000 & { + a { + color: var(--default); + + &:hover { + color: var(--primary-3000); + } + } + } } } diff --git a/frontend/src/scenes/project-homepage/ProjectHomepage.tsx b/frontend/src/scenes/project-homepage/ProjectHomepage.tsx index 80cc8e5b02b9f..b26ec70c514d9 100644 --- a/frontend/src/scenes/project-homepage/ProjectHomepage.tsx +++ b/frontend/src/scenes/project-homepage/ProjectHomepage.tsx @@ -8,7 +8,7 @@ import { Scene, SceneExport } from 'scenes/sceneTypes' import { DashboardPlacement } from '~/types' import { inviteLogic } from 'scenes/settings/organization/inviteLogic' import { LemonDivider } from 'lib/lemon-ui/LemonDivider' -import { IconCottage } from 'lib/lemon-ui/icons' +import { IconHome } from '@posthog/icons' import { projectHomepageLogic } from 'scenes/project-homepage/projectHomepageLogic' import { LemonButton } from 'lib/lemon-ui/LemonButton' import { RecentRecordings } from './RecentRecordings' @@ -81,12 +81,12 @@ export function ProjectHomepage(): JSX.Element {
{currentTeam?.primary_dashboard ? ( <> -
-
+
+
{!dashboard && } {dashboard?.name && ( <> - + = [InsightType.TRENDS]: { name: 'Trends', description: 'Visualize and break down how actions or events vary over time.', - icon: InsightsTrendsIcon, + icon: IconTrends, inMenu: true, }, [InsightType.FUNNELS]: { name: 'Funnel', description: 'Discover how many users complete or drop out of a sequence of actions.', - icon: InsightsFunnelsIcon, + icon: IconFunnels, inMenu: true, }, [InsightType.RETENTION]: { name: 'Retention', description: 'See how many users return on subsequent days after an intial action.', - icon: InsightsRetentionIcon, + icon: IconRetention, inMenu: true, }, [InsightType.PATHS]: { name: 'Paths', description: 'Trace the journeys users take within your product and where they drop off.', - icon: InsightsPathsIcon, + icon: IconUserPaths, inMenu: true, }, [InsightType.STICKINESS]: { name: 'Stickiness', description: 'See what keeps users coming back by viewing the interval between repeated actions.', - icon: InsightsStickinessIcon, + icon: IconStickiness, inMenu: true, }, [InsightType.LIFECYCLE]: { name: 'Lifecycle', description: 'Understand growth by breaking down new, resurrected, returning and dormant users.', - icon: InsightsLifecycleIcon, + icon: IconLifecycle, inMenu: true, }, [InsightType.SQL]: { name: 'SQL', description: 'Use HogQL to query your data.', - icon: InsightSQLIcon, + icon: IconHogQL, inMenu: true, }, [InsightType.JSON]: { name: 'Custom', description: 'Save components powered by our JSON query language.', - icon: InsightSQLIcon, + icon: IconBrackets, inMenu: true, }, } @@ -125,37 +128,37 @@ export const QUERY_TYPES_METADATA: Record = { [NodeKind.TrendsQuery]: { name: 'Trends', description: 'Visualize and break down how actions or events vary over time', - icon: InsightsTrendsIcon, + icon: IconTrends, inMenu: true, }, [NodeKind.FunnelsQuery]: { name: 'Funnel', description: 'Discover how many users complete or drop out of a sequence of actions', - icon: InsightsFunnelsIcon, + icon: IconFunnels, inMenu: true, }, [NodeKind.RetentionQuery]: { name: 'Retention', description: 'See how many users return on subsequent days after an intial action', - icon: InsightsRetentionIcon, + icon: IconRetention, inMenu: true, }, [NodeKind.PathsQuery]: { name: 'Paths', description: 'Trace the journeys users take within your product and where they drop off', - icon: InsightsPathsIcon, + icon: IconUserPaths, inMenu: true, }, [NodeKind.StickinessQuery]: { name: 'Stickiness', description: 'See what keeps users coming back by viewing the interval between repeated actions', - icon: InsightsStickinessIcon, + icon: IconStickiness, inMenu: true, }, [NodeKind.LifecycleQuery]: { name: 'Lifecycle', description: 'Understand growth by breaking down new, resurrected, returning and dormant users', - icon: InsightsLifecycleIcon, + icon: IconLifecycle, inMenu: true, }, [NodeKind.EventsNode]: { @@ -239,43 +242,43 @@ export const QUERY_TYPES_METADATA: Record = { [NodeKind.SessionsTimelineQuery]: { name: 'Sessions', description: 'Sessions timeline query', - icon: InsightsTrendsIcon, + icon: IconTrends, inMenu: true, }, [NodeKind.HogQLQuery]: { name: 'HogQL', description: 'Direct HogQL query', - icon: InsightSQLIcon, + icon: IconHogQL, inMenu: true, }, [NodeKind.HogQLMetadata]: { name: 'HogQL Metadata', description: 'Metadata for a HogQL query', - icon: InsightSQLIcon, + icon: IconHogQL, inMenu: true, }, [NodeKind.DatabaseSchemaQuery]: { name: 'Database Schema', description: 'Introspect the PostHog database schema', - icon: InsightSQLIcon, + icon: IconHogQL, inMenu: true, }, [NodeKind.WebOverviewQuery]: { name: 'Overview Stats', description: 'View overview stats for a website', - icon: InsightsTrendsIcon, + icon: IconTrends, inMenu: true, }, [NodeKind.WebStatsTableQuery]: { name: 'Web Table', description: 'A table of results from web analytics, with a breakdown', - icon: InsightsTrendsIcon, + icon: IconTrends, inMenu: true, }, [NodeKind.WebTopClicksQuery]: { name: 'Top Clicks', description: 'View top clicks for a website', - icon: InsightsTrendsIcon, + icon: IconTrends, inMenu: true, }, } @@ -301,7 +304,7 @@ export function InsightIcon({ insight }: { insight: InsightModel }): JSX.Element } const insightMetadata = INSIGHT_TYPES_METADATA[insightType] if (insightMetadata && insightMetadata.icon) { - return + return } return null } @@ -522,7 +525,10 @@ export function SavedInsights(): JSX.Element { return (
- } /> + } + /> setSavedInsightsFilters({ tab })} diff --git a/frontend/src/scenes/scenes.ts b/frontend/src/scenes/scenes.ts index 8a0ec5f699aa2..b174df0ff581b 100644 --- a/frontend/src/scenes/scenes.ts +++ b/frontend/src/scenes/scenes.ts @@ -45,7 +45,7 @@ export const sceneConfigurations: Partial> = { }, [Scene.WebAnalytics]: { projectBased: true, - name: 'Web Analytics', + name: 'Web analytics', layout: 'app-container', }, [Scene.Cohort]: { @@ -54,43 +54,43 @@ export const sceneConfigurations: Partial> = { }, [Scene.Events]: { projectBased: true, - name: 'Event Explorer', + name: 'Event explorer', }, [Scene.BatchExports]: { projectBased: true, - name: 'Batch Exports', + name: 'Batch exports', }, [Scene.BatchExportEdit]: { projectBased: true, - name: 'Edit Batch Export', + name: 'Edit batch export', }, [Scene.BatchExport]: { projectBased: true, - name: 'Batch Export', + name: 'Batch export', }, [Scene.DataManagement]: { projectBased: true, - name: 'Data Management', + name: 'Data management', }, [Scene.EventDefinition]: { projectBased: true, - name: 'Data Management', + name: 'Data management', }, [Scene.PropertyDefinition]: { projectBased: true, - name: 'Data Management', + name: 'Data management', }, [Scene.Replay]: { projectBased: true, - name: 'Session Replay', + name: 'Session replay', }, [Scene.ReplaySingle]: { projectBased: true, - name: 'Replay Recording', + name: 'Replay recording', }, [Scene.ReplayPlaylist]: { projectBased: true, - name: 'Replay Playlist', + name: 'Replay playlist', }, [Scene.Person]: { projectBased: true, @@ -98,7 +98,7 @@ export const sceneConfigurations: Partial> = { }, [Scene.PersonsManagement]: { projectBased: true, - name: 'Persons & Groups', + name: 'People & groups', }, [Scene.Action]: { projectBased: true, @@ -106,7 +106,7 @@ export const sceneConfigurations: Partial> = { }, [Scene.Group]: { projectBased: true, - name: 'Persons & Groups', + name: 'People & groups', }, [Scene.Pipeline]: { projectBased: true, @@ -126,7 +126,7 @@ export const sceneConfigurations: Partial> = { }, [Scene.FeatureFlags]: { projectBased: true, - name: 'Feature Flags', + name: 'Feature flags', }, [Scene.FeatureFlag]: { projectBased: true, @@ -145,27 +145,27 @@ export const sceneConfigurations: Partial> = { }, [Scene.DataWarehouse]: { projectBased: true, - name: 'Data Warehouse', + name: 'Data warehouse', }, [Scene.DataWarehousePosthog]: { projectBased: true, - name: 'Data Warehouse', + name: 'Data warehouse', }, [Scene.DataWarehouseExternal]: { projectBased: true, - name: 'Data Warehouse', + name: 'Data warehouse', }, [Scene.DataWarehouseSavedQueries]: { projectBased: true, - name: 'Data Warehouse', + name: 'Data warehouse', }, [Scene.DataWarehouseSettings]: { projectBased: true, - name: 'Data Warehouse Settings', + name: 'Data warehouse settings', }, [Scene.DataWarehouseTable]: { projectBased: true, - name: 'Data Warehouse Table', + name: 'Data warehouse table', }, [Scene.EarlyAccessFeatures]: { projectBased: true, @@ -187,14 +187,14 @@ export const sceneConfigurations: Partial> = { }, [Scene.SavedInsights]: { projectBased: true, - name: 'Insights', + name: 'Product analytics', }, [Scene.ProjectHomepage]: { projectBased: true, name: 'Homepage', }, [Scene.IntegrationsRedirect]: { - name: 'Integrations Redirect', + name: 'Integrations redirect', }, [Scene.Products]: { projectBased: true, @@ -206,7 +206,7 @@ export const sceneConfigurations: Partial> = { }, [Scene.ToolbarLaunch]: { projectBased: true, - name: 'Launch Toolbar', + name: 'Launch toolbar', }, [Scene.Site]: { projectBased: true, diff --git a/frontend/src/scenes/session-recordings/file-playback/sessionRecordingFilePlaybackLogic.ts b/frontend/src/scenes/session-recordings/file-playback/sessionRecordingFilePlaybackLogic.ts index 54ef82ab8da18..b4d43573bd8d0 100644 --- a/frontend/src/scenes/session-recordings/file-playback/sessionRecordingFilePlaybackLogic.ts +++ b/frontend/src/scenes/session-recordings/file-playback/sessionRecordingFilePlaybackLogic.ts @@ -196,7 +196,7 @@ export const sessionRecordingFilePlaybackLogic = kea [], (): Breadcrumb[] => [ { - name: `Recordings`, + name: 'Session replay', path: urls.replay(), }, { diff --git a/frontend/src/scenes/session-recordings/player/PlayerMeta.scss b/frontend/src/scenes/session-recordings/player/PlayerMeta.scss index 3312579e0b711..2089db1b92dd8 100644 --- a/frontend/src/scenes/session-recordings/player/PlayerMeta.scss +++ b/frontend/src/scenes/session-recordings/player/PlayerMeta.scss @@ -79,4 +79,14 @@ } } } + + .Link { + .posthog-3000 & { + color: var(--default); + + &:hover { + color: var(--primary-3000); + } + } + } } diff --git a/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx b/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx index 08d675cb62db1..ecc5f95f3ead0 100644 --- a/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx +++ b/frontend/src/scenes/session-recordings/player/PlayerMeta.tsx @@ -166,12 +166,12 @@ export function PlayerMeta(): JSX.Element { )}
-
+
{!sessionPerson || !startTime ? ( ) : (
- + {'·'} diff --git a/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss b/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss index f57dc4c405164..dadd79e777ec8 100644 --- a/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss +++ b/frontend/src/scenes/session-recordings/player/SessionRecordingPlayer.scss @@ -83,6 +83,14 @@ pointer-events: none; transition: opacity 0.2s ease-in-out; } + + .LemonButton--tertiary { + .posthog-3000 & { + &:hover { + color: var(--primary-3000); + } + } + } } &--inspector-focus { diff --git a/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss b/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss index 1ee0c5586e7d0..53e2b3f3ca9a0 100644 --- a/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss +++ b/frontend/src/scenes/session-recordings/player/controller/Seekbar.scss @@ -136,7 +136,7 @@ } &--primary { - --tick-color: var(--primary); + --tick-color: var(--primary-3000); } .PlayerSeekbarTick__line { diff --git a/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.scss b/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.scss index b821b4b8d4c21..b2a7191f56ce2 100644 --- a/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.scss +++ b/frontend/src/scenes/session-recordings/player/inspector/PlayerInspectorList.scss @@ -11,4 +11,8 @@ border-radius: var(--radius) 0 0 var(--radius); transition: transform 200ms linear; will-change: transform; + + .posthog-3000 & { + background-color: var(--primary-3000); + } } diff --git a/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx b/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx index d3acb8f7aa308..a2c34cfb26a1b 100644 --- a/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx +++ b/frontend/src/scenes/session-recordings/playlist/SessionRecordingPreview.tsx @@ -162,7 +162,7 @@ function PinnedIndicator(): JSX.Element | null { function ViewedIndicator(props: { viewed: boolean }): JSX.Element | null { return !props.viewed ? ( -
+
) : null } diff --git a/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.scss b/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.scss index 455928f1dad82..379fe80fd42cc 100644 --- a/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.scss +++ b/frontend/src/scenes/session-recordings/playlist/SessionRecordingsPlaylist.scss @@ -20,6 +20,12 @@ width: 25%; overflow: hidden; height: 100%; + + .text-link { + .posthog-3000 & { + color: var(--default); + } + } } .SessionRecordingsPlaylist__player { @@ -64,11 +70,11 @@ transition: background-color 200ms ease, border 200ms ease; &--active { - border-left-color: var(--primary); + border-left-color: var(--primary-3000); } &:hover { - background-color: var(--primary-highlight); + background-color: var(--primary-3000-highlight); } .SessionRecordingPreview__property-icon:hover { diff --git a/frontend/src/scenes/session-recordings/sessionRecordingsLogic.ts b/frontend/src/scenes/session-recordings/sessionRecordingsLogic.ts index 10d58cdcb3d07..7a23cd0f75314 100644 --- a/frontend/src/scenes/session-recordings/sessionRecordingsLogic.ts +++ b/frontend/src/scenes/session-recordings/sessionRecordingsLogic.ts @@ -9,7 +9,7 @@ import { capitalizeFirstLetter } from 'lib/utils' export const humanFriendlyTabName = (tab: ReplayTabs): string => { switch (tab) { case ReplayTabs.Recent: - return 'Recent Recordings' + return 'Recent recordings' case ReplayTabs.Playlists: return 'Playlists' case ReplayTabs.FilePlayback: diff --git a/frontend/src/scenes/surveys/SurveyTemplates.scss b/frontend/src/scenes/surveys/SurveyTemplates.scss index e0706c96e65df..c9622e7624689 100644 --- a/frontend/src/scenes/surveys/SurveyTemplates.scss +++ b/frontend/src/scenes/surveys/SurveyTemplates.scss @@ -1,17 +1,17 @@ @import '../../styles/mixins'; .SurveyTemplateContainer { - flex: 1; - display: flex; align-items: center; + background: var(--bg-light); + border-radius: var(--radius); border: 1px solid var(--border); - border-radius: 6px; + display: flex; + flex: 1; min-height: 300px; - margin-top: 2px; &:hover { cursor: pointer; - border-color: var(--primary-light); + border-color: var(--primary-3000-hover); } .SurveyTemplate { diff --git a/frontend/src/scenes/surveys/SurveyTemplates.tsx b/frontend/src/scenes/surveys/SurveyTemplates.tsx index 5eee9ba520d9a..759245b2f174e 100644 --- a/frontend/src/scenes/surveys/SurveyTemplates.tsx +++ b/frontend/src/scenes/surveys/SurveyTemplates.tsx @@ -28,7 +28,7 @@ export function SurveyTemplates(): JSX.Element { } /> -
+
{defaultSurveyTemplates.map((template, idx) => { return (
{ ::-webkit-scrollbar { width: 0.5rem; diff --git a/frontend/src/styles/vars.scss b/frontend/src/styles/vars.scss index 1bc41d70b2014..1a501d5800285 100644 --- a/frontend/src/styles/vars.scss +++ b/frontend/src/styles/vars.scss @@ -103,7 +103,7 @@ $colors: ( 'border-bold': rgb(0 0 0 / 24%), 'border-active': rgb(0 0 0 / 36%), 'transparent': transparent, - 'link': var(--link), + 'link': var(--primary-3000), // Colors of the PostHog logo 'brand-blue': #1d4aff, 'brand-red': #f54e00, @@ -113,10 +113,14 @@ $colors: ( // This becomes white in dark mode // PostHog 3000 'text-3000-light': #111, + 'text-secondary-3000-light': rgba(#111, 0.7), 'muted-3000-light': rgba(#111, 0.5), 'trace-3000-light': rgba(#111, 0.25), - 'primary-3000-light': rgba(#000, 0.75), - 'primary-3000-hover-light': #000, + 'primary-3000-light': #f54e01, + 'primary-3000-highlight-light': rgba(#f54e01, 0.1), + 'primary-3000-hover-light': #f54e01, + 'primary-3000-active-light': #f54e01, + 'secondary-3000-light': rgba(#cfd1c2, 0.6), 'secondary-3000-hover-light': #cfd1c2, 'accent-3000-light': #eeefe9, @@ -125,7 +129,8 @@ $colors: ( 'border-bold-3000-light': #c1c2b9, 'glass-bg-3000-light': #e4e5deb3, 'glass-border-3000-light': #e4e5de, - 'link-3000-light': var(--primary), + + 'link-3000-light': #f54e00, 'primary-3000-frame-bg-light': #eb9d2a, 'primary-3000-frame-border-light': #c28926, 'primary-3000-button-bg-light': #fff, @@ -141,24 +146,31 @@ $colors: ( 'shadow-elevation-3000-light': 0 2px 0 var(--border-3000-light), 'shadow-elevation-3000-dark': 0 2px 0 var(--border-3000-dark), 'text-3000-dark': #fff, + 'text-secondary-3000-dark': rgba(#fff, 0.7), 'muted-3000-dark': rgba(#fff, 0.5), 'trace-3000-dark': rgba(#fff, 0.25), - 'primary-3000-dark': var(--primary), - 'primary-3000-hover-dark': var(--primary-light), + 'primary-3000-dark': #f7a503, + 'primary-3000-highlight-dark': rgba(#f7a503, 0.1), + 'primary-3000-hover-dark': #f7a503, + 'primary-3000-active-dark': #f7a503, + 'primary-alt-highlight-3000-light': #e5e7e0, + 'secondary-3000-dark': #1d1f27, 'secondary-3000-hover-dark': #575d77, - 'accent-3000-dark': #1d1f27, - 'bg-3000-dark': #151619, + 'accent-3000-dark': #232429, + 'bg-3000-dark': #1d1f27, 'border-3000-dark': #2b2c32, 'border-bold-3000-dark': #3f4046, 'glass-bg-3000-dark': #1d1f27b3, 'glass-border-3000-dark': var(--border-3000-dark), - 'link-3000-dark': rgb(47 129 247), + 'link-3000-dark': #f1a82c, + 'primary-3000-frame-bg-dark': #926826, 'primary-3000-frame-border-dark': #a97a2f, 'primary-3000-button-bg-dark': #e0a045, 'primary-3000-button-border-dark': #b17816, 'primary-3000-button-border-hover-dark': #8e5b03, + 'primary-alt-highlight-3000-dark': #232429, 'secondary-3000-frame-bg-dark': #323232, 'secondary-3000-frame-border-dark': #383838, @@ -168,6 +180,7 @@ $colors: ( // The derived colors 'text-3000': var(--text-3000), + 'text-secondary-3000': var(--text-secondary-3000), 'muted-3000': var(--muted-3000), 'trace-3000': var(--trace-3000), 'primary-3000': var(--primary-3000), @@ -266,7 +279,6 @@ $_lifecycle_dormant: $_danger; // Funnels // TODO: unify with lib/colors.ts, getGraphColors() - --funnel-default: var(--primary); --funnel-background: var(--border-light); --funnel-axis: var(--border); --funnel-grid: #ddd; @@ -279,7 +291,7 @@ $_lifecycle_dormant: $_danger; --recording-seekbar-red: var(--brand-red); --recording-hover-event: var(--primary-bg-hover); --recording-hover-event-mid: var(--primary-bg-active); - --recording-hover-event-dark: var(--primary); + --recording-hover-event-dark: var(--primary-3000); --recording-current-event: #eef2ff; --recording-current-event-dark: var(--primary-alt); --recording-failure-event: #fee9e2; @@ -317,7 +329,7 @@ $_lifecycle_dormant: $_danger; // which means they aren't available in the toolbar --toastify-color-dark: var(--accent-3000-dark); --toastify-color-light: var(--bg-light); - --toastify-color-info: var(--primary); + --toastify-color-info: var(--primary-3000); --toastify-color-success: var(--success); --toastify-color-warning: var(--warning); --toastify-color-error: var(--danger); diff --git a/package.json b/package.json index f89d7b151eb93..739b04566e4d3 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "@medv/finder": "^2.1.0", "@microlink/react-json-view": "^1.21.3", "@monaco-editor/react": "4.4.6", - "@posthog/icons": "0.2.0", + "@posthog/icons": "0.4.1", "@posthog/plugin-scaffold": "^1.4.4", "@react-hook/size": "^2.1.2", "@rrweb/types": "^2.0.0-alpha.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5369926d5c3d6..5df469d0bd22b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ dependencies: specifier: 4.4.6 version: 4.4.6(monaco-editor@0.39.0)(react-dom@18.2.0)(react@18.2.0) '@posthog/icons': - specifier: 0.2.0 - version: 0.2.0(react-dom@18.2.0)(react@18.2.0) + specifier: 0.4.1 + version: 0.4.1(react-dom@18.2.0)(react@18.2.0) '@posthog/plugin-scaffold': specifier: ^1.4.4 version: 1.4.4 @@ -3417,8 +3417,8 @@ packages: resolution: {integrity: sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==} dev: false - /@posthog/icons@0.2.0(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-ftFoIropSJaFbxzzt1eGOgJCsbK0+L5KDdxKcpbhl4nMbmCEI/awzj98l+0pp/JAJzDrAsqEou7MvdJrntOGbw==} + /@posthog/icons@0.4.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-sR7lDltjoAeExsOMZOZvCz8Z1rHbBqhZo8RABCCvx00MoBCUuydE1y2xpSoP5BVfMogY4ycDktnihw4ICUsb3Q==} peerDependencies: react: '>=16.14.0' react-dom: '>=16.14.0' @@ -5952,7 +5952,7 @@ packages: resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} dependencies: '@types/connect': 3.4.38 - '@types/node': 18.18.4 + '@types/node': 18.18.9 dev: true /@types/chart.js@2.9.37: @@ -5980,7 +5980,7 @@ packages: /@types/connect@3.4.38: resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} dependencies: - '@types/node': 18.18.4 + '@types/node': 18.18.9 dev: true /@types/cookie@0.4.1: @@ -6258,7 +6258,7 @@ packages: /@types/express-serve-static-core@4.17.41: resolution: {integrity: sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==} dependencies: - '@types/node': 18.18.4 + '@types/node': 18.18.9 '@types/qs': 6.9.10 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 @@ -6447,6 +6447,12 @@ packages: resolution: {integrity: sha512-t3rNFBgJRugIhackit2mVcLfF6IRc0JE4oeizPQL8Zrm8n2WY/0wOdpOPhdtG0V9Q2TlW/axbF1MJ6z+Yj/kKQ==} dev: true + /@types/node@18.18.9: + resolution: {integrity: sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==} + dependencies: + undici-types: 5.26.5 + dev: true + /@types/normalize-package-data@2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} dev: true @@ -6592,7 +6598,7 @@ packages: resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} dependencies: '@types/mime': 1.3.5 - '@types/node': 18.18.4 + '@types/node': 18.18.9 dev: true /@types/serve-static@1.15.4: @@ -6608,7 +6614,7 @@ packages: dependencies: '@types/http-errors': 2.0.4 '@types/mime': 3.0.4 - '@types/node': 18.18.4 + '@types/node': 18.18.9 dev: true /@types/set-cookie-parser@2.4.2: @@ -19008,6 +19014,10 @@ packages: which-boxed-primitive: 1.0.2 dev: true + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + dev: true + /unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'}