Skip to content

Commit

Permalink
Fixing a mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 25, 2024
1 parent 40b2b8b commit cb99ae1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 28 deletions.
14 changes: 7 additions & 7 deletions lib/Models/Schemes/Content.vala
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,33 @@ public class He.ContentScheme : SchemeFactory, Object {
// ___ ____ _ _ _ ____ ____ _ _
// |__] |__/ | |\/| |__| |__/ \_/
// | | \ | | | | | | \ |
primary_hex = Color.hct_to_hex (primary_hue, primary, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
primary_hex = Color.hct_to_hex (primary_hue, primary, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_primary_hex = Color.hct_to_hex (primary_hue, primary, is_dark ? 20.0 : 100.0),
primary_container_hex = Color.hct_to_hex (primary_hue, primary, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
primary_container_hex = Color.hct_to_hex (primary_hue, primary, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_primary_container_hex = Color.hct_to_hex (primary_hue, primary, is_dark ? 90.0 : 10.0),
inverse_primary_hex = Color.hct_to_hex (primary_hue, primary, is_dark ? 40.0 : 80.0),

// ____ ____ ____ ____ _ _ ___ ____ ____ _ _
// [__ |___ | | | |\ | | \ |__| |__/ \_/
// ___] |___ |___ |__| | \| |__/ | | | \ |
secondary_hex = Color.hct_to_hex (secondary_hue, secondary, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
secondary_hex = Color.hct_to_hex (secondary_hue, secondary, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_secondary_hex = Color.hct_to_hex (secondary_hue, secondary, is_dark ? 20.0 : 100.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, secondary, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, secondary, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_secondary_container_hex = Color.hct_to_hex (secondary_hue, secondary, is_dark ? 90.0 : 10.0),

// ___ ____ ____ ___ _ ____ ____ _ _
// | |___ |__/ | | |__| |__/ \_/
// | |___ | \ | | | | | \ |
tertiary_hex = Color.hct_to_hex (tertiary_hue, tertiary, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
tertiary_hex = Color.hct_to_hex (tertiary_hue, tertiary, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_tertiary_hex = Color.hct_to_hex (tertiary_hue, tertiary, is_dark ? 20.0 : 100.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, tertiary, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, tertiary, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_tertiary_container_hex = Color.hct_to_hex (tertiary_hue, tertiary, is_dark ? 90.0 : 10.0),

// ____ _ _ ___ _ _ _ _ ____
// | | | | | | | |\ | |___
// |__| |__| | |___ | | \| |___
outline_hex = Color.hct_to_hex (hue, neutral2, is_dark ? 60.0 : 50.0),
outline_variant_hex = Color.hct_to_hex (hue, neutral2, is_dark ? is_contrast ? 15.0 : 30.0 : is_contrast ? 60.0 : 80.0),
outline_variant_hex = Color.hct_to_hex (hue, neutral2, is_dark ? is_contrast ? 45.0 : 30.0 : is_contrast ? 60.0 : 80.0),

// ____ _ _ ____ ___ ____ _ _ _
// [__ |__| |__| | \ | | | | |
Expand Down
14 changes: 7 additions & 7 deletions lib/Models/Schemes/Default.vala
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,33 @@ public class He.DefaultScheme : SchemeFactory, Object {
// ___ ____ _ _ _ ____ ____ _ _
// |__] |__/ | |\/| |__| |__/ \_/
// | | \ | | | | | | \ |
primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 20.0 : 100.0),
primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 90.0 : 10.0),
inverse_primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 40.0 : 80.0),

// ____ ____ ____ ____ _ _ ___ ____ ____ _ _
// [__ |___ | | | |\ | | \ |__| |__/ \_/
// ___] |___ |___ |__| | \| |__/ | | | \ |
secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? 20.0 : 100.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? 90.0 : 10.0),

// ___ ____ ____ ___ _ ____ ____ _ _
// | |___ |__/ | | |__| |__/ \_/
// | |___ | \ | | | | | \ |
tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? 20.0 : 100.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? 90.0 : 10.0),

// ____ _ _ ___ _ _ _ _ ____
// | | | | | | | |\ | |___
// |__| |__| | |___ | | \| |___
outline_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? 60.0 : 50.0),
outline_variant_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? is_contrast ? 15.0 : 30.0 : is_contrast ? 60.0 : 80.0),
outline_variant_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? is_contrast ? 45.0 : 30.0 : is_contrast ? 60.0 : 80.0),

// ____ _ _ ____ ___ ____ _ _ _
// [__ |__| |__| | \ | | | | |
Expand Down
14 changes: 7 additions & 7 deletions lib/Models/Schemes/Muted.vala
Original file line number Diff line number Diff line change
Expand Up @@ -53,33 +53,33 @@ public class He.MutedScheme : SchemeFactory, Object {
// ___ ____ _ _ _ ____ ____ _ _
// |__] |__/ | |\/| |__| |__/ \_/
// | | \ | | | | | | \ |
primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 20.0 : 100.0),
primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 90.0 : 10.0),
inverse_primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 40.0 : 80.0),

// ____ ____ ____ ____ _ _ ___ ____ ____ _ _
// [__ |___ | | | |\ | | \ |__| |__/ \_/
// ___] |___ |___ |__| | \| |__/ | | | \ |
secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? 20.0 : 100.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? 90.0 : 10.0),

// ___ ____ ____ ___ _ ____ ____ _ _
// | |___ |__/ | | |__| |__/ \_/
// | |___ | \ | | | | | \ |
tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? 20.0 : 100.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? 90.0 : 10.0),

