Skip to content

Commit

Permalink
use new syntax for CSS color function values (#196)
Browse files Browse the repository at this point in the history
use new syntax for css color function values
  • Loading branch information
OnkarRuikar authored Sep 9, 2024
1 parent 6d9753d commit 82dc5e6
Show file tree
Hide file tree
Showing 117 changed files with 230 additions and 230 deletions.
10 changes: 5 additions & 5 deletions assets/styles.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* Some default styling for cookbook examples */
/*
rgb(53,43,34)
rgb(75,70,74)
rgb(95,97,110)
rgb(137,151,188)
rgb(160,178,226)
rgb(53 43 34)
rgb(75 70 74)
rgb(95 97 110)
rgb(137 151 188)
rgb(160 178 226)
*/
body {
background-color: #fff;
Expand Down
10 changes: 5 additions & 5 deletions backdrop/styles.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* Some default styling for cookbook examples */
/*
rgb(53,43,34)
rgb(75,70,74)
rgb(95,97,110)
rgb(137,151,188)
rgb(160,178,226)
rgb(53 43 34)
rgb(75 70 74)
rgb(95 97 110)
rgb(137 151 188)
rgb(160 178 226)
*/
body {
background-color: #fff;
Expand Down
4 changes: 2 additions & 2 deletions box-alignment/flexbox/auto-margins.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@

.box {
width: 500px;
border: 2px dotted rgb(96, 139, 168);
border: 2px dotted rgb(96 139 168);
}

.box > * {
padding: 20px;
border: 2px solid rgb(96, 139, 168);
border: 2px solid rgb(96 139 168);
border-radius: 5px;
background-color: rgb(96 139 168 / 0.2);
}
Expand Down
4 changes: 2 additions & 2 deletions box-alignment/flexbox/gap.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@

.box {
width: 500px;
border: 2px dotted rgb(96, 139, 168);
border: 2px dotted rgb(96 139 168);
}

.box > * {
padding: 20px;
border: 2px solid rgb(96, 139, 168);
border: 2px solid rgb(96 139 168);
border-radius: 5px;
background-color: rgb(96 139 168 / 0.2);
}
Expand Down
4 changes: 2 additions & 2 deletions box-alignment/overview/flex-align-items.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@

.box {
width: 500px;
border: 2px dotted rgb(96, 139, 168);
border: 2px dotted rgb(96 139 168);
}

.box > * {
padding: 20px;
border: 2px solid rgb(96, 139, 168);
border: 2px solid rgb(96 139 168);
border-radius: 5px;
background-color: rgb(96 139 168 / 0.2);
}
Expand Down
4 changes: 2 additions & 2 deletions box-alignment/overview/grid-align-items.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@

.box {
width: 500px;
border: 2px dotted rgb(96, 139, 168);
border: 2px dotted rgb(96 139 168);
}

.box > * {
padding: 20px;
border: 2px solid rgb(96, 139, 168);
border: 2px solid rgb(96 139 168);
border-radius: 5px;
background-color: rgb(96 139 168 / 0.2);
}
Expand Down
4 changes: 2 additions & 2 deletions box-alignment/overview/grid-gap.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@

.box {
width: 500px;
border: 2px dotted rgb(96, 139, 168);
border: 2px dotted rgb(96 139 168);
}

.box > * {
padding: 20px;
border: 2px solid rgb(96, 139, 168);
border: 2px solid rgb(96 139 168);
border-radius: 5px;
background-color: rgb(96 139 168 / 0.2);
}
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/center--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
height: 200px;
display: flex;
Expand All @@ -30,7 +30,7 @@
}

.item {
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
padding: 20px;
width: 10em;
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/center.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<link rel="stylesheet" href="styles.css" />
<style>
.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
}

.item {
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
padding: 20px;
}
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/columns-flexbox--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
}

.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px 10px;
display: flex;
}

.container > * {
padding: 10px;
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
margin: 0 10px;
flex: 1;
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/columns-flexbox-wrapping--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px 10px;
width: 500px;
Expand All @@ -31,7 +31,7 @@

.container > * {
padding: 10px;
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
margin: 0 10px;
flex: 1 1 200px;
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/columns-flexbox-wrapping.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

<style>
.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px 10px;
width: 500px;
}

.container > * {
padding: 10px;
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
}
</style>
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/columns-flexbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

<style>
.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px 10px;
}

