add body type tag category

This commit is contained in:
byte[] 2020-09-12 11:45:35 -04:00
parent 7ca2c44a5e
commit 45402bd44f
5 changed files with 19 additions and 0 deletions

View file

@ -56,6 +56,7 @@ $tag_category_character_color: #4aaabf;
$tag_category_content_official_color: #b9b541; $tag_category_content_official_color: #b9b541;
$tag_category_content_fanmade_color: #cc8eb5; $tag_category_content_fanmade_color: #cc8eb5;
$tag_category_species_color: #b16b50; $tag_category_species_color: #b16b50;
$tag_category_body_type_color: #b8b8b8;
$commission_category_color: #e07b27; $commission_category_color: #e07b27;
@ -149,6 +150,8 @@ $tag_category_content_fanmade_background: darken($tag_category_content_fanmade_c
$tag_category_content_fanmade_border: desaturate(darken($tag_category_content_fanmade_color, 20%), 10%); $tag_category_content_fanmade_border: desaturate(darken($tag_category_content_fanmade_color, 20%), 10%);
$tag_category_species_background: darken($tag_category_species_color, 35%); $tag_category_species_background: darken($tag_category_species_color, 35%);
$tag_category_species_border: desaturate(darken($tag_category_species_color, 20%), 10%); $tag_category_species_border: desaturate(darken($tag_category_species_color, 20%), 10%);
$tag_category_body_type_background: darken($tag_category_body_type_color, 50%);
$tag_category_body_type_border: desaturate(darken($tag_category_body_type_color, 37%), 10%);
$commission_category_background: darken($commission_category_color, 36%); $commission_category_background: darken($commission_category_color, 36%);
$commission_category_border: darken($commission_category_color, 25%); $commission_category_border: darken($commission_category_color, 25%);

View file

@ -39,6 +39,7 @@ $tag_category_character_color: #2d8677;
$tag_category_content_official_color: #998e1a; $tag_category_content_official_color: #998e1a;
$tag_category_content_fanmade_color: #bb5496; $tag_category_content_fanmade_color: #bb5496;
$tag_category_species_color: #8b552f; $tag_category_species_color: #8b552f;
$tag_category_body_type_color: #4e4e4e;
$commission_category_color: #986f3d; $commission_category_color: #986f3d;
@ -138,6 +139,8 @@ $tag_category_content_fanmade_background: lighten($tag_category_content_fanmade_
$tag_category_content_fanmade_border: lighten($tag_category_content_fanmade_color, 18%); $tag_category_content_fanmade_border: lighten($tag_category_content_fanmade_color, 18%);
$tag_category_species_background: lighten($tag_category_species_color, 44%); $tag_category_species_background: lighten($tag_category_species_color, 44%);
$tag_category_species_border: lighten($tag_category_species_color, 25%); $tag_category_species_border: lighten($tag_category_species_color, 25%);
$tag_category_body_type_background: lighten($tag_category_body_type_color, 45%);
$tag_category_body_type_border: lighten($tag_category_body_type_color, 35%);
$commission_category_background: saturate(lighten($commission_category_color, 40%), 12%); $commission_category_background: saturate(lighten($commission_category_color, 40%), 12%);
$commission_category_border: lighten($commission_category_color, 20%); $commission_category_border: lighten($commission_category_color, 20%);

View file

@ -59,6 +59,7 @@ $tag_category_character_color: #82d0e2;
$tag_category_content_official_color: #d1cf84; $tag_category_content_official_color: #d1cf84;
$tag_category_content_fanmade_color: #ebb1d6; $tag_category_content_fanmade_color: #ebb1d6;
$tag_category_species_color: #d2b48c; $tag_category_species_color: #d2b48c;
$tag_category_body_type_color: #b8b8b8;
$commission_category_color: #e02727; $commission_category_color: #e02727;
@ -152,6 +153,8 @@ $tag_category_content_fanmade_background: darken($tag_category_content_fanmade_c
$tag_category_content_fanmade_border: desaturate(darken($tag_category_content_fanmade_color, 20%), 10%); $tag_category_content_fanmade_border: desaturate(darken($tag_category_content_fanmade_color, 20%), 10%);
$tag_category_species_background: darken($tag_category_species_color, 40%); $tag_category_species_background: darken($tag_category_species_color, 40%);
$tag_category_species_border: desaturate(darken($tag_category_species_color, 20%), 10%); $tag_category_species_border: desaturate(darken($tag_category_species_color, 20%), 10%);
$tag_category_body_type_background: darken($tag_category_body_type_color, 50%);
$tag_category_body_type_border: desaturate(darken($tag_category_body_type_color, 37%), 10%);
$commission_category_background: darken($commission_category_color, 36%); $commission_category_background: darken($commission_category_color, 36%);
$commission_category_border: darken($commission_category_color, 25%); $commission_category_border: darken($commission_category_color, 25%);

View file

@ -167,6 +167,14 @@
background: $tag_category_species_border; background: $tag_category_species_border;
} }
} }
&[data-tag-category="body-type"] {
background: $tag_category_body_type_background;
border-color: $tag_category_body_type_border;
color: $tag_category_body_type_color;
.tag__count {
background: $tag_category_body_type_border;
}
}
} }
// Quick Tag Table // Quick Tag Table

View file

@ -153,6 +153,7 @@ defmodule Philomena.Tags.Tag do
&1.category != "character", &1.category != "character",
&1.category != "oc", &1.category != "oc",
&1.category != "species", &1.category != "species",
&1.category != "body-type",
&1.category != "content-fanmade", &1.category != "content-fanmade",
&1.category != "content-official", &1.category != "content-official",
&1.category != "spoiler", &1.category != "spoiler",
@ -169,6 +170,7 @@ defmodule Philomena.Tags.Tag do
"character", "character",
"oc", "oc",
"species", "species",
"body-type",
"content-fanmade", "content-fanmade",
"content-official", "content-official",
"spoiler" "spoiler"