@@ -122,6 +122,7 @@ function matrixMultiply(row, matrix) {
122
122
* See the License for the specific language governing permissions and
123
123
* limitations under the License.
124
124
*/
125
+ // This file is automatically generated. Do not modify it.
125
126
/**
126
127
* Color science utilities.
127
128
*
@@ -699,6 +700,7 @@ class Cam16 {
699
700
* See the License for the specific language governing permissions and
700
701
* limitations under the License.
701
702
*/
703
+ // This file is automatically generated. Do not modify it.
702
704
// material_color_utilities is designed to have a consistent API across
703
705
// platforms and modular components that can be moved around easily. Using a
704
706
// class as a namespace facilitates this.
@@ -1209,6 +1211,21 @@ HctSolver.CRITICAL_PLANES = [
1209
1211
* See the License for the specific language governing permissions and
1210
1212
* limitations under the License.
1211
1213
*/
1214
+ /**
1215
+ * A color system built using CAM16 hue and chroma, and L* from
1216
+ * L*a*b*.
1217
+ *
1218
+ * Using L* creates a link between the color system, contrast, and thus
1219
+ * accessibility. Contrast ratio depends on relative luminance, or Y in the XYZ
1220
+ * color space. L*, or perceptual luminance can be calculated from Y.
1221
+ *
1222
+ * Unlike Y, L* is linear to human perception, allowing trivial creation of
1223
+ * accurate color tones.
1224
+ *
1225
+ * Unlike contrast ratio, measuring contrast in L* is linear, and simple to
1226
+ * calculate. A difference of 40 in HCT tone guarantees a contrast ratio >= 3.0,
1227
+ * and a difference of 50 guarantees a contrast ratio >= 4.5.
1228
+ */
1212
1229
/**
1213
1230
* HCT, hue, chroma, and tone. A color system that provides a perceptually
1214
1231
* accurate color measurement system that can also accurately render what colors
@@ -1299,6 +1316,7 @@ class Hct {
1299
1316
* See the License for the specific language governing permissions and
1300
1317
* limitations under the License.
1301
1318
*/
1319
+ // This file is automatically generated. Do not modify it.
1302
1320
// material_color_utilities is designed to have a consistent API across
1303
1321
// platforms and modular components that can be moved around easily. Using a
1304
1322
// class as a namespace facilitates this.
@@ -1534,6 +1552,7 @@ class CorePalette {
1534
1552
* See the License for the specific language governing permissions and
1535
1553
* limitations under the License.
1536
1554
*/
1555
+ // This file is automatically generated. Do not modify it.
1537
1556
/**
1538
1557
* Represents a Material color scheme, a mapping of color roles to colors.
1539
1558
*/
0 commit comments