Skip to content

Commit a373486

Browse files
authored
Fix some style deprecation warnings (#3428)
1 parent 5a5677c commit a373486

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

  • src
    • TeachingRecordSystem.AuthorizeAccess/Styles
    • TeachingRecordSystem.SupportUi/Styles

src/TeachingRecordSystem.AuthorizeAccess/Styles/app.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
.trs-empty-fallback {
10-
color: govuk-colour("dark-grey");
10+
color: govuk-colour("black", $variant: "tint-25");
1111
}
1212

1313
.trs-panel--interruption__link-button {
@@ -20,6 +20,6 @@
2020
@include govuk-font($size: 19);
2121

2222
&:hover {
23-
color: govuk-colour("light-grey");
23+
color: govuk-colour("black", $variant: "tint-95");
2424
}
2525
}

src/TeachingRecordSystem.SupportUi/Styles/app.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939

4040
$env-colors: (
4141
"local": "orange",
42-
"dev": "light-green",
43-
"review": "pink",
44-
"pre-production": "bright-purple",
45-
"tps-sandbox": "turquoise"
42+
"dev": govuk-colour("green", $variant: "tint-25"),
43+
"review": govuk-colour("magenta", $variant: "primary"),
44+
"pre-production": govuk-colour("magenta", $variant: "shade-25"),
45+
"tps-sandbox": govuk-colour("teal", $variant: "primary")
4646
);
4747

4848
@each $env, $color in $env-colors {
4949
&--#{$env} {
50-
outline: 5px solid govuk-colour($color);
50+
outline: 5px solid $color;
5151
}
5252
}
5353
}
@@ -59,7 +59,7 @@
5959
}
6060

6161
.trs-subtle-emphasis {
62-
color: govuk-colour("mid-grey");
62+
color: govuk-colour("black", $variant: "tint-80");
6363
}
6464

6565
.trs-monospace {
@@ -282,7 +282,7 @@
282282
}
283283

284284
.trs-filter__container {
285-
background-color: govuk-colour("light-grey");
285+
background-color: govuk-colour("black", $variant: "tint-95");
286286
padding: 20px;
287287
}
288288

@@ -363,7 +363,7 @@
363363

364364
.trs-tile {
365365
@include govuk-link-common;
366-
background-color: govuk-colour("light-grey");
366+
background-color: govuk-colour("black", $variant: "tint-95");
367367
color: govuk-colour("black");
368368
display: block;
369369
text-decoration: none;

0 commit comments

Comments
 (0)