Skip to content

Commit

Permalink
feat: Styling on PieceIcons
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Feb 4, 2025
1 parent cf62762 commit 38846fe
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/webui/src/client/ui/PieceIcons/PieceIcons.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Variables
$text-color: #ffffff;
$font-size-base: 75px;
$font-size-base: 70px;
$text-shadow: 0 2px 9px rgba(0, 0, 0, 0.5);
$letter-spacing: 0.02em;

// Base icon styles
.piece-icon {
Expand Down Expand Up @@ -77,16 +78,17 @@ $text-shadow: 0 2px 9px rgba(0, 0, 0, 0.5);
// Common text styles
.piece-icon-text {
fill: $text-color;
font-family: 'Open Sans', sans-serif;
font-family: Roboto Condensed, Roboto, sans-serif;
font-size: 40px;

filter: drop-shadow($text-shadow);

.label {
fill: $text-color;
font-family: Roboto, sans-serif;
font-family: Roboto Condensed, Roboto, sans-serif;
font-size: $font-size-base;
font-weight: 100;
font-weight: 300;
letter-spacing: $letter-spacing;
}
}
}

0 comments on commit 38846fe

Please sign in to comment.