Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(3000): 3000 colors #18545

Merged
merged 184 commits into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
3cd1fae
secondary button in dark mode
corywatilo Nov 8, 2023
92285d9
secondary button in light mode
corywatilo Nov 8, 2023
f7ce05d
styles for normal sized buttons
corywatilo Nov 8, 2023
c164994
don't force buttons to be full width (and also let event buttons be i…
corywatilo Nov 8, 2023
59e9f01
move padding to its own class
corywatilo Nov 9, 2023
1202a68
primary button spacing polish
corywatilo Nov 9, 2023
cd520b7
nuking stealth styles
corywatilo Nov 9, 2023
81b06f9
styled navbar buttons
corywatilo Nov 9, 2023
7a3dd72
primary button colors in dark mode
corywatilo Nov 9, 2023
a4a44f6
container for buttons in date range, min-heights for buttons
corywatilo Nov 9, 2023
e4c9915
selected button background color
corywatilo Nov 9, 2023
448b273
active button positioning when hovered
corywatilo Nov 9, 2023
9eaf98b
fixed primary active background
corywatilo Nov 9, 2023
49a1b53
navbar hover state
corywatilo Nov 9, 2023
6dd9b65
fixing one thing but probably breaking something else (can't remember)
corywatilo Nov 9, 2023
d9a21d2
merge conflicts, remove clang
corywatilo Nov 9, 2023
bb22b94
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 9, 2023
0f96e12
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 9, 2023
b23f162
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 9, 2023
ddda468
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 9, 2023
939dde8
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 9, 2023
665a4b5
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 9, 2023
95beb1d
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 9, 2023
507d812
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 9, 2023
4bfbcc0
resize nav
corywatilo Nov 10, 2023
b719cfa
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 10, 2023
a9270b0
fixed dropdown button stylin
corywatilo Nov 10, 2023
032368c
Merge branch 'buttons-3000' of https://github.com/PostHog/posthog int…
corywatilo Nov 10, 2023
75394f7
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 10, 2023
39861c0
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 10, 2023
d8160c4
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 10, 2023
5576c7f
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 10, 2023
5db6b63
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 10, 2023
d7b2fbf
initial link colors
daibhin Nov 10, 2023
7b79c67
css cleanup
daibhin Nov 10, 2023
6af85f7
link hover state
daibhin Nov 10, 2023
4d4129b
posthog 3000 dark active color
daibhin Nov 10, 2023
f37ea03
highlight colors
daibhin Nov 10, 2023
2c36274
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 10, 2023
7093f47
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 10, 2023
815ac19
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 10, 2023
d14aa85
cleanup merges
daibhin Nov 10, 2023
3344f81
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 10, 2023
e42b472
non 3000 min width
daibhin Nov 10, 2023
5261d3a
retain old styles
daibhin Nov 10, 2023
a32a7bf
no motion option for buttons
daibhin Nov 10, 2023
767d0d8
make all tertiary buttons motionless
daibhin Nov 10, 2023
209461a
centered buttons & disabled hover state
daibhin Nov 10, 2023
26f94cb
remove outline
daibhin Nov 13, 2023
fbf88d7
primary side icon
daibhin Nov 13, 2023
0f3b16f
menu states
daibhin Nov 13, 2023
8997ef7
Merge branch 'master' into buttons-3000
daibhin Nov 13, 2023
eed9740
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 13, 2023
7dee599
add hover state to nav buttons
daibhin Nov 13, 2023
8015bd3
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 13, 2023
b6899b2
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 13, 2023
23d3650
3D border on overlays, modals
corywatilo Nov 14, 2023
ea63a3f
Merge branch 'buttons-3000' into dn-feat/link-colors
corywatilo Nov 14, 2023
be183ce
table background, table link/text colors
corywatilo Nov 14, 2023
6cdef9c
feat(3000): Breadcrumbs bar as dynamic page header (#18426)
daibhin Nov 14, 2023
f4df5cc
feat(web-analytics): design tweaks (#18559)
robbie-c Nov 13, 2023
d369e5c
feat: use new icons library for billing products (#18023)
raquelmsmith Nov 13, 2023
36e0203
chore(deps): Update posthog-js to 1.89.1 (#18587)
posthog-bot Nov 13, 2023
824f8c2
fix(feature flags): add back test assertion (#18590)
jurajmajerik Nov 14, 2023
8d3a55b
chore: Add admin models for flag, experiment, and cohorts (#18579)
neilkakkar Nov 14, 2023
3680691
feat(hogql-queries): Lifecycle upgrades (#18574)
mariusandra Nov 14, 2023
6a7a2b9
fix(notebooks): convert funnel type to lemon ui (#18593)
thmsobrmlr Nov 14, 2023
b5c6e96
fix: Reset structlog on temporal worker (#18581)
tomasfarias Nov 14, 2023
8e16a8e
chore: update new property form (#18576)
daibhin Nov 14, 2023
87512cc
navbar hover states
daibhin Nov 14, 2023
cec88cc
segmented button style
daibhin Nov 14, 2023
ba3c8cd
stop navbar jumping
daibhin Nov 14, 2023
2470f5c
navbar motion
daibhin Nov 14, 2023
d21c713
side icon hover states
daibhin Nov 14, 2023
bac15f9
wip popover buttons
daibhin Nov 14, 2023
0325608
kill link transitions
corywatilo Nov 14, 2023
724aa0a
use padding for td height (vs explicit height)
corywatilo Nov 14, 2023
2cad4bd
Merge branch 'master' into dn-feat/link-colors
corywatilo Nov 14, 2023
6c93a19
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 14, 2023
73080da
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 14, 2023
9a34746
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 14, 2023
f7e1fe5
Merge branch 'buttons-3000' into dn-feat/link-colors
corywatilo Nov 14, 2023
9651dd7
Merge branch 'dn-feat/link-colors' of https://github.com/PostHog/post…
corywatilo Nov 14, 2023
e388b91
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 14, 2023
e12f6ba
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 14, 2023
6e1e076
colorized text links already inside anchors in tables
corywatilo Nov 14, 2023
9a84d48
slimmer table loading bar
corywatilo Nov 14, 2023
2016860
smaller table buttons
corywatilo Nov 14, 2023
12c12ca
fixed a merge duplication
corywatilo Nov 14, 2023
72c0991
tighten vertical padding on buttons in tables
corywatilo Nov 14, 2023
36c8d48
updated UI for events, properties, updated icon package
corywatilo Nov 14, 2023
314558e
tighten loading bar
corywatilo Nov 14, 2023
5aec21d
Merge branch 'dn-feat/link-colors' of https://github.com/PostHog/post…
corywatilo Nov 14, 2023
6e8e23b
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 14, 2023
c45d756
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 14, 2023
afab6ed
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 14, 2023
d63280d
Update query snapshots
github-actions[bot] Nov 14, 2023
88450b4
Update query snapshots
github-actions[bot] Nov 14, 2023
4bcbf0c
dark mode colors
corywatilo Nov 15, 2023
878950d
table height
corywatilo Nov 15, 2023
b954934
Merge branch 'dn-feat/link-colors' of https://github.com/PostHog/post…
corywatilo Nov 15, 2023
528765e
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 15, 2023
d5f05f3
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 15, 2023
fb26aff
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 15, 2023
b05f2b2
callout color
corywatilo Nov 15, 2023
1874fd1
Merge branch 'dn-feat/link-colors' of https://github.com/PostHog/post…
corywatilo Nov 15, 2023
0d156fe
contrasts background for nested collapsible things (surveys)
corywatilo Nov 15, 2023
91d5228
don't wrap tab text
corywatilo Nov 15, 2023
59a6739
Merge branch 'master' into buttons-3000
daibhin Nov 15, 2023
dda6dc1
replace snapshots with master
daibhin Nov 15, 2023
22bea71
remoove menu item styling and cleanup motion
daibhin Nov 15, 2023
a2ccda9
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 15, 2023
b7e720d
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 15, 2023
6eb23db
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 15, 2023
872af00
Merge branch 'buttons-3000' into dn-feat/link-colors
corywatilo Nov 15, 2023
d203f04
fixed table regressions in old UI
corywatilo Nov 15, 2023
d469afb
fixed active switch colors in old UI
corywatilo Nov 15, 2023
2a6b733
dark title
corywatilo Nov 15, 2023
98d5c69
makes experiment result header clickable (results below with negative…
corywatilo Nov 15, 2023
310b73e
changed background color on content pane (needed for experiments)
corywatilo Nov 15, 2023
e9b7e79
renamed products to match website
corywatilo Nov 15, 2023
fc8ab26
updated product analytics icons
corywatilo Nov 15, 2023
c7ebfe1
page rename
corywatilo Nov 15, 2023
d277166
table color on hover
corywatilo Nov 15, 2023
087dc1a
casing and naming consistency
corywatilo Nov 15, 2023
7a5cba4
removed unnecessary icon
corywatilo Nov 15, 2023
d6edb8a
more casing and naming
corywatilo Nov 15, 2023
cc3cc6c
updated icon pkg
corywatilo Nov 15, 2023
3991d22
move icon to left
corywatilo Nov 15, 2023
6fa587f
outline tags (vs full color bg)
corywatilo Nov 15, 2023
b672773
make property edit mode indicator more obvious
corywatilo Nov 15, 2023
d06384b
slightly better hover/active colors
corywatilo Nov 16, 2023
b5df944
survey template background
corywatilo Nov 16, 2023
cdc7741
table header colors
corywatilo Nov 16, 2023
cdb20ec
removed old prop
corywatilo Nov 16, 2023
294d9d3
restored missing th css
corywatilo Nov 16, 2023
70832e5
don't color text-links inside buttons
corywatilo Nov 16, 2023
d916f3a
stylized taxonomic tags
corywatilo Nov 16, 2023
b23560f
Merge branch 'master' into dn-feat/link-colors
corywatilo Nov 16, 2023
b3ba762
fix primary button active color
corywatilo Nov 16, 2023
26bc19d
changes from review
corywatilo Nov 16, 2023
d27e9bf
swap small buttons for regular buttons
corywatilo Nov 16, 2023
504b0e1
probably not doing colors right
corywatilo Nov 16, 2023
6de4514
inverted segmented buton active color (light)
corywatilo Nov 16, 2023
eb7d4c8
let people select page titles
corywatilo Nov 16, 2023
fc25ad9
eliminate double border
corywatilo Nov 16, 2023
76e04cf
comment fixes
daibhin Nov 17, 2023
a2e5ad2
Merge branch 'master' into dn-feat/link-colors
daibhin Nov 17, 2023
57db24a
rebase master snapshots
daibhin Nov 17, 2023
78309ca
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 17, 2023
40c7660
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 17, 2023
6ff8d80
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 17, 2023
d168693
toned down some link colors in replay
corywatilo Nov 17, 2023
331564c
remove button opacity transition
corywatilo Nov 17, 2023
5efcdf2
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 17, 2023
b5cea22
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 17, 2023
d859b67
fix some colors
daibhin Nov 17, 2023
aed587c
reset snapshots
daibhin Nov 17, 2023
53205bf
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 17, 2023
dbe8974
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 17, 2023
388db32
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 17, 2023
f5a794b
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 17, 2023
42dfc2b
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 17, 2023
fe36900
Merge branch 'master' into dn-feat/link-colors
daibhin Nov 17, 2023
208a216
Merge branch 'master' into dn-feat/link-colors
daibhin Nov 17, 2023
d363e52
review feedback
daibhin Nov 17, 2023
08be0b5
use master snapshots
daibhin Nov 17, 2023
f508b8c
last little tweaks
daibhin Nov 17, 2023
ccc909a
make all filter buttons the same size
daibhin Nov 17, 2023
45a5a41
reset four snapshots
daibhin Nov 17, 2023
b7d16cd
fix last colors
daibhin Nov 17, 2023
ac63c27
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 17, 2023
7b05a87
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 17, 2023
1627c18
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 17, 2023
039c7b3
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 17, 2023
aa05aa4
Merge branch 'master' into dn-feat/link-colors
corywatilo Nov 17, 2023
83e3f99
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 17, 2023
3855bcf
fix tests
daibhin Nov 20, 2023
7716735
Merge branch 'master' into dn-feat/link-colors
daibhin Nov 20, 2023
b3492ec
fixup snapshots
daibhin Nov 20, 2023
6acc6ee
Merge branch 'master' into dn-feat/link-colors
daibhin Nov 20, 2023
9d34e5e
Update UI snapshots for `webkit` (2)
github-actions[bot] Nov 20, 2023
af93899
Update UI snapshots for `chromium` (1)
github-actions[bot] Nov 20, 2023
95f0bc9
Update UI snapshots for `chromium` (2)
github-actions[bot] Nov 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/e2e/early-access-management.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/insights.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/lemon-ui-lemon-table--empty-loading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/lemon-ui-lemon-table--loading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/posthog-3000-navigation--navigation-base.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-events--event-explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-insights--lifecycle--webkit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-insights--lifecycle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-insights--stickiness--webkit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-insights--stickiness.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-insights--trends-table-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-insights--trends-table.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/__snapshots__/scenes-app-insights--trends-value.png
Binary file modified frontend/__snapshots__/scenes-app-saved-insights--list-view.png
Binary file modified frontend/__snapshots__/scenes-app-surveys--survey-templates.png
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

&--actionable {
cursor: pointer;
color: var(--primary);
color: var(--primary-3000);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/layout/navigation/SideBar/SideBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function Pages(): JSX.Element {
<PageButton
icon={<IconRocketLaunch />}
identifier={Scene.EarlyAccessFeatures}
title={'Early Access Management'}
title={'Early access features'}
to={urls.earlyAccessFeatures()}
/>
<div className="SideBar__heading">Data</div>
Expand All @@ -210,7 +210,7 @@ function Pages(): JSX.Element {
icon={<IconLive />}
identifier={Scene.Events}
to={urls.events()}
title={'Event Explorer'}
title={'Event explorer'}
/>
<PageButton
icon={<IconUnverifiedEvent />}
Expand All @@ -230,7 +230,7 @@ function Pages(): JSX.Element {
<PageButton
icon={<IconDatabase />}
identifier={Scene.DataWarehouse}
title={'Data Warehouse'}
title={'Data warehouse'}
to={urls.dataWarehouse()}
highlight="beta"
/>
Expand All @@ -240,7 +240,7 @@ function Pages(): JSX.Element {
<div className="SideBar__heading">Apps</div>
{canViewPlugins(currentOrganization) && (
<PageButton
title="Browse Apps"
title="Browse apps"
icon={<IconApps />}
identifier={Scene.Apps}
to={urls.projectApps()}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/layout/navigation/TopBar/TopBar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
samplingNotice={
insight.filters.sampling_factor && insight.filters.sampling_factor < 1 ? (
<Tooltip title={`Results calculated from ${100 * insight.filters.sampling_factor}% of users`}>
<PieChartFilled className="mr-2" style={{ color: 'var(--primary-light)' }} />
<PieChartFilled className="mr-2" style={{ color: 'var(--primary-3000-hover)' }} />
</Tooltip>
) : null
}
Expand All @@ -133,7 +133,7 @@
</>
)}
{editable && updateColor && (
<LemonButtonWithDropdown

Check warning on line 136 in frontend/src/lib/components/Cards/InsightCard/InsightMeta.tsx

View workflow job for this annotation

GitHub Actions / Code quality checks

<LemonButtonWithDropdown> is forbidden, use <LemonMenu> with a <LemonButton> child instead
status="stealth"
dropdown={{
overlay: Object.values(InsightColor).map((availableColor) => (
Expand Down Expand Up @@ -165,7 +165,7 @@
</LemonButtonWithDropdown>
)}
{editable && moveToDashboard && otherDashboards.length > 0 && (
<LemonButtonWithDropdown

Check warning on line 168 in frontend/src/lib/components/Cards/InsightCard/InsightMeta.tsx

View workflow job for this annotation

GitHub Actions / Code quality checks

<LemonButtonWithDropdown> is forbidden, use <LemonMenu> with a <LemonButton> child instead
status="stealth"
dropdown={{
overlay: otherDashboards.map((otherDashboard) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
cursor: pointer;

&::after {
background: var(--primary);
background: var(--primary-3000);
}
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/components/DebugNotice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function DebugNotice(): JSX.Element | null {

return (
<div className="bg-bg-light cursor-pointer border-t" onClick={() => setNoticeHidden(true)}>
<div className="p-2 border-l-4 border-primary text-primary-dark truncate flex justify-between">
<div className="p-2 border-l-4 border-primary text-primary-3000 truncate flex justify-between">
<b>DEBUG mode</b>
<LemonButton
status="primary-alt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}

&.taxonomy-icon-built-in {
color: var(--primary);
color: var(--primary-3000);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
border-radius: 4px;

&.SelectableElement--selected {
background: var(--primary);
background: var(--primary-3000);
}

&:hover {
background: var(--primary-light);
background: var(--primary-3000-hover);
}

&:active {
background: var(--primary-dark);
background: var(--primary-3000-active);
}
}
2 changes: 1 addition & 1 deletion frontend/src/lib/components/Map/Maplibre.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.maplibregl-ctrl-attrib-button:focus,
.maplibregl-ctrl-group button:focus {
box-shadow: 0 0 2px 2px var(--primary);
box-shadow: 0 0 2px 2px var(--primary-3000);
}

@media screen {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const ProductIntroduction = ({
{action ? (
<LemonButton
type="primary"
sideIcon={<IconPlus />}
icon={<IconPlus />}
onClick={() => {
updateHasSeenProductIntroFor(productKey, true)
action && action()
Expand Down
45 changes: 34 additions & 11 deletions frontend/src/lib/components/PropertiesTable/PropertiesTable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,42 @@
}

.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;
}
}

.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 {
> * {
Expand All @@ -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);
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -85,18 +86,19 @@ function ValueDisplay({
const valueComponent = (
<span
className={clsx(
'relative inline-flex items-center flex flex-row flex-nowrap w-fit break-all',
'relative inline-flex gap-1 items-center flex flex-row flex-nowrap w-fit break-all',
canEdit ? 'editable ph-no-capture' : 'ph-no-capture'
)}
onClick={() => canEdit && textBasedTypes.includes(valueType) && setEditing(true)}
>
{!isURL(value) ? (
valueString
<span>{valueString}</span>
) : (
<Link to={value} target="_blank" className="value-link" targetBlankIcon>
{valueString}
</Link>
)}
daibhin marked this conversation as resolved.
Show resolved Hide resolved
{canEdit && <IconPencil />}
</span>
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
font-size: 12px;

&.selected {
background-color: var(--primary);
background-color: var(--primary-3000);
color: #fff;
}
}
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/lib/components/TaxonomicFilter/InfiniteList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}

&.taxonomy-icon-built-in {
color: var(--primary);
color: var(--primary-3000);
}
}
}
Expand Down Expand Up @@ -86,7 +86,7 @@
}

&.expand-row {
color: var(--primary);
color: var(--primary-3000);
}
}
}
13 changes: 13 additions & 0 deletions frontend/src/lib/components/TaxonomicFilter/TaxonomicFilter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@
background: var(--side);
border-color: var(--side);

.posthog-3000 & {
color: var(--default);
font-weight: 500;

&:not(.taxonomic-pill-active) {
daibhin marked this conversation as resolved.
Show resolved Hide resolved
opacity: 0.7;
}

&:hover {
opacity: 1;
}
}

&.taxonomic-count-zero {
color: var(--muted);
cursor: not-allowed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand All @@ -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);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

.LemonActionableTooltip__icon {
color: var(--primary);
color: var(--primary-3000);
display: flex;
align-items: center;
width: 1.5rem;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/lemon-ui/LemonBadge/LemonBadge.scss
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/lib/lemon-ui/LemonButton/LemonButton3000.scss
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Loading
Loading