catch mid colors outside of WCAG AA

This commit is contained in:
41666 2025-04-06 17:28:26 -07:00
parent f72c7a357b
commit df33164b08
28 changed files with 135 additions and 96 deletions

View file

@ -5,17 +5,31 @@ import "git.sapphic.engineer/roleypoly/v4/types"
var (
RoleWithDarkColor = types.Role{
ID: "dark-color",
Name: "role with dark color",
Name: "dark",
Color: 0xa20000,
Permissions: 0,
Position: 10,
}
RoleWithDarkMediumColor = types.Role{
ID: "dark-medium-color",
Name: "dark medium",
Color: 0xeb5e4b,
Permissions: 0,
Position: 11,
}
RoleWithLightMediumColor = types.Role{
ID: "light-medium-color",
Name: "light medium",
Color: 0xfa8373,
Permissions: 0,
Position: 11,
}
RoleWithLightColor = types.Role{
ID: "light-color",
Name: "role with light color",
Name: "light",
Color: 0xffaa88,
Permissions: 0,
Position: 10,
Position: 12,
}
RoleWithoutColor = types.Role{
ID: "without-color",