diff --git a/code/ui/manager/src/components/sidebar/Tree.tsx b/code/ui/manager/src/components/sidebar/Tree.tsx index dadff45d9988..e329310e6b88 100644 --- a/code/ui/manager/src/components/sidebar/Tree.tsx +++ b/code/ui/manager/src/components/sidebar/Tree.tsx @@ -132,7 +132,7 @@ export const LeafNodeStyleWrapper = styled.div(({ theme }) => ({ background: 'transparent', '&:hover, &:focus': { outline: 'none', - background: theme.background.hoverable, + background: transparentize(0.93, theme.color.secondary), }, '&[data-selected="true"]': { color: theme.color.lightest, diff --git a/code/ui/manager/src/components/sidebar/TreeNode.tsx b/code/ui/manager/src/components/sidebar/TreeNode.tsx index dc837accee6d..b4c662b358f3 100644 --- a/code/ui/manager/src/components/sidebar/TreeNode.tsx +++ b/code/ui/manager/src/components/sidebar/TreeNode.tsx @@ -72,7 +72,7 @@ const BranchNode = styled.button<{ fontSize: `${theme.typography.size.s2 - 1}px`, background: 'transparent', '&:hover, &:focus': { - background: theme.background.hoverable, + background: transparentize(0.93, theme.color.secondary), outline: 'none', }, })); diff --git a/scripts/release/pick-patches.ts b/scripts/release/pick-patches.ts index 82f1fe2b4a1a..eab1743dcc7b 100644 --- a/scripts/release/pick-patches.ts +++ b/scripts/release/pick-patches.ts @@ -4,9 +4,9 @@ import program from 'commander'; import chalk from 'chalk'; import ora from 'ora'; import { setOutput } from '@actions/core'; +import invariant from 'tiny-invariant'; import { git } from './utils/git-client'; import { getUnpickedPRs } from './utils/github-client'; -import invariant from 'tiny-invariant'; program.name('pick-patches').description('Cherry pick patch PRs back to main'); diff --git a/scripts/task.ts b/scripts/task.ts index 9e18d1f618c2..897957653413 100644 --- a/scripts/task.ts +++ b/scripts/task.ts @@ -6,6 +6,7 @@ import { join, resolve } from 'path'; import { prompt } from 'prompts'; import { dedent } from 'ts-dedent'; +import invariant from 'tiny-invariant'; import { CODE_DIRECTORY, JUNIT_DIRECTORY, SANDBOX_DIRECTORY } from './utils/constants'; import type { OptionValues } from './utils/options'; import { createOptions, getCommand, getOptionsOrPrompt } from './utils/options'; @@ -35,7 +36,6 @@ import { } from '../code/lib/cli/src/sandbox-templates'; import { version } from '../code/package.json'; -import invariant from 'tiny-invariant'; const sandboxDir = process.env.SANDBOX_ROOT || SANDBOX_DIRECTORY;