Skip to content

Commit

Permalink
Converts it to an 8-color non-colorblind-compatible palette
Browse files Browse the repository at this point in the history
  • Loading branch information
deathride58 committed Jan 25, 2024
1 parent 9da7a66 commit 0a419b1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Content.Server/Chat/Systems/ChatSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public sealed partial class ChatSystem : SharedChatSystem
private readonly bool _adminLoocEnabled = true;

[ValidatePrototypeId<ColorPalettePrototype>]
private const string _chatNamePalette = "Daltonic";
private const string _chatNamePalette = "ChatNames";
private string[] _chatNameColors = default!;

public override void Initialize()
Expand Down
17 changes: 10 additions & 7 deletions Resources/Prototypes/Palettes/text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@
amber-accent-4: "#996700"

- type: palette
id: Daltonic
name: Daltonic
id: ChatNames
name: ChatNames
colors:
fuchsia: "#f44c77"
violet: "#993fe8"
chatreuse: "#d6eb63"
cyan: "#26a3f0"
orange: "#f5964e"
daltonicfuchsia: "#f44c77"
daltonicviolet: "#993fe8"
daltonicchatreuse: "#d6eb63"
daltoniccyan: "#26a3f0"
daltonicorange: "#f5964e"
green: "#5ef05a"
lightblue: "#85e6da"
gold: "#e6b940"

0 comments on commit 0a419b1

Please sign in to comment.