Skip to content

Commit

Permalink
Adjust assets
Browse files Browse the repository at this point in the history
  • Loading branch information
zobweyt committed Jun 8, 2024
1 parent 25541d8 commit b19df24
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 11 deletions.
23 changes: 18 additions & 5 deletions src/Giveaways/Assets/Colors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Giveaways;

// TODO: Adjust the colors to fit your own.

/// <summary>
/// Represents a constant set of predefined <see cref="Color"/> values.
/// </summary>
Expand All @@ -12,15 +10,30 @@ public static class Colors
/// <summary>
/// The color used to indicate an informative state.
/// </summary>
public static readonly Color Primary = new(59, 163, 232);
public static readonly Color Primary = new(88, 101, 242);

/// <summary>
/// The color used to indicate an informative state.
/// </summary>
public static readonly Color Secondary = new(77, 80, 87);

/// <summary>
/// The color used to depict an emotion of positivity.
/// </summary>
public static readonly Color Success = new(43, 182, 115);
public static readonly Color Success = new(119, 178, 85);

/// <summary>
/// The color used to indicate caution.
/// </summary>
public static readonly Color Warning = new(255, 204, 77);

/// <summary>
/// The color used to depict an emotion of negativity.
/// </summary>
public static readonly Color Danger = new(231, 76, 60);
public static readonly Color Danger = new(221, 46, 68);

/// <summary>
/// The color used to attract attention.
/// </summary>
public static readonly Color Fuchsia = new(235, 69, 158);
}
2 changes: 0 additions & 2 deletions src/Giveaways/Assets/Emotes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace Giveaways;

// TODO: Adjust the emotes to fit your own.

/// <summary>
/// Represents a constant set of predefined <see cref="Emote"/> values.
/// </summary>
Expand Down
11 changes: 7 additions & 4 deletions src/Giveaways/Assets/Icons.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
namespace Giveaways;

// TODO: Adjust the icons to fit your own.

/// <summary>
/// Represents a constant set of predefined icons.
/// </summary>
Expand All @@ -10,10 +8,15 @@ public static class Icons
/// <summary>
/// The icon used to indicate a success state.
/// </summary>
public const string Check = "https://cdn.discordapp.com/emojis/1199976868057718876.webp?size=96&quality=lossless";
public const string Check = "https://cdn.discordapp.com/emojis/1248984152108302396.webp?size=96&quality=lossless";

/// <summary>
/// The icon used to indicate an error state.
/// </summary>
public const string Cross = "https://cdn.discordapp.com/emojis/1199976870410715196.webp?size=96&quality=lossless";
public const string Cross = "https://cdn.discordapp.com/emojis/1248985326693908614.webp?size=96&quality=lossless";

/// <summary>
/// The icon used to indicate a warning state.
/// </summary>
public const string Exclamation = "https://cdn.discordapp.com/emojis/1248987340073074698.webp?size=96&quality=lossless";
}
18 changes: 18 additions & 0 deletions src/Giveaways/Common/EmbedStyles/WarningEmbedStyle.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
using Discord;

namespace Giveaways;

/// <summary>
/// Represents the style of a warning embed.
/// </summary>
public class WarningEmbedStyle : EmbedStyle
{
/// <inheritdoc/>
public override string Name => "Caution!";

/// <inheritdoc/>
public override string IconUrl => Icons.Exclamation;

/// <inheritdoc/>
public override Color Color => Colors.Warning;
}

0 comments on commit b19df24

Please sign in to comment.