// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using JetBrains.Annotations; using osu.Framework.Bindables; using osu.Game.Rulesets.Catch.UI; using osu.Game.Skinning; using osuTK.Graphics; namespace osu.Game.Rulesets.Catch.Skinning { internal static class CatchSkinExtensions { [NotNull] public static IBindable GetHyperDashFruitColour(this ISkin skin) => skin.GetConfig(CatchSkinColour.HyperDashFruit) ?? skin.GetConfig(CatchSkinColour.HyperDash) ?? new Bindable(Catcher.DefaultHyperDashColour); } }