Skip to content

Commit

Permalink
fix(css): fix contrast of 9 CSS examples (#2473)
Browse files Browse the repository at this point in the history
* fix(css): fix contrast of counter-set.css

* fix(css): fix contrast of float

* fix(css): fix contrast of css examples

This commit will improve contrast of inset, inset-inline, inset-block-end, inset-block-start, inset-block, inset-inline-end, and inset-inline-start.
  • Loading branch information
rohini-ranjanR authored Mar 7, 2023
1 parent 6343ab5 commit 19146d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions live-examples/css-examples/basic-box-model/float.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
}

#example-element {
border: solid 10px #ffc129;
background-color: rgba(255, 244, 219, 0.6);
border: solid 10px #efac09;
background-color: #040d46;
color: white;
padding: 1em;
width: 40%;
}
3 changes: 2 additions & 1 deletion live-examples/css-examples/lists/counter-set.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
}

#example-element {
background-color: lightblue;
background-color: #37077c;
color: white;
}

h2 {
Expand Down
7 changes: 4 additions & 3 deletions live-examples/css-examples/positioned-layout/inset.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.example-container {
border: 0.75em solid;
border: 0.75em solid #ad1457;
padding: 0.75em;
text-align: left;
position: relative;
Expand All @@ -8,8 +8,9 @@
}

#example-element {
background-color: #ff7100;
border: 3px solid #ff0000;
background-color: #07136c;
border: 6px solid #ffa000;
color: white;
position: absolute;
inset: 0;
}

0 comments on commit 19146d0

Please sign in to comment.