Skip to content

Commit 5d5bc41

Browse files
authored
Refactor deprecated content styles and update yellow color variables for improved accessibility (#2044)
1 parent c9f3932 commit 5d5bc41

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

assets/css/content/functions.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@
107107

108108
.content-inner div.deprecated {
109109
display: block;
110-
padding: 9px 15px;
110+
padding: 1em;
111111
background-color: var(--fnDeprecated);
112+
border-radius: var(--borderRadius);
113+
margin: var(--baseLineHeight) 0;
112114
}

assets/css/custom-props/common.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
--coldGray-opacity-10: hsla(240, 5%, 46%, 10%);
4141
--coldGrayDark: hsl(240, 5%, 28%);
4242
--coldGrayDim: hsl(240, 5%, 18%);
43-
--yellowLight: hsl(60, 100%, 81%);
44-
--yellowDark: hsl(60, 100%, 43%, 62%);
43+
--yellowLight: hsl(43, 100%, 95%);
44+
--yellowDark: hsl(44, 100%, 15%);
4545
--yellow: hsl(60, 100%, 43%);
4646
--green-lightened-10: hsl(90, 100%, 45%);
4747
--green: hsl(90, 100%, 35%);

0 commit comments

Comments
 (0)