.container > * {
padding: 10px;
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
}
</style>
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/columns-grid--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}

.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px;
width: 500px;
Expand All @@ -32,7 +32,7 @@

.container > * {
padding: 10px;
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
margin: 0;
}
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/columns-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

<style>
.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px;
width: 500px;
}

.container > * {
padding: 10px;
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
margin: 0;
}
Expand Down
4 changes: 2 additions & 2 deletions css-cookbook/columns-multicol--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
}

.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px;
column-width: 10em;
column-rule: 1px solid rgb(75, 70, 74);
column-rule: 1px solid rgb(75 70 74);
}
</style>
</head>
Expand Down
6 changes: 3 additions & 3 deletions css-cookbook/columns-multicol.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<style>
.container {
border: 2px solid rgb(75, 70, 74);
border: 2px solid rgb(75 70 74);
border-radius: 0.5em;
padding: 20px;
}
Expand All @@ -20,7 +20,7 @@
<style class="editable">
.container {
column-width: 10em;
column-rule: 1px solid rgb(75, 70, 74);
column-rule: 1px solid rgb(75 70 74);
}
</style>
</head>
Expand Down Expand Up @@ -51,7 +51,7 @@
<textarea class="playable playable-css">
.container {
column-width: 10em;
column-rule: 1px solid rgb(75, 70, 74);
column-rule: 1px solid rgb(75 70 74);
}</textarea
>

Expand Down
2 changes: 1 addition & 1 deletion css-cookbook/grid-wrapper--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

.grid > * {
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
padding: 20px;
}
Expand Down
2 changes: 1 addition & 1 deletion css-cookbook/grid-wrapper.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}

.grid > * {
border: 2px solid rgb(95, 97, 110);
border: 2px solid rgb(95 97 110);
border-radius: 0.5em;
padding: 20px;
}
Expand Down
2 changes: 1 addition & 1 deletion css-cookbook/sticky-footer--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

.page-header,
.page-footer {
background-color: rgb(75, 70, 74);
background-color: rgb(75 70 74);
color: #fff;
padding: 20px;
}
Expand Down
2 changes: 1 addition & 1 deletion css-cookbook/sticky-footer-flexbox--download.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
.page-header,
.page-footer {
background-color: rgb(75, 70, 74);
background-color: rgb(75 70 74);
color: #fff;
padding: 20px;
}
Expand Down
2 changes: 1 addition & 1 deletion css-cookbook/sticky-footer-flexbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

.page-header,
.page-footer {
background-color: rgb(75, 70, 74);
background-color: rgb(75 70 74);
color: #fff;
padding: 20px;
}
Expand Down
2 changes: 1 addition & 1 deletion css-cookbook/sticky-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

.page-header,
.page-footer {
background-color: rgb(75, 70, 74);
background-color: rgb(75 70 74);
color: #fff;
padding: 20px;
}
Expand Down
10 changes: 5 additions & 5 deletions css-cookbook/styles.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* Some default styling for cookbook examples */
/*
rgb(53,43,34)
rgb(75,70,74)
rgb(95,97,110)
rgb(137,151,188)
rgb(160,178,226)
rgb(53 43 34)
rgb(75 70 74)
rgb(95 97 110)
rgb(137 151 188)
rgb(160 178 226)
*/
body {
background-color: #fff;
Expand Down
10 changes: 5 additions & 5 deletions css-text/styles.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/* Some default styling for cookbook examples */
/*
rgb(53,43,34)
rgb(75,70,74)
rgb(95,97,110)
rgb(137,151,188)
rgb(160,178,226)
rgb(53 43 34)
rgb(75 70 74)
rgb(95 97 110)
rgb(137 151 188)
rgb(160 178 226)
*/
body {
background-color: #fff;
Expand Down
2 changes: 1 addition & 1 deletion display/multi-keyword/inline-flex.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}

.flex > div {
border: 2px solid rgb(96, 139, 168);
border: 2px solid rgb(96 139 168);
border-radius: 5px;
background-color: rgb(96 139 168 / 0.2);
}
Expand Down
2 changes: 1 addition & 1 deletion display/multi-keyword/multi-keyword-flex.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
}

.flex > * {
border: 2px solid rgb(96, 139, 168);
border: 2px solid rgb(96 139 168);
border-radius: 5px;
background-color: rgb(96 139 168 / 0.2);
}
Expand Down
Loading

0 comments on commit 82dc5e6

Please sign in to comment.