Skip to content
Snippets Groups Projects
Commit cf54c60a authored by Tomi Valentová's avatar Tomi Valentová
Browse files

fix color classes

parent 6c56db1d
Branches
No related tags found
2 merge requests!1059Release,!1058Fix color classes
Pipeline #19043 passed
......@@ -55,9 +55,39 @@ COLOR_CHOICES = (
# TODO
COLOR_CSS = {
BLACK_ON_WHITE: ["text-black", "[&_p]:!text-black", "bg-white"],
BLACK_ON_YELLOW: ["text-black", "[&_p]:!text-black", "bg-pirati-yellow"],
WHITE_ON_BLACK: ["text-white", "[&_p]:!text-white", "bg-black"],
BLACK_ON_WHITE: [
"text-black",
"[&_p]:!text-black",
"[&_h1]:!text-black",
"[&_h2]:!text-black",
"[&_h3]:!text-black",
"[&_h4]:!text-black",
"[&_h5]:!text-black",
"[&_h6]:!text-black",
"bg-white"
],
BLACK_ON_YELLOW: [
"text-black",
"[&_p]:!text-black",
"[&_h1]:!text-black",
"[&_h2]:!text-black",
"[&_h3]:!text-black",
"[&_h4]:!text-black",
"[&_h5]:!text-black",
"[&_h6]:!text-black",
"bg-pirati-yellow"
],
WHITE_ON_BLACK: [
"text-white",
"[&_p]:!text-white",
"[&_h1]:!text-white",
"[&_h2]:!text-white",
"[&_h3]:!text-white",
"[&_h4]:!text-white",
"[&_h5]:!text-white",
"[&_h6]:!text-white",
"bg-black"
],
}
ALIGN_CHOICES = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment