Skip to content

Commit

Permalink
Snow - Fix for light theme (#2705)
Browse files Browse the repository at this point in the history
* fix

* bump images

* undo bump

* apply review
  • Loading branch information
dbadura authored Dec 22, 2023
1 parent 1320a43 commit daa252a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: busola
image: europe-docker.pkg.dev/kyma-project/dev/busola-web:PR-2704
image: europe-docker.pkg.dev/kyma-project/dev/busola-web:PR-2705
imagePullPolicy: Always
resources:
requests:
Expand Down
6 changes: 5 additions & 1 deletion src/components/App/Snow/Snow.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { themeState } from '../../../state/preferences/themeAtom';
import { useFeature } from '../../../hooks/useFeature';

const WHITE_SNOW = 'white';
const LIGHT_BLUE_SNOW = '#4db1ff';
const LIGHT_BLUE_SNOW = '#d4e8ff';

function Snow() {
const [theme] = useRecoilState(themeState);
Expand All @@ -20,6 +20,10 @@ function Snow() {
case 'sap_horizon_hcb':
snowColor = WHITE_SNOW;
break;
case 'sap_horizon':
case 'sap_horizon_hcw': {
break;
}
default: {
if (isSystemThemeDark()) {
snowColor = WHITE_SNOW;
Expand Down

0 comments on commit daa252a

Please sign in to comment.