@@ -56,32 +56,32 @@ public class He.MonochromaticScheme : SchemeFactory, Object {
56
56
// ___ ____ _ _ _ ____ ____ _ _
57
57
// |__] |__/ | |\/| |__| |__/ \_/
58
58
// | | \ | | | | | | \ |
59
- primary_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? new ContrastCurve (contrast, 75 , 80 , 85 , 90 ). contrast_level : new ContrastCurve (contrast, 45 , 40 , 35 , 20 ). contrast_level),
60
- on_primary_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? 20.0 : 100.0 ),
59
+ primary_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? new ContrastCurve (contrast, 95 , 100 , 100 , 100 ). contrast_level : new ContrastCurve (contrast, 0 , 0 , 0 , 5 ). contrast_level),
60
+ on_primary_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? new ContrastCurve (contrast, 15 , 20 , 25 , 30 ) . contrast_level : new ContrastCurve (contrast, 90 , 100 , 100 , 100 ) . contrast_level ),
61
61
primary_container_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? new ContrastCurve (contrast, 25 , 30 , 35 , 40 ). contrast_level : new ContrastCurve (contrast, 95 , 90 , 85 , 70 ). contrast_level),
62
- on_primary_container_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? 90.0 : 10.0 ),
63
- inverse_primary_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? 40.0 : 80.0 ),
62
+ on_primary_container_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? new ContrastCurve (contrast, 85 , 90 , 95 , 100 ) . contrast_level : new ContrastCurve (contrast, 25 , 30 , 35 , 40 ) . contrast_level ),
63
+ inverse_primary_hex = Color . hct_to_hex (primary_hue, primary, is_dark ? new ContrastCurve (contrast, 0 , 0 , 0 , 5 ) . contrast_level : new ContrastCurve (contrast, 95 , 100 , 100 , 100 ) . contrast_level ),
64
64
65
65
// ____ ____ ____ ____ _ _ ___ ____ ____ _ _
66
66
// [__ |___ | | | |\ | | \ |__| |__/ \_/
67
67
// ___] |___ |___ |__| | \| |__/ | | | \ |
68
- secondary_hex = Color . hct_to_hex (secondary_hue, secondary, is_dark ? new ContrastCurve (contrast, 75 , 80 , 85 , 90 ). contrast_level : new ContrastCurve (contrast, 45 , 40 , 35 , 20 ). contrast_level),
69
- on_secondary_hex = Color . hct_to_hex (secondary_hue, secondary, is_dark ? 20.0 : 100.0 ),
68
+ secondary_hex = Color . hct_to_hex (secondary_hue, secondary, is_dark ? new ContrastCurve (contrast, 95 , 100 , 100 , 100 ). contrast_level : new ContrastCurve (contrast, 0 , 0 , 0 , 5 ). contrast_level),
69
+ on_secondary_hex = Color . hct_to_hex (secondary_hue, secondary, is_dark ? new ContrastCurve (contrast, 15 , 20 , 25 , 30 ) . contrast_level : new ContrastCurve (contrast, 90 , 100 , 100 , 100 ) . contrast_level ),
70
70
secondary_container_hex = Color . hct_to_hex (secondary_hue, secondary, is_dark ? new ContrastCurve (contrast, 25 , 30 , 35 , 40 ). contrast_level : new ContrastCurve (contrast, 95 , 90 , 85 , 70 ). contrast_level),
71
- on_secondary_container_hex = Color . hct_to_hex (secondary_hue, secondary, is_dark ? 90.0 : 10.0 ),
71
+ on_secondary_container_hex = Color . hct_to_hex (secondary_hue, secondary, is_dark ? new ContrastCurve (contrast, 85 , 90 , 95 , 100 ) . contrast_level : new ContrastCurve (contrast, 25 , 30 , 35 , 40 ) . contrast_level ),
72
72
73
73
// ___ ____ ____ ___ _ ____ ____ _ _
74
74
// | |___ |__/ | | |__| |__/ \_/
75
75
// | |___ | \ | | | | | \ |
76
- tertiary_hex = Color . hct_to_hex (tertiary_hue, tertiary, is_dark ? new ContrastCurve (contrast, 75 , 80 , 85 , 90 ). contrast_level : new ContrastCurve (contrast, 45 , 40 , 35 , 20 ). contrast_level),
77
- on_tertiary_hex = Color . hct_to_hex (tertiary_hue, tertiary, is_dark ? 20.0 : 100.0 ),
76
+ tertiary_hex = Color . hct_to_hex (tertiary_hue, tertiary, is_dark ? new ContrastCurve (contrast, 95 , 100 , 100 , 100 ). contrast_level : new ContrastCurve (contrast, 0 , 0 , 0 , 5 ). contrast_level),
77
+ on_tertiary_hex = Color . hct_to_hex (tertiary_hue, tertiary, is_dark ? new ContrastCurve (contrast, 15 , 20 , 25 , 30 ) . contrast_level : new ContrastCurve (contrast, 90 , 100 , 100 , 100 ) . contrast_level ),
78
78
tertiary_container_hex = Color . hct_to_hex (tertiary_hue, tertiary, is_dark ? new ContrastCurve (contrast, 25 , 30 , 35 , 40 ). contrast_level : new ContrastCurve (contrast, 95 , 90 , 85 , 70 ). contrast_level),
79
- on_tertiary_container_hex = Color . hct_to_hex (tertiary_hue, tertiary, is_dark ? 90.0 : 10.0 ),
79
+ on_tertiary_container_hex = Color . hct_to_hex (tertiary_hue, tertiary, is_dark ? new ContrastCurve (contrast, 85 , 90 , 95 , 100 ) . contrast_level : new ContrastCurve (contrast, 25 , 30 , 35 , 40 ) . contrast_level ),
80
80
81
81
// ____ _ _ ___ _ _ _ _ ____
82
82
// | | | | | | | |\ | |___
83
83
// |__| |__| | |___ | | \| |___
84
- outline_hex = Color . hct_to_hex (hue, neutral_variant , is_dark ? 60.0 : 50.0 ),
84
+ outline_hex = Color . hct_to_hex (hue, neutral , is_dark ? new ContrastCurve (contrast, 55 , 60 , 70 , 80 ) . contrast_level : new ContrastCurve (contrast, 45 , 50 , 60 , 70 ) . contrast_level ),
85
85
outline_variant_hex = Color . hct_to_hex (hue, neutral_variant, is_dark ? new ContrastCurve (contrast, 30 , 30 , 40 , 45 ). contrast_level : new ContrastCurve (contrast, 80 , 80 , 70 , 60 ). contrast_level),
86
86
87
87
// ____ _ _ ____ ___ ____ _ _ _
0 commit comments