Skip to content

Commit

Permalink
Merge pull request #1458 from nsbno/change_color_of_service_alert_glo…
Browse files Browse the repository at this point in the history
…bal_deviation

Change color of ServiceAlert global-deviation variant
  • Loading branch information
matsfolles authored Jan 13, 2025
2 parents 2477155 + 793e13f commit 2df8bc3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/kind-impalas-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vygruppen/spor-react": patch
---

Changed color of the ServiceAlert varient global-deviation to be the same as a regular service alert
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 12 additions & 8 deletions packages/spor-react/src/theme/components/alert-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,27 @@ const config = helpers.defineMultiStyleConfig({
"global-deviation": {
container: {
_hover: {
outlineColor: "primrose",
backgroundColor: "teal.600",
outlineColor: "teal.600",
},
_focus: {
outlineColor: "green.500",
},
_active: {
backgroundColor: "blonde",
outlineColor: "primrose",
backgroundColor: "teal.400",
outlineColor: "pine",
},
color: "darkGrey",
color: "white",
},
outerBox: {
outlineColor: "primrose",
backgroundColor: "blonde",
outlineColor: "blueGreen",
backgroundColor: "darkTeal",
},
notificationText: {
color: "darkGrey",
color: "white",
},
serviceMessageContent: {
color: "darkGrey",
color: "white",
},
},
service: {
Expand Down

0 comments on commit 2df8bc3

Please sign in to comment.