// ____ _ _ ___ _ _ _ _ ____
// | | | | | | | |\ | |___
// |__| |__| | |___ | | \| |___
outline_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? 60.0 : 50.0),
outline_variant_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? is_contrast ? 15.0 : 30.0 : is_contrast ? 60.0 : 80.0),
outline_variant_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? is_contrast ? 45.0 : 30.0 : is_contrast ? 60.0 : 80.0),

// ____ _ _ ____ ___ ____ _ _ _
// [__ |__| |__| | \ | | | | |
Expand Down
14 changes: 7 additions & 7 deletions lib/Models/Schemes/Vibrant.vala
Original file line number Diff line number Diff line change
Expand Up @@ -56,33 +56,33 @@ public class He.VibrantScheme : SchemeFactory, Object {
// ___ ____ _ _ _ ____ ____ _ _
// |__] |__/ | |\/| |__| |__/ \_/
// | | \ | | | | | | \ |
primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 20.0 : 100.0),
primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_primary_container_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 90.0 : 10.0),
inverse_primary_hex = Color.hct_to_hex (primary_hue, PRIMARY, is_dark ? 40.0 : 80.0),

// ____ ____ ____ ____ _ _ ___ ____ ____ _ _
// [__ |___ | | | |\ | | \ |__| |__/ \_/
// ___] |___ |___ |__| | \| |__/ | | | \ |
secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_secondary_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? 20.0 : 100.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_secondary_container_hex = Color.hct_to_hex (secondary_hue, SECONDARY, is_dark ? 90.0 : 10.0),

// ___ ____ ____ ___ _ ____ ____ _ _
// | |___ |__/ | | |__| |__/ \_/
// | |___ | \ | | | | | \ |
tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 60.0 : 80.0 : is_contrast ? 20.0 : 40.0),
tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 90.0 : 80.0 : is_contrast ? 20.0 : 40.0),
on_tertiary_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? 20.0 : 100.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 10.0 : 30.0 : is_contrast ? 70.0 : 90.0),
tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? is_contrast ? 40.0 : 30.0 : is_contrast ? 70.0 : 90.0),
on_tertiary_container_hex = Color.hct_to_hex (tertiary_hue, TERTIARY, is_dark ? 90.0 : 10.0),

// ____ _ _ ___ _ _ _ _ ____
// | | | | | | | |\ | |___
// |__| |__| | |___ | | \| |___
outline_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? 60.0 : 50.0),
outline_variant_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? is_contrast ? 15.0 : 30.0 : is_contrast ? 60.0 : 80.0),
outline_variant_hex = Color.hct_to_hex (hue, NEUTRAL2, is_dark ? is_contrast ? 45.0 : 30.0 : is_contrast ? 60.0 : 80.0),

// ____ _ _ ____ ___ ____ _ _ _
// [__ |__| |__| | \ | | | | |
Expand Down

0 comments on commit cb99ae1

Please sign in to comment.