Skip to content

Commit

Permalink
fix(ui): replace transparent background for Alert (#515)
Browse files Browse the repository at this point in the history
* fix(ui): replace transparent background for Alert

* fix(e2e): tests

* fix(ci): pnpm version bump

* fix(e2e): tests

* fix(e2e): tests

* fix(ci): loki version bump and set browser version

* fix(e2e): tests

* fix(ci): pull docker image

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests

* fix(e2e): tests
  • Loading branch information
matochu authored Sep 27, 2023
1 parent ddd3509 commit d231d00
Show file tree
Hide file tree
Showing 35 changed files with 259 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
name: Install pnpm
id: pnpm-install
with:
version: 7
version: 8
run_install: false

- name: Get pnpm store directory
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.
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.
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.
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.
6 changes: 3 additions & 3 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"build-storybook": "build-storybook",
"publish-storybook": "chromatic --storybook-build-dir storybook-static --project-token $CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes",
"chromatic": "chromatic --project-token=CHROMATIC_PROJECT_TOKEN",
"test:visual": "loki --verboseRenderer --requireReference --reactUri file:./storybook-static --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"test:visual": "loki --verboseRenderer --requireReference --chromeTolerance 3 --reactUri file:./storybook-static --chromeDockerImage 'yukinying/chrome-headless-browser-stable:110.0.5481.77' --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"test:visual:approve": "loki approve",
"generate-screenshots": "pnpm run build-storybook && loki update --reactUri file:./storybook-static --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"generate-screenshots": "pnpm run build-storybook && loki update --reactUri file:./storybook-static --chromeDockerImage 'yukinying/chrome-headless-browser-stable:110.0.5481.77' --chromeFlags='--headless --disable-gpu --hide-scrollbars --no-sandbox --allow-file-access-from-files'",
"lint": "pnpm run lint:ts && pnpm run lint:css",
"lint:fix": "pnpm run lint:ts:fix && pnpm run lint:css:fix",
"lint:ts": "eslint --ext .ts,.tsx .",
Expand Down Expand Up @@ -95,7 +95,7 @@
"doiuse": "^4.4.1",
"enzyme": "^3.11.0",
"jest-axe": "^5.0.1",
"loki": "^0.31.1",
"loki": "^0.32.0",
"postcss": "^8.4.23",
"postcss-cli": "^9.1.0",
"postcss-reporter": "^7.0.5",
Expand Down
8 changes: 4 additions & 4 deletions packages/ui/src/Alert.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
&.success {
color: c.$colorText;
border-color: c.$colorSuccess;
background-color: rgba(c.$colorSuccess, 30%);
background-color: c.$colorSuccessLight;

.icon {
color: c.$colorText;
Expand All @@ -55,7 +55,7 @@
&.info {
color: c.$colorText;
border-color: c.$colorInfo;
background-color: rgba(c.$colorInfo, 30%);
background-color: c.$colorInfoLight;

.icon {
color: c.$colorText;
Expand All @@ -72,7 +72,7 @@
&.warning {
color: c.$colorText;
border-color: c.$colorWarning;
background-color: rgba(c.$colorWarning, 30%);
background-color: c.$colorWarningLight;

.icon {
color: c.$colorText;
Expand All @@ -89,7 +89,7 @@
&.critical {
color: c.$colorText;
border-color: c.$colorError;
background-color: rgba(c.$colorError, 30%);
background-color: c.$colorErrorLight;

.icon {
color: c.$colorText;
Expand Down
Loading

0 comments on commit d231d00

Please sign in to comment.