diff --git a/.oxlintrc.json b/.oxlintrc.json index 8a58e6c3dae..bfe5fc51e14 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -333,6 +333,10 @@ "importNames": ["colors"], "message": "Please use themes instead of colors" }, + { + "group": ["**/style/themes/*"], + "message": "Please do not import theme files directly" + }, { "group": ["@actual-app/web/**/*"], "message": "Please do not import `@actual-app/web` in `loot-core`" diff --git a/packages/desktop-client/src/components/manager/subscribe/Login.tsx b/packages/desktop-client/src/components/manager/subscribe/Login.tsx index 9bfffcaac90..052f7726779 100644 --- a/packages/desktop-client/src/components/manager/subscribe/Login.tsx +++ b/packages/desktop-client/src/components/manager/subscribe/Login.tsx @@ -29,7 +29,6 @@ import { } from '@desktop-client/components/ServerContext'; import { useNavigate } from '@desktop-client/hooks/useNavigate'; import { useDispatch } from '@desktop-client/redux'; -import { warningBackground } from '@desktop-client/style/themes/dark'; import { loggedIn } from '@desktop-client/users/usersSlice'; function PasswordLogin({ setError, dispatch }) { @@ -171,13 +170,11 @@ function OpenIdLogin({ setError }) {