Skip to content

Commit

Permalink
All Kindred icon
Browse files Browse the repository at this point in the history
  • Loading branch information
lsocrate committed Nov 28, 2021
1 parent ec06b75 commit 2575227
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
15 changes: 15 additions & 0 deletions assets/icons/icon-skull.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion client/src/Clan.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import Enum exposing (Enum)


type Clan
= Brujah
= All
| Brujah
| Gangrel
| Malkavian
| Nosferatu
Expand Down Expand Up @@ -41,6 +42,9 @@ clanOrder c =
Ventrue ->
8

All ->
9


enum : Enum Clan
enum =
Expand Down
7 changes: 7 additions & 0 deletions client/src/UI/Icon.elm
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ type IconImage
| Shield
| Social
| Special
| Kindred
| ThinBlood
| ThinBloodAlchemy
| Title
Expand Down Expand Up @@ -113,6 +114,9 @@ clan style c =
Clan.Ventrue ->
icon ( Ventrue, style )

Clan.All ->
icon ( Kindred, style )


discipline : Cards.Discipline -> Html msg
discipline d =
Expand Down Expand Up @@ -264,6 +268,9 @@ imageOpts image =
InfluenceModifier ->
( class "ui-icon_influence_modifier", "Influence Modifier" )

Kindred ->
( class "ui-icon_skull", "All Kindred" )

Leader ->
( class "ui-icon_leader", "Leader" )

Expand Down
2 changes: 1 addition & 1 deletion client/src/UI/Icon.sass
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $discipline_icons: animalism auspex blood_sorcery celerity dominate fortitude ob
-webkit-mask-image: url("../../assets/icons/discipline-#{$icon}.svg")
mask-image: url("../../assets/icons/discipline-#{$icon}.svg")

$other_icons: action agenda alchemy attack blood bloodpotency bloodpotencyrequirement conspiracy crown damage edit faction haven influence influence_modifier leader library mental ongoing physical ranged reaction ritual save scheme shield social special title unhosted_action
$other_icons: action agenda alchemy attack blood bloodpotency bloodpotencyrequirement conspiracy crown damage edit faction haven influence influence_modifier leader library mental ongoing physical ranged reaction ritual save scheme shield social special skull title unhosted_action
@each $icon in $other_icons
.ui-icon_#{$icon}
-webkit-mask-image: url("../../assets/icons/icon-#{$icon}.svg")
Expand Down

0 comments on commit 2575227

Please sign in to comment.