From d3a990e163dbaba3f32f9aaea6e89091343aa67e Mon Sep 17 00:00:00 2001
From: Jack Farley
Date: Mon, 25 Oct 2021 00:11:39 +1300
Subject: [PATCH 01/65] Fix incorrect function use
Change setHexa to use updateHSX instead of RGBtoHSV as wasn't updating properly
when format was set to HSL
---
tools/color-picker/script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/color-picker/script.js b/tools/color-picker/script.js
index c1aa252a..09775a0f 100644
--- a/tools/color-picker/script.js
+++ b/tools/color-picker/script.js
@@ -193,7 +193,7 @@ var UIColorPicker = (function UIColorPicker() {
this.b = parseInt(value.substr(4, 2), 16);
this.alpha = 1;
- this.RGBtoHSV();
+ this.updateHSX();
};
/*========== Conversion Methods ==========*/
From 1bcbdcc09fae3b44b3ef1421bdaa22e10b3f9997 Mon Sep 17 00:00:00 2001
From: "Peter G. Morales"
Date: Thu, 3 Nov 2022 06:44:15 -0400
Subject: [PATCH 02/65] Update marking.md
The alpha value for .transparency should be .6, not .2.
---
learn/tasks/values/marking.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/learn/tasks/values/marking.md b/learn/tasks/values/marking.md
index e56c77f8..147c95de 100644
--- a/learn/tasks/values/marking.md
+++ b/learn/tasks/values/marking.md
@@ -20,7 +20,7 @@ They have a link to [a color conversion tool](https://convertingcolors.com/hex-c
}
.transparency {
- background-color: rgba(134, 222, 250, .2);
+ background-color: rgba(134, 222, 250, .6);
}
```
From cf693401f3e5468246a3fb371c6b3342e0563b5e Mon Sep 17 00:00:00 2001
From: Harald Hanche-Olsen
Date: Tue, 11 Apr 2023 19:46:37 +0200
Subject: [PATCH 03/65] Fixed incorrect conversion to HWB
---
modules/colors.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/colors.html b/modules/colors.html
index d1663192..1974bbae 100644
--- a/modules/colors.html
+++ b/modules/colors.html
@@ -189,9 +189,9 @@
function createHWB(h, s, l, opacity) {
const cell = document.querySelector("#HWB td");
- const hsv = (s * ((l < 50) ? l : 100 - l)) / 100;
- let W = (hsv === 0) ? 0 : ((2 * hsv) / (l + hsv)) * 100;
- let B = l + hsv;
+ const chroma = s * (1 - Math.abs(l/50 - 1));
+ let W = l - chroma / 2;
+ let B = 100 - l - chroma / 2;
W = W.toFixed(1);
B = B.toFixed(1);
if (opacity === 1) {
From b4a20f56b903272b4903a4109120bdffce69ea4a Mon Sep 17 00:00:00 2001
From: Arvin Josol <86941482+Arvton@users.noreply.github.com>
Date: Wed, 19 Apr 2023 11:38:41 -0700
Subject: [PATCH 04/65] Fixed title of marking guide
Changed title from float marking guide to position marking guide
---
learn/tasks/position/marking.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/learn/tasks/position/marking.md b/learn/tasks/position/marking.md
index e504dfdc..8c1f929f 100644
--- a/learn/tasks/position/marking.md
+++ b/learn/tasks/position/marking.md
@@ -1,4 +1,4 @@
-# Floats Marking Guide
+# Position Marking Guide
The aim of the tasks are to demonstrate an understanding of the properties covered in the [Positioning](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning) lesson in Learn Web Development on MDN.
From 744773b3d37ad900283d4a210d3e89725a7f2a27 Mon Sep 17 00:00:00 2001
From: Estelle Weyl
Date: Sun, 23 Apr 2023 18:04:44 -0700
Subject: [PATCH 05/65] CSS Modules example: overflow
---
modules/overflow.html | 172 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 172 insertions(+)
create mode 100644 modules/overflow.html
diff --git a/modules/overflow.html b/modules/overflow.html
new file mode 100644
index 00000000..90020584
--- /dev/null
+++ b/modules/overflow.html
@@ -0,0 +1,172 @@
+
+
+
+
+
+ Overflow
+
+
+
+
+
+
+ Oh, Rubber Duckie, you're the one
+ You make bath time lots of fun
+ Rubber Duckie, I'm awfully fond of you
+
+ Rubber Duckie, joy of joys
+ When I squeeze you, you make noise
+ Rubber Duckie, you're my very best friend, it's true
+
+ Oh, every day when I make my way to the tubby
+ I find a little fella who's cute and yellow and chubby
+ Rub-a-dub-dubby
+
+ Rubber Duckie, you're so fine
+ And I'm lucky that you're mine
+ Rubber Duckie, I'm awfully fond of you
+