Files
userstyles/styles/chess.com/catppuccin.user.less
T
2026-04-13 15:56:15 +00:00

741 lines
56 KiB
Plaintext

/* ==UserStyle==
@name Chess.com Catppuccin
@namespace github.com/catppuccin/userstyles/styles/chess.com
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/chess.com
@version 2026.04.13
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/chess.com/catppuccin.user.less
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Achess.com
@description Soothing pastel theme for Chess.com
@author Catppuccin
@license MIT
@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
@var select highlightColor1 "Highlight 1" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red*", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
@var select highlightColor2 "Highlight 2" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green*", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
@var select highlightColor3 "Highlight 3" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach*", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
@var select highlightColor4 "Highlight 4" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue*", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
@var checkbox styleBoardAndPieces "Style Board & Pieces" 1
==/UserStyle== */
@import "https://userstyles.catppuccin.com/lib/lib.less";
@-moz-document domain("chess.com") {
.light-mode {
#catppuccin(@lightFlavor);
}
.dark-mode {
#catppuccin(@darkFlavor);
}
#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();
@highlight1: @catppuccin[@@flavor][@@highlightColor1];
@highlight2: @catppuccin[@@flavor][@@highlightColor2];
@highlight3: @catppuccin[@@flavor][@@highlightColor3];
@highlight4: @catppuccin[@@flavor][@@highlightColor4];
--color-bg-opaque: @mantle;
--color-bg-opaque-lighter: @base;
--color-bg-subtle: @surface1;
--color-bg-subtler: @surface0;
--color-bg-input: @mantle;
--color-bg-speech: @surface0;
--color-bg-secondary: @surface0;
--color-bg-tertiary: @surface1;
--color-bg-quaternary: @surface2;
--color-gray-100: @overlay1;
--color-text-speech: @text;
--color-icon-default: @subtext0;
--color-icon-default-hovered: @subtext1;
--color-icon-bolder: @subtext1;
--color-icon-boldest: @text;
--color-text-boldest: @text;
--color-text-bolder: @text;
--color-text-default: @text;
--color-text-default-hovered: @subtext1;
--color-text-subtle: @subtext1;
--color-text-placeholder: @subtext0;
--color-text-inverse: @crust;
--color-text-link: @blue;
--color-text-link-hovered: @sky;
--color-border-default: @surface1;
--color-border-subtle: @overlay2;
--color-border-selected: @accent;
--color-green-200: lighten(@accent, 5%);
--color-green-300: @accent;
--color-green-400: darken(@accent, 5%);
--color-red-300: @red; /* Danger */
--color-red-400: @red; /* Danger */
/* Links */
--color-blue-200: @sapphire;
--color-blue-300: @sky;
--color-blue-400: @blue;
--color-classification-blunder: @red;
--color-classification-miss: @maroon;
--color-classification-mistake: @peach;
--color-classification-inaccuracy: @yellow;
--color-classification-best: @green;
--color-classification-excellent: @green;
--color-classification-good: @teal;
--color-classification-great: @blue;
--color-classification-brilliant: @sapphire;
--color-classification-book: @rosewater;
--color-icon-win: @green;
--color-text-win: @green;
--color-icon-draw: @subtext0;
--color-text-draw: @subtext0;
--color-bg-draw: @subtext0;
--color-border-draw: var(--color-transparent-white-10);
--color-icon-loss: @red;
--color-text-loss: @red;
--color-border-loss: @red;
--color-icon-bullet: @peach;
--color-icon-blitz: @yellow;
body {
--theme-background-color: @base !important;
--theme-background-image: none;
--globalBackground: @mantle !important;
--globalBackgroundOpaque: @mantle !important;
--globalSecondaryBackground: @crust !important;
--globalTertiaryBackground: @surface0 !important;
--globalAccentBackground: @accent !important;
--globalSecondaryAccentBackground: @surface0 !important;
--globalSiteBackground: @base !important;
--globalBorder: @surface0 !important;
--globalColorThemeFull: @text !important;
--globalColorThemeHigh: @text;
--globalColorThemeMid: @overlay2 !important;
--globalColorThemeLow: @overlay0 !important;
--globalColorThemeLower: @base !important;
--globalColorThemeLink: @sapphire !important;
--globalColorThemeBlueToMid: @text;
--globalOverlayBackground: @base !important;
--globalColorWin: @green !important;
--globalColorDraw: @accent !important;
--globalColorLoss: @red !important;
--labelBgColor: @surface1;
--activeLabelColor: @accent;
--buttonBgColor: @text;
--nodeColor: @text;
--nodeBackground: @yellow;
}
/* Home page */
.index-title,
.index-info-item-counter {
color: @text !important;
}
.index-info-item {
color: @subtext0 !important;
}
.index-suggestion-title,
.index-posts-title,
.index-post-name {
color: @text;
}
.index-quote-author,
.index-quote-body,
.index-post-author {
color: @subtext1;
}
.promo-title,
.promo-rank {
color: @text;
}
.promo-subtitle {
color: @subtext1;
}
.home-username-link {
color: @text;
}
/* Lessons page */
.level-title {
color: @text;
}
.level-desc,
.course-header-description strong {
color: @subtext1;
}
.lessons-search-filter {
.form-dropdown-chevron,
.form-dropdown-control-label,
.form-dropdown-value {
color: @subtext1;
}
}
/* Play lesson video */
.lesson-status {
background-color: @text;
}
/* More page */
.landing-header {
color: @text;
}
/* UI */
.v5-title-label {
color: @text;
}
.v5-tabs-list,
.v5-tabs-list-dark {
--borderColor: @surface2;
--tabTitleColor: @subtext0;
--tabHoverTitleColor: @subtext1;
--tabSelectedBorderColor: @subtext1;
--tabSelectedTitleColor: @text;
}
.ui_v5-input-component {
--borderColor: @surface0;
--borderFocus: @surface1;
--bgColor: @base;
--textColor: @text;
--secondaryTextColor: @subtext1;
}
.ui_v5-input-group-component {
--inputIconColor: @subtext0;
}
.ui_v5-button-component {
--boxShadow: none;
--boxShadowHover: none;
box-shadow: none;
&.ui_v5-button-basic {
--basicColor: @text !important;
--basicHoverColor: @text !important;
--basicBgColor: @surface1 !important;
--basicBghover: @surface2 !important;
--borderColor: @surface0 !important;
}
&.ui_v5-button-primary {
color: @crust !important;
background-color: @accent;
&:hover {
background-color: darken(@accent, 5%);
box-shadow: none;
}
}
}
.ui_v5-select-component {
--borderColor: @surface0;
--borderFocus: @surface1;
--bgColor: @base;
--textColor: @text;
--arrowColor: @subtext0;
}
.ui_pagination-item-component {
--paginationColor: @text;
--paginationBgColor: @surface1;
--paginationBgHover: @surface2;
--paginationColorMuted: @base;
--paginationBgColorMuted: @overlay1;
}
.nav-link-text {
color: @text !important;
}
.nav-menu-area:last-of-type .icon-font-chess {
color: @mantle !important;
}
.nav-link-main-design,
.nav-link-main-link {
color: @text !important;
&:hover {
color: @subtext1 !important;
}
}
#tb {
.toolbar-action-icon {
color: @subtext1;
}
.toolbar-action-wrapper:hover .toolbar-action-icon {
color: @text !important;
}
}
#sb {
color: @subtext0;
&.open {
background-color: @mantle;
}
.nav-action:hover {
background-color: @surface0;
color: @text;
}
.nav-panel-shade,
.nav-panel-theme-bg,
.nav-action.has-popover + .nav-popover {
background: @mantle !important;
}
.nav-popover.dark .btn-link {
color: @text;
}
.nav-menu-area:last-of-type {
color: @text !important;
}
.nav-popover.nav-search {
--search-bg-color: @surface0;
}
}
.nav-popover.dark {
background: @mantle;
}
.section-heading-component .back-link-component {
color: currentcolor;
}
.section-heading-black {
background-color: @surface1;
color: @text;
}
.nav-section-header-component {
background-color: @base;
color: @text;
}
.popover-friends-header,
.popover-friends-content,
.popover-messages-header,
.popover-messages-content,
.popover-settings-header,
.popover-settings-content {
background: @mantle;
}
/* Buttons */
.selector-button-button,
.time-selector-button-button {
background: @surface0;
&:hover {
background: @surface1;
}
}
.cc-switch-checkbox:not(.cc-switch-readonly):checked
+ .cc-switch-label
.cc-switch-button {
background-color: @surface1;
}
.cc-button-component,
.cc-button-primary {
--bgColor: @accent;
--bgColorHover: darken(@accent, 5%);
--textColor: @crust;
--textColorHover: @crust;
box-shadow: none;
}
.cc-button-primary,
.cc-button-monetization {
--borderBottomLine: darken(@accent, 2%);
--borderBottomLineHover: darken(@accent, 4%);
}
.cc-button-secondary {
--bgColor: @surface0;
--bgColorHover: darken(@surface0, 5%);
--iconColor: @text;
--iconColorHover: @text;
--textColor: @text;
--textColorHover: @text;
}
.cc-button-danger {
--bgColor: @red;
--bgColorHover: darken(@red, 5%);
color: @crust;
}
.v5-section-shadow,
.v5-section-shadow-hover {
--linkHoverBackground: @surface1;
--linkBoxShadow: 0 0.5rem 0 0 @surface2;
}
/* Game */
.user-username-component,
.cc-user-username-white,
.cc-user-rating-white {
color: @text;
text-shadow: none;
}
.user-tagline-rating.user-tagline-white {
color: @overlay1;
}
.clock-component.clock-black {
background: @surface0;
}
.clock-component.clock-white {
background: @text;
}
.highlight {
&[style*="rgb(235, 97, 80)"] {
background: fade(@highlight1, 80%) !important;
}
&[style*="rgb(172, 206, 89)"] {
background: fade(@highlight2, 80%) !important;
}
&[style*="rgb(255, 170, 0)"] {
background: fade(@highlight3, 80%) !important;
}
&[style*="rgb(82, 176, 220)"] {
background: fade(@highlight4, 80%) !important;
}
opacity: 1 !important;
}
.hover-square rect {
stroke: @overlay1 !important;
}
.hint {
background-color: @overlay1;
filter: drop-shadow(0 0 1px @crust);
}
.capture-hint {
background-color: @overlay1;
filter: drop-shadow(0 0 1px @crust);
z-index: -1;
}
/* Review/evaluation */
.evaluation-bar-bar {
.evaluation-bar-black {
background-color: @surface2;
}
.evaluation-bar-draw {
background-color: @overlay1;
}
.evaluation-bar-white {
background-color: @text;
}
}
.review-rating-white {
background-color: @text;
}
.review-rating-black {
background-color: @surface0;
color: @text;
}
.overview-view-new-game-button {
background-color: @surface1;
}
.arrow {
&[style*="rgba(248, 85, 63, 0.8)"] {
fill: @highlight1 !important;
}
&[style*="rgba(159, 207, 63, 0.8)"] {
fill: @highlight2 !important;
}
&[style*="rgba(255, 170, 0, 0.8)"] {
fill: @highlight3 !important;
}
&[style*="rgba(72, 193, 249, 0.8)"] {
fill: @highlight4 !important;
}
}
g#winner [fill="#dbac16"] {
fill: @yellow !important;
}
/* Game over */
.modal-game-over-header-grey,
.modal-game-over-header-black-win,
.game-over-header-component {
background-color: @base;
color: @text;
}
.modal-game-over-user-winner-active,
.modal-game-over-user-crown {
background: @lavender;
}
.game-over-review-button-label {
color: @crust;
text-shadow: none;
}
/* Ads */
.placeholder-ad-upgrade {
background-color: @accent;
}
.placeholder-ad-link {
color: @crust;
}
.modal-trial-component.modal-trial-special-offer {
.modal-trial-header-background {
background-color: @accent;
}
}
.coach-nudges-modal-component {
background: @mantle;
}
.ready-to-play-banner-component {
background-color: @mantle;
.ready-to-play-banner-title,
.ready-to-play-banner-list {
color: @text;
}
}
.notifications-links-trial .nav-link-text {
color: @crust !important;
}
/* Misc */
/* GM/IM/etc badge */
--color-bg-chesstitle: @accent;
.course-author-title,
.course-header-author-title,
.form-dropdown-short-title,
.index-chess-title,
.leaderboard-index-chess-title,
.player-header-title,
.category-headline-chess-title {
color: @crust !important;
}
.tooltip-body {
background: @surface0;
color: @text;
&::after {
border-top-color: @surface0 !important;
}
}
.popup-component {
background-color: @surface0;
color: @text;
&.popup-left .popup-arrow {
border-left-color: @surface0;
}
&.popup-right .popup-arrow {
border-right-color: @surface0;
}
}
/* Error banner */
.alerts-alert {
color: @crust;
}
div.mode-selection-button-selected {
> .mode-selection-button-description {
color: @surface1;
}
> .mode-selection-button-mode {
color: @mantle;
}
}
.status-component {
background-color: @accent;
color: @crust;
}
.navigation-footer-page-component,
.navigation-footer-platform-icon {
color: @subtext1;
text-shadow: none;
}
.download-button-button {
color: @crust !important;
}
.table-hover tbody tr:hover {
background-color: @surface2;
}
/* Board */
@light-cell: @catppuccin[@mocha][@text];
@dark-cell: @catppuccin[@mocha][@@accentColor];
@board: escape(
'<svg width="1600" height="1600" viewBox="0 0 1600 1600" xmlns="http://www.w3.org/2000/svg"><path fill="@{dark-cell}" d="M200 0v200h200V0Zm200 200v200h200V200Zm200 0h200V0H600Zm200 0v200h200V200Zm200 0h200V0h-200Zm200 0v200h200V200Zm200 0h200V0h-200zm0 200v200h200V400zm0 200h-200v200h200zm0 200v200h200V800Zm0 200h-200v200h200zm0 200v200h200v-200zm0 200h-200v200h200zm-200 0v-200h-200v200zm-200 0H800v200h200zm-200 0v-200H600v200zm-200 0H400v200h200zm-200 0v-200H200v200zm-200 0H0v200h200zm0-200v-200H0v200zm0-200h200V800H200Zm0-200V600H0v200zm0-200h200V400H200Zm0-200V200H0v200zm200 200v200h200V600Zm200 0h200V400H600Zm200 0v200h200V600Zm200 0h200V400h-200Zm0 200v200h200V800Zm0 200H800v200h200zm-200 0V800H600v200zm-200 0H400v200h200z"/><path fill="@{light-cell}" d="M0 0v200h200V0Zm200 200v200h200V200Zm200 0h200V0H400zm200 0v200h200V200Zm200 0h200V0H800Zm200 0v200h200V200Zm200 0h200V0h-200zm200 0v200h200V200Zm0 200h-200v200h200zm0 200v200h200V600Zm0 200h-200v200h200zm0 200v200h200v-200Zm0 200h-200v200h200zm0 200v200h200v-200zm-200 0h-200v200h200zm-200 0v-200H800v200zm-200 0H600v200h200zm-200 0v-200H400v200zm-200 0H200v200h200zm-200 0v-200H0v200zm0-200h200v-200H200Zm0-200V800H0v200zm0-200h200V600H200Zm0-200V400H0v200zm200 0h200V400H400zm200 0v200h200V600Zm200 0h200V400H800Zm200 0v200h200V600Zm0 200H800v200h200zm0 200v200h200v-200Zm-200 0H600v200h200zm-200 0V800H400v200z"/></svg>'
);
& when (@styleBoardAndPieces = 1) {
#board-play-computer,
.board.theme-selector-preview-board,
.fade-in-overlay {
background-image: url("data:image/svg+xml,@{board}") !important;
}
/* Coordinates - Inside */
.coordinate-light {
fill: @dark-cell;
}
.coordinate-dark {
fill: @light-cell;
}
/* Coordinates - Outside */
.coordinate-grey {
fill: @subtext0;
}
}
#piece(@piece, @type) {
@border: @catppuccin[@mocha][@base];
@darkest: if(
@type = black,
@catppuccin[@mocha][@base],
@catppuccin[@mocha][@text]
);
@darker: if(
@type = black,
@catppuccin[@mocha][@surface0],
@catppuccin[@mocha][@subtext1]
);
@main: if(
@type = black,
@catppuccin[@mocha][@surface1],
@catppuccin[@mocha][@subtext0]
);
@lighter: if(
@type = black,
@catppuccin[@mocha][@surface2],
@catppuccin[@mocha][@overlay2]
);
@lightest: if(
@type = black,
@catppuccin[@mocha][@overlay0],
@catppuccin[@mocha][@overlay1]
);
@bishop: '<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><path d="M162 30c6.52 5.668 9.348 12.053 10.281 20.566-.367 3.175-1.414 4.01-3.719 6.184C146.053 81.008 142.892 119.703 141 151l15 1-.187-6.062C155.585 120.198 161.375 93.96 175 72c3.373.58 4.95 1.596 7.285 4.07l1.842 1.945 1.935 2.11 2.01 2.173c20.46 22.481 33.926 47.948 32.85 78.926-1.2 19.396-7.91 40.765-21.922 54.776l3.84.883c11.906 2.853 21.874 5.616 29.16 16.117 6.399 13.026 4 22.967 4 39H59c0-34.741 0-34.741 9.25-44.75 7.872-7.278 17.59-8.932 27.75-11.25l-1.758-2.422c-15.261-21.322-22.736-45.964-18.59-72.234C77.603 130.92 81.24 121.44 86 112l1.773-3.547C96.835 91.554 110.313 78.205 124 65l-.64-1.795c-3.105-8.943-3.633-16.042.312-24.877 4.215-7.388 9.78-10.529 17.64-13.078 7.47-.695 14.511.329 20.688 4.75" fill="@{border}"/><path d="M157.39 35.633c3.645 3.096 6.283 7.063 6.958 11.82-.454 3.324-1.73 4.772-3.848 7.36-5.244 6.896-8.912 14.326-12.5 22.187l-1.402 3.035C136.186 104.75 134.123 132.508 133 159h30l-.187-8.5c-.152-23.172 3.376-46.806 14.187-67.5 17.898 14.47 33.306 37.664 36 61 1.783 25.486-3.182 47.429-19.258 67.577-2.82 3.182-4.257 4.323-8.554 5.212q-2.173.07-4.345.05l-2.412.052c-2.62.047-5.237.049-7.857.047l-5.492.046c-3.834.027-7.667.03-11.502.018-4.897-.012-9.79.05-14.686.13-3.781.052-7.561.058-11.343.05q-2.706.005-5.412.059c-14.04.247-14.04.247-19.217-3.424A51.4 51.4 0 0 1 97 206l-1.332-1.879c-11.791-17.166-16.303-39.85-13.347-60.345C86.018 124.167 95.768 105.795 109 91l2.25-2.578C117.96 80.828 124.892 73.13 133 67h2v-3h-2c-4.337-5.914-6.046-10.737-5-18 2.626-6.21 6.697-10.459 12.813-13.312 6.043-1.304 11.386-.318 16.578 2.945m-27.676 186.199 4.158-.01q4.335-.009 8.67-.007 4.37 0 8.74-.02c54.127-.251 54.127-.251 70.53 9.955C230.81 241.005 229 252.547 229 265H66c0-23.333 0-23.333 6-31 13.663-13.663 39.855-12.153 57.715-12.168" fill="@{main}"/><path d="M196 105c3.369 3.91 5.725 7.91 8 12.5l1.055 2.118c10.69 22.052 10.245 45.695 2.882 68.702-3.015 8.02-7.641 14.984-12.937 21.68l-1.247 1.593c-2.018 2.311-3.64 4.126-6.677 4.893-2.209.11-4.331.035-6.537-.119l-2.396-.093c-2.508-.104-5.012-.25-7.518-.399q-2.56-.117-5.121-.227A870 870 0 0 1 153 215c3.032-2.324 6.078-4.177 9.438-6 18.09-10.524 31.644-26.606 37.437-46.937 3.13-12.5 3.024-25.491.813-38.125l-.357-2.053a58 58 0 0 0-2.936-10.194C196 108 196 108 196 105" fill="@{darker}"/><path d="m129.715 221.832 4.158-.01q4.335-.009 8.67-.007 4.37 0 8.74-.02c54.891-.255 54.891-.255 70.655 10.143 2.258 2.258 2.974 4.1 4.062 7.062l-2.953-.805c-9.126-2.335-18.147-3.666-27.543-4.312l-3.642-.253c-14.057-.887-28.11-.934-42.19-.89-3.75.01-7.498.004-11.247-.008-34.659-.51-34.659-.51-68.425 6.268 1.355-4.743 3.949-7.372 8-10 15.534-7.48 34.887-7.153 51.715-7.168M138 66.125l2 .875a365 365 0 0 1-7.762 7.621C103.574 102.004 91.203 140.603 86 179c-5.256-5.256-4.274-16.137-4.375-23.25C81.651 131.755 93.237 108.624 109 91l2.25-2.578c19.948-22.58 19.948-22.58 26.75-22.297" fill="@{lightest}"/><path d="M156 36c3.065 1.307 4.621 2.397 6.25 5.313l1.016 1.738c.958 2.543 1.08 4.245.734 6.949-1.469 2.332-1.469 2.332-3.5 4.813-5.244 6.896-8.912 14.326-12.5 22.187l-1.402 3.035C136.342 104.38 134.055 131.871 133 158c-6.154-5.328-7.755-13.841-8.75-21.687A172 172 0 0 1 124 132l-.191-2.246c-1.04-20.436 12.057-40.23 21.566-57.379C152.119 60.155 157.058 50.371 156 36" fill="@{darker}"/><path d="m145 34-1.54.96c-6.03 4.09-9.035 8.706-12.46 15.04l-2 3c-1-1-1-1-1.375-3.562.639-5.856 3.75-9.929 8-13.876 3.507-2.307 5.43-2.786 9.375-1.562" fill="@{lighter}"/></svg>';
@king: '<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><path d="M132 23h37v20h20v38l-17 1 1 9 3.008-1.023c20.423-6.778 41.162-9.228 61.242.148 13.648 7.29 22.597 17.999 27.746 32.527 5.1 17.004 3.256 33.227-4.683 48.973-2.746 4.818-6.058 8.783-9.872 12.793a179 179 0 0 0-5.722 6.387c-4.339 4.987-9.072 9.541-13.846 14.107-4.721 4.622-8.42 9.457-11.873 15.088l2.14 1.177c7.992 4.456 13.264 8.982 16.317 17.733C240.371 250.124 239 259.54 239 272H62c0-35.187 0-35.187 9-45 7.267-6 7.267-6 12-6-5.287-8.299-11.718-14.977-18.744-21.808A207 207 0 0 1 51 185l-2.187-2.477C35.93 167.254 32.855 151.495 34 132c1.625-13.535 8.977-25.92 19-35 14.793-11.263 31.403-14.806 49.7-12.43 8.317 1.191 16.335 2.688 24.3 5.43l2-8-17-1V43h20zM92.332 138.375C90.008 141.21 89.81 144.471 90 148c2.29 5.62 6.183 9.686 10.3 14.09a223 223 0 0 1 5.93 6.664l3.395 3.871 1.594 1.905 1.57 1.76 1.366 1.584c2.48 1.734 2.48 1.734 8.845 1.126v-38c-15.521-8.158-15.521-8.158-30.668-2.625m97.856-3.125-2.458.703c-3.561 1.286-3.561 1.286-9.73 5.047v38c7.281.753 7.281.753 9.89-1.293l1.36-1.894a120 120 0 0 1 8.215-9.57c9.234-9.235 9.234-9.235 14.222-20.93-.909-4.382-2.394-6.3-5.687-9.313-5.598-2.16-10.085-2.446-15.812-.75" fill="@{main}"/><path d="M132 23h37v20h20v38l-17 1 1 9 3.008-1.023c20.423-6.778 41.162-9.228 61.242.148 13.648 7.29 22.597 17.999 27.746 32.527 5.1 17.004 3.256 33.227-4.683 48.973-2.746 4.818-6.058 8.783-9.872 12.793a179 179 0 0 0-5.722 6.387c-4.339 4.987-9.072 9.541-13.846 14.107-4.721 4.622-8.42 9.457-11.873 15.088l2.14 1.177c7.992 4.456 13.264 8.982 16.317 17.733C240.371 250.124 239 259.54 239 272H62c0-35.187 0-35.187 9-45 7.267-6 7.267-6 12-6-5.287-8.299-11.718-14.977-18.744-21.808A207 207 0 0 1 51 185l-2.187-2.477C35.93 167.254 32.855 151.495 34 132c1.625-13.535 8.977-25.92 19-35 14.793-11.263 31.403-14.806 49.7-12.43 8.317 1.191 16.335 2.688 24.3 5.43l2-8-17-1V43h20zm7 7v20h-20v23h20l-1.875 6.75c-1.82 6.691-3.153 13.379-4.125 20.25l-2.86-.988-3.89-1.325-1.863-.646c-10.285-3.48-19.927-5.586-30.824-5.478l-3.317.025c-13.662.285-24.953 3.87-35.273 13.256-11.051 11.8-14.35 25.548-14.18 41.312 1.162 21.583 16.155 34.897 30.546 49.098a143 143 0 0 1 9.599 10.559l2.187 2.656C85 211 85 211 86.25 213.53c1.379 2.649 2.159 3.945 4.75 5.469 4.384.09 8.408-.422 12.71-1.184 15.312-2.585 31.133-2.013 46.603-2.004l3.484-.002c15.22.001 30.286.275 45.441 1.752l2.507.23q3.082.287 6.161.595c3.236-.09 3.236-.09 5.324-2.555l1.958-3.02a359 359 0 0 1 2.312-3.332l1.223-1.748c2.126-2.883 4.52-5.492 6.964-8.107.747-.801.747-.801 1.508-1.62 3.345-3.55 6.797-6.98 10.283-10.393 11.971-11.742 22.607-25.224 22.852-42.75l-.017-2.112-.018-2.24c-.31-14.146-5.398-26.165-15.092-36.506C239.464 98.784 232.448 95.116 225 93l-2.309-.656c-18.369-4.25-38.005.945-54.691 8.656l-.25-3.437c-.537-4.927-1.614-9.685-2.75-14.5l-.54-2.297c-.932-3.986-.932-3.986-2.46-7.766h20V50h-20V30z" fill="@{border}"/><path d="M146.825 221.74c3.672.01 7.343 0 11.015-.013 55.641-.033 55.641-.033 69.535 12.398 5.618 9.94 4.625 19.25 4.625 30.875H69c0-23.865 0-23.865 6-31l1.219-1.555c14.14-15.117 52.198-10.77 70.606-10.706" fill="@{main}"/><path d="M146.825 221.74c3.672.01 7.343 0 11.015-.013 53.935-.032 53.935-.032 67.16 10.273 3 3.512 3 3.512 3 6-4.34-.527-8.67-1.089-12.996-1.719l-2.697-.386q-2.693-.387-5.383-.79c-17.493-2.475-35.123-2.293-52.75-2.29q-4.153 0-8.305-.02C122.727 232.681 99.69 233.01 77 238q-2.498.505-5 1c3.111-6.223 6.842-9.896 13.43-12.2 19.79-5.463 41.047-5.131 61.395-5.06" fill="@{lightest}"/><path d="M123.543 132.531c2.69 2 5.089 4.1 7.457 6.469.24 1.987.24 1.987.227 4.45v2.79l-.032 3.018-.008 3.085c-.011 3.26-.037 6.521-.062 9.782q-.016 3.31-.027 6.621-.034 8.127-.098 16.254c-5.989 1.996-12.85 2.744-19 1-4.432-2.76-7.47-7.081-10.581-11.19-1.836-2.342-3.853-4.465-5.91-6.612-7.07-7.384-12.905-14.288-12.716-24.925.46-5.059 2.861-8.17 6.457-11.523 9.964-7.98 23.988-5.424 34.293.781m-31.211 5.844C90.008 141.21 89.81 144.471 90 148c2.29 5.62 6.183 9.686 10.3 14.09a223 223 0 0 1 5.93 6.664l3.395 3.871 1.594 1.905 1.57 1.76 1.366 1.584c2.48 1.734 2.48 1.734 8.845 1.126v-38c-15.521-8.158-15.521-8.158-30.668-2.625" fill="@{border}"/><path d="M248 109c7.256 6.012 11.022 15.753 12 25 1.117 17.082-2.152 30.486-13.406 43.86a274 274 0 0 1-12.028 12.519c-8.75 8.57-16.752 17.4-23.566 27.621-1.971.249-1.971.249-4.352.074l-2.578-.166-2.695-.22-2.719-.186q-3.33-.23-6.656-.502l2.207-1.718c2.642-2.158 5.061-4.404 7.488-6.8l2.731-2.692 2.914-2.892 1.501-1.488q3.934-3.904 7.86-7.816c2.682-2.67 5.376-5.33 8.072-7.987a1609 1609 0 0 0 6.252-6.214q1.483-1.475 2.974-2.939c11.619-11.413 18.194-22.157 18.439-38.579-.008-7.956-1.322-15.141-3.563-22.75C248 112 248 112 248 109" fill="@{darker}"/><path d="M212.875 132.313c4.057 5.13 5.871 9.36 5.576 15.919-1.395 8.564-8.528 15.449-14.388 21.393a2984 2984 0 0 0-4.09 4.227l-2.022 2.057c-1.987 2.07-1.987 2.07-3.742 4.375-4.339 5.532-4.339 5.532-9.068 6.532l-3.891-.254-3.922-.183C174 186 174 186 171 185c-.203-6.583-.343-13.165-.44-19.751a516 516 0 0 0-.164-6.716 502 502 0 0 1-.177-9.666l-.125-3.021c-.005-6.824-.005-6.824 2.65-9.803A47 47 0 0 1 179 132l2.574-1.426c10.571-4.435 21.802-5.902 31.301 1.738m-22.687 2.937-2.458.703c-3.561 1.286-3.561 1.286-9.73 5.047v38c7.281.753 7.281.753 9.89-1.293l1.36-1.894a120 120 0 0 1 8.215-9.57c9.234-9.235 9.234-9.235 14.222-20.93-.909-4.382-2.394-6.3-5.687-9.313-5.598-2.16-10.085-2.446-15.812-.75" fill="@{border}"/><path d="m85.766 91.902 2.695.01 2.789.025 2.836.014q3.458.018 6.914.049v1l-2.64.297c-16.213 2.035-30.043 6.81-40.86 19.578-7.726 10.498-10.88 21.564-10.75 34.438l.012 2.793c.082 6.449.596 12.632 2.238 18.894-2.875-2.448-3.894-4.838-5.125-8.375l-1.008-2.836C39.76 147.795 39.765 135.985 43 126l.742-2.379C47.864 111.967 55.298 103.15 66 97a82.4 82.4 0 0 1 11-4l1.853-.537c2.367-.51 4.492-.576 6.913-.56" fill="@{lighter}"/><path d="M139 30h23c-3 4-3 4-4.901 4.454l-2.11-.063-2.07-.03-2.607-.111L142 34v20h-20c.119 5.505.119 5.505.27 11.01.022 1.998-.12 3.997-.27 5.99l-3 2V50h20z" fill="@{lighter}"/><path d="M161 50h21v3h-22z" fill="@{lighter}"/></svg>';
@knight: '<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><path d="M124 31c2.453 1.88 2.453 1.88 4.68 4.488l2.538 2.828 1.313 1.49c6.85 7.68 12.722 14.038 23.43 14.853l2.055.11c19.381 1.122 39.978 15.174 53.027 28.938C223.679 98.512 231.458 115.137 236 134l.746 3.043c5.635 28.796-2.306 56.65-10.746 83.957l2.369.423c6.055 1.328 11.305 6.526 14.631 11.577 6.345 13.16 4 22.65 4 39H70c0-34.648 0-34.648 9.188-44.75 2.687-2.6 4.901-3.734 8.437-4.875 3.272-1.281 4.195-2.039 5.883-5.191a208 208 0 0 0 2.394-6.871c6.313-19.052 24.52-33.877 39.938-45.727 4.655-3.672 8.277-7.937 10.16-13.586.067-1.561.085-3.125.063-4.687l-.028-2.45L146 142l-1.398 1.504c-9.337 9.724-19.224 16.868-32.79 18.434-5.79.739-8.893 1.474-12.812 6.062a187 187 0 0 0-5.29 7.695c-2.338 3.15-4.198 4.985-8.093 5.809-11.513.246-25.38-3.327-34.21-11.074-4.623-4.7-7.253-8.748-7.477-15.563.567-9.575 6.726-17.05 12.258-24.492a3234 3234 0 0 0 3.457-4.762c1.599-2.202 3.2-4.403 4.817-6.592C71.85 108.97 76.034 98.778 80 87c3.67-10.578 8.802-18.136 17.813-24.937 5.108-4.188 6.289-10.673 7.917-16.82 1.705-6.309 3.653-9.711 9.145-13.556 3.198-1.034 5.78-.983 9.125-.687" fill="@{main}"/><path d="M124 31c2.453 1.88 2.453 1.88 4.68 4.488l2.538 2.828 1.313 1.49c6.85 7.68 12.722 14.038 23.43 14.853l2.055.11c19.381 1.122 39.978 15.174 53.027 28.938C223.679 98.512 231.458 115.137 236 134l.746 3.043c5.635 28.796-2.306 56.65-10.746 83.957l2.369.423c6.055 1.328 11.305 6.526 14.631 11.577 6.345 13.16 4 22.65 4 39H70c0-34.648 0-34.648 9.188-44.75 2.687-2.6 4.901-3.734 8.437-4.875 3.272-1.281 4.195-2.039 5.883-5.191a208 208 0 0 0 2.394-6.871c6.313-19.052 24.52-33.877 39.938-45.727 4.655-3.672 8.277-7.937 10.16-13.586.067-1.561.085-3.125.063-4.687l-.028-2.45L146 142l-1.398 1.504c-9.337 9.724-19.224 16.868-32.79 18.434-5.79.739-8.893 1.474-12.812 6.062a187 187 0 0 0-5.29 7.695c-2.338 3.15-4.198 4.985-8.093 5.809-11.513.246-25.38-3.327-34.21-11.074-4.623-4.7-7.253-8.748-7.477-15.563.567-9.575 6.726-17.05 12.258-24.492a3234 3234 0 0 0 3.457-4.762c1.599-2.202 3.2-4.403 4.817-6.592C71.85 108.97 76.034 98.778 80 87c3.67-10.578 8.802-18.136 17.813-24.937 5.108-4.188 6.289-10.673 7.917-16.82 1.705-6.309 3.653-9.711 9.145-13.556 3.198-1.034 5.78-.983 9.125-.687m-8.5 9.188c-2.533 3.173-3.194 6.243-4 10.187-2.163 10.38-6.683 15.204-14.781 21.938-5.946 5.877-8.643 12.591-11.156 20.437-4.735 13.988-11.345 25.13-19.965 37.026-2.647 3.685-5.218 7.421-7.785 11.161L56.39 143c-4.11 5.98-5.332 9.725-4.39 17.001 4.722 8.343 14.383 11.074 23.164 13.52 5.416.999 5.416.999 10.836.479 2.15-2.307 3.513-4.09 5.063-6.75 3.206-5.32 5.98-8.994 11.937-11.25 2.752-.672 5.503-1.032 8.313-1.375 14.142-2.176 24.485-10.951 33.417-21.906C147 130 147 130 149 129a600 600 0 0 1 2 5l.8 1.832c2.713 6.518 3.297 12.004.637 18.606-5.115 10.3-13.131 17.04-21.832 24.233A294 294 0 0 0 121 187l-1.941 1.707c-7.902 7.345-14.39 17.139-18.059 27.293l1 3 2.938-.402 4.062-.536 3.938-.527c15.107-1.708 30.228-1.721 45.414-1.72 3.744-.002 7.49-.02 11.234-.04 13.107-.03 25.997.38 39.03 1.794A78 78 0 0 0 219 218c3.323-9.735 5.942-19.54 8.25-29.562l.782-3.387c6.452-28.51 2.585-58.31-12.66-83.477C212.138 96.53 208.244 92.211 204 88l-2.437-2.625c-13.343-12.366-30.996-23.189-49.613-24.607-9.59-.85-13.861-4.311-20.137-11.393q-2.454-2.65-4.918-5.29l-2.13-2.373C123.17 39.768 123.17 39.768 121 40v-2c-3.177-.33-3.177-.33-5.5 2.188" fill="@{border}"/><path d="M155.886 221.74c3.613.01 7.224 0 10.837-.013 11.895-.008 23.717.288 35.582 1.18l3.23.24c10.714.894 21.789 2.572 29.465 10.853 6.588 9.978 5 18.28 5 31H78c-1.61-11.264-1.454-22.355 5.562-31.75 7.933-8.641 22.163-9.558 33.157-10.36l3.431-.254c11.91-.814 23.802-.939 35.736-.897" fill="@{main}"/><path d="M151 61c19.826 1.214 39.713 12.69 53 27l1.98 1.965c18.49 19.126 25.71 46.748 25.367 72.841-.592 16.859-4.723 39.947-12.347 55.194l-12.835-.856L204 217l-15.937-1.062-2.07-.138-2.061-.138-3.897-.26L174 215c2.374-6.4 5.04-12.209 8.75-17.937l1.324-2.09a169 169 0 0 1 8.051-11.473c13.615-18.282 19.424-40.599 16.375-63.207-2.242-11.555-6.381-21.895-13.5-31.293l-1.48-2.016C183.57 74.504 166.276 65.696 151 62z" fill="@{darker}"/><path d="M155.886 221.74c3.613.01 7.224 0 10.837-.013 11.895-.008 23.717.288 35.582 1.18l3.23.24c10.57.882 21.98 2.504 29.465 10.853 1.207 2.691 1.207 2.691 2 5l-3.426-.805c-9.565-2.14-19.041-3.61-28.82-4.308l-3.506-.253c-12.968-.855-25.935-.974-38.926-.95q-4.061.007-8.123-.02c-15.015-.1-29.885.237-44.84 1.668l-3.747.353C97.245 235.561 89.19 237.086 81 239c1.918-5.36 4.784-8.452 9.89-10.91 8.444-3.308 16.836-4.544 25.829-5.2l3.431-.254c11.91-.814 23.802-.939 35.736-.897" fill="@{lighter}"/><path d="M121 38c1.859 4.732 2.336 9.03 2.313 14.063l.048 2.103c.005 5.376-1.132 8.588-4.904 12.389l-1.644 1.32-1.852 1.531L113 71c-11.405 9.336-16.972 19.127-20.687 33.438-2.125 7.08-6.078 12.198-10.781 17.752a504 504 0 0 0-4.91 5.915q-2.668 3.255-5.353 6.494a490 490 0 0 0-12.806 16.112c-2.033 2.636-3.66 4.42-6.463 6.289-1.502-9.656 6.39-17.182 11.737-24.536C73.912 118.466 81.361 105.404 87 89c3.109-8.912 6.816-14.378 14.063-20.437 7.558-6.551 9.745-13.603 11.847-23.172C114.39 40.786 115.928 38 121 38" fill="@{lighter}"/><path d="M126 84c2.438 1.625 2.438 1.625 4 4 .563 3.5.563 3.5 0 7-3.019 3.277-5.601 4.59-10 5a383 383 0 0 1-4-.062c-3.425-.059-5.895.51-9 2.062 1.415-7.203 3.72-13.151 9.375-18.062 3.633-1.298 5.926-.947 9.625.062" fill="@{border}"/><path d="M158 110h3c2.055 11.876.851 27.724-6 38-.182-.808-.364-1.616-.55-2.45-.252-1.068-.504-2.136-.762-3.238l-.739-3.199c-.943-3.092-2.245-5.388-3.949-8.113v-2l-2-1 1.898-2.922 2.477-3.828 1.25-1.922c1.964-3.042 3.86-6.03 5.375-9.328m-58.336 35.723c4.037.335 6.274 1.605 9.711 3.714l3.21 1.934L115 153v1l-2.379.297-3.183.453-3.13.422c-7.777 1.947-11.4 5.564-15.558 12.078A104 104 0 0 1 86 174h-3c1.413-3.676 3.035-7.174 4.813-10.687l1.593-3.157L91 157q2.012-4.066 4.02-8.137c1.479-2.81 1.479-2.81 4.644-3.14" fill="@{darker}"/></svg>';
@rook: '<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><path d="m150 48.75 3.406-.023c6.515.015 12.297.592 18.594 2.273.51 3.499 1.006 7 1.5 10.5l.434 2.977c.78 5.57 1.227 10.898 1.066 16.523l8-1 6-26c12.335 0 20.696.65 31.371 6.117l3.213 1.636L226 63q-.538 8.03-1.117 16.058-.194 2.724-.375 5.45C222.637 112.496 222.637 112.496 213 122c-6.487 5-6.487 5-10 5l.509 3.38c2.34 15.816 4.25 31.68 6.135 47.555q.687 5.768 1.382 11.535.54 4.488 1.073 8.977l.511 4.258q.355 2.955.703 5.91l.403 3.381c.255 2.693.34 5.302.284 8.004l2.5.188c7.712 1.79 12.999 6.47 17.5 12.812 4 11 4 11 4 39H62c0-35.88 0-35.88 8.93-45.273C75.208 223.159 80.34 220 86 220l.147-2.22c.68-9.549 1.751-19.03 2.884-28.534l.594-5.027q.619-5.226 1.24-10.45.797-6.693 1.584-13.387.611-5.172 1.225-10.343.293-2.469.584-4.939.406-3.438.818-6.876l.469-3.945c.348-2.508.761-4.85 1.455-7.279l-2.562-.625c-6.958-2.783-10.843-7.362-14.395-13.836-2.652-6.455-3.425-12.957-3.895-19.851l-.193-2.59c-.2-2.698-.39-5.398-.58-8.098l-.406-5.527Q74.475 69.737 74 63q2.81-1.449 5.629-2.883l3.166-1.621C92.235 54.09 100.395 54 111 54l6 26 8 1 .148-3.262C125.598 68.7 126.402 59.92 128 51c7.425-1.982 14.335-2.303 22-2.25" fill="@{border}"/><path d="M195 128c1.5 4.86 2.444 9.483 3.053 14.552l.267 2.181q.429 3.537.844 7.076l.597 4.957q.623 5.182 1.235 10.366a4802 4802 0 0 0 1.587 13.237q.618 5.115 1.225 10.23.291 2.44.586 4.88.411 3.418.812 6.84l.466 3.919c.345 3.958.384 7.791.328 11.762l-1.929-.184c-18.129-1.64-36.188-2.037-54.383-2.066l-3.285-.015a448 448 0 0 0-44.835 2.085c-2.863.2-5.699.209-8.568.18a73100 73100 0 0 1 3.86-32.989q.898-7.659 1.792-15.318.863-7.392 1.731-14.783l.66-5.64q.46-3.95.926-7.9l.272-2.354c.44-3.711.955-7.365 1.759-11.016 30.886-4.756 60.12-3.933 91 0m-49.336 93.815c3.668-.002 7.336-.02 11.004-.04 55.885-.133 55.885-.133 68.852 11.6C233.483 241.82 231 254.503 231 265H69c0-25.82 0-25.82 7.222-33.514 5.95-4.973 13.489-6.263 20.965-7.174l2.557-.353c2.749-.364 5.498-.672 8.256-.959l2.833-.297c11.584-1.012 23.211-.89 34.83-.888M166 58q.756 6.093 1.5 12.188l.434 3.486.41 3.369.38 3.094C169 83 169 83 169 88h20l1.313-7.312C191.537 74.019 193.058 67.5 195 61c7.864-.732 16.453 1.635 23 6a78 78 0 0 1-.187 9l-.177 2.696c-.192 2.77-.41 5.537-.636 8.304l-.192 2.576a436 436 0 0 1-.62 7.174l-.175 2.16c-.671 6.329-2.773 11.626-7.083 16.367l-2.055 1.66-2.07 1.715c-5.913 4.416-14.795 2.455-21.762 1.636-10.813-1.255-21.607-1.563-32.48-1.6l-2.317-.01c-8.422-.012-16.73.248-25.101 1.209l-2.134.24c-3.326.386-6.628.824-9.938 1.333-7.53.988-11.836.51-18.135-3.882-6.622-5.392-8.725-12.521-9.668-20.812a403 403 0 0 1-.457-5.516l-.244-2.907C82.006 81.215 81.757 74.151 82 67c7.484-4.158 14.422-6.068 23-6q1.504 6.187 3 12.375l.867 3.563.82 3.398.762 3.142C111 86 111 86 111 88h20l.375-7.062C131.841 72.89 132.82 64.972 134 57c10.747-2.16 21.675-3.34 32 1" fill="@{main}"/><path d="M195 128c1.5 4.86 2.444 9.483 3.053 14.552l.267 2.181q.429 3.537.844 7.076l.597 4.957q.623 5.182 1.235 10.366a4802 4802 0 0 0 1.587 13.237q.618 5.115 1.225 10.23.291 2.44.586 4.88.411 3.418.812 6.84l.466 3.919c.34 3.907.328 7.84.328 11.762l-18-2-.48-4.512c-2.532-22.564-5.853-46.685-19.52-65.488l-1.828-2.527c-2.497-2.843-5.206-4.931-8.36-6.973l-1.81-1.178c-6.153-3.778-12.624-5.606-19.58-7.35C133 127 133 127 131 125c21.529-2.005 42.623.277 64 3" fill="@{darker}"/><path d="M145.664 221.815c3.668-.002 7.336-.02 11.004-.04 55.315-.132 55.315-.132 67.332 10.225 2.5 2.812 2.5 2.812 4 5l-1 2-2.953-.805c-9.182-2.348-18.246-3.666-27.7-4.308l-3.657-.253c-13.285-.841-26.565-.974-39.87-.95q-4.125.007-8.248-.02c-15.169-.1-30.195.227-45.302 1.668l-3.768.353C87.495 235.523 79.799 237.01 72 239c2.143-6.018 5.51-8.749 11.078-11.547 4.525-1.87 9.156-2.455 13.984-3.078l2.584-.367c15.325-2.087 30.577-2.194 46.018-2.193" fill="@{lighter}"/><path d="M210 64c6.875 1.875 6.875 1.875 8 3a213 213 0 0 1-.312 8.938l-.15 2.71c-.356 6.042-.774 12.077-1.35 18.102l-.176 2.16c-.67 6.329-2.773 11.627-7.082 16.367l-2.055 1.66-2.07 1.715c-3.178 2.374-5.191 2.484-9.118 2.473l-2.863.008c-2.71-.128-5.184-.527-7.824-1.133l2.125-1.687L190 116l3-2.125c11.085-9.526 12.936-30.066 15.1-43.707.81-5.077.81-5.077 1.9-6.168" fill="@{darker}"/><path d="m95 63-1.059 2.492-1.379 3.383-1.37 3.305c-2.92 8.297-2.433 17.758-2.754 26.445l-.131 3.332Q88.15 105.977 88 110c-4.796-4.796-4.594-12.155-5.125-18.562l-.257-2.948C82.025 81.306 81.755 74.209 82 67c1.222-.68 2.453-1.343 3.688-2l2.074-1.125c2.553-.998 4.52-1.027 7.238-.875m48.688-7.062 3.574.027L150 56l-2.336 1.84c-2.752 2.232-5.193 4.624-7.664 7.16l-1.625 1.5c-1.806 1.97-3.013 4.209-4.375 6.5h-1l1-16c3.422-1.14 6.087-1.098 9.688-1.062" fill="@{lightest}"/><path d="M195 61c6.625-.125 6.625-.125 10 1v2c-1.574 1.55-1.574 1.55-3.687 3.313A131 131 0 0 0 192 76c.642-5.135 1.683-9.994 3-15" fill="@{lighter}"/></svg>';
@pawn: '<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><path d="M174.313 74.125C183.927 81.457 190.025 91.059 192 103c1.244 13.866-3.027 24.824-11 36l1.652.975A465 465 0 0 1 190 144.5l2.602 1.531c6.044 3.838 6.044 3.838 7.026 6.976.1 4.003-.9 7.616-2.503 11.243l-1.055 2.453c-.986 2.117-2.026 4.208-3.07 6.297h-17c4.187 20.194 13.539 32.806 30.44 44.184 12.61 8.626 19.727 20.86 22.56 35.816v19H70c0-19.321 2.637-35.332 16.48-49.766 3.608-3.2 7.538-5.733 11.598-8.32C113.271 203.962 119.721 190.117 124 173h-17c-5.255-9.163-5.255-9.163-6-13-.148-.697-.296-1.395-.45-2.113-.278-2.576-.274-4.386.45-6.887 2.954-2.978 6.374-4.93 10-7a875 875 0 0 0 4.625-2.937L119 139l-1.426-2.16c-7.952-12.234-11.571-22.771-9.113-37.625C111.414 88.252 117.757 79.545 127 73c15.57-8.034 32.185-8.66 47.313 1.125" fill="@{main}"/><path d="M132 175c2.878 1.302 4.91 2.671 7.11 4.93l1.762 1.792 1.878 1.938 4.035 4.096q3.147 3.21 6.285 6.43c13.47 13.796 26.327 25.68 45.546 30.546 7.18 1.844 12.037 3.252 16.165 9.873L216 237l1.219 2.3c4.243 8.775 4.781 15.664 4.781 25.7H77c1.175-15.279 3.552-27.69 15.25-38.125 2.982-2.379 6.094-4.581 9.188-6.812C115.38 209.943 123.499 199.395 129 183a584 584 0 0 1 1.813-4.812z" fill="@{main}"/><path d="M174.313 74.125C183.927 81.457 190.025 91.059 192 103c1.244 13.866-3.027 24.824-11 36l1.652.975A465 465 0 0 1 190 144.5l2.602 1.531c6.044 3.838 6.044 3.838 7.026 6.976.1 4.003-.9 7.616-2.503 11.243l-1.055 2.453c-.986 2.117-2.026 4.208-3.07 6.297h-17c4.187 20.194 13.539 32.806 30.44 44.184 12.61 8.626 19.727 20.86 22.56 35.816v19H70c0-19.321 2.637-35.332 16.48-49.766 3.608-3.2 7.538-5.733 11.598-8.32C113.271 203.962 119.721 190.117 124 173h-17c-5.255-9.163-5.255-9.163-6-13-.148-.697-.296-1.395-.45-2.113-.278-2.576-.274-4.386.45-6.887 2.954-2.978 6.374-4.93 10-7a875 875 0 0 0 4.625-2.937L119 139l-1.426-2.16c-7.952-12.234-11.571-22.771-9.113-37.625C111.414 88.252 117.757 79.545 127 73c15.57-8.034 32.185-8.66 47.313 1.125m-52.098 12.941c-5.752 7.9-8.204 17.22-7.215 26.934 1.62 10.211 6.846 17.803 15 24-1.222 3.665-2.199 4.012-5.437 5.96l-2.711 1.68a1107 1107 0 0 1-5.704 3.446l-2.71 1.687-2.504 1.514c-2.072 1.589-2.072 1.589-2.899 3.977-.23 3.586-.23 3.586 2.965 9.736h21c-2.332 15.094-5.316 27.779-15 40l-1.477 2.008c-5.166 6.543-12.102 10.944-18.811 15.758C86.632 231.032 81.098 239.933 78 252l-1 13h145c0-13.425-2.114-24.553-11-35-3.803-3.306-7.848-6.152-12-9-15.28-11.29-26.324-24.72-29.676-43.86A296 296 0 0 1 168 167l1.788-.012a556 556 0 0 0 8.024-.175l2.815-.018c5.308-.043 5.308-.043 9.51-2.908 1.113-3.722 1.593-6.027.863-9.887-2.237-2.263-4.844-3.675-7.625-5.187l-4.29-2.481-2.094-1.185c-7.609-4.383-7.609-4.383-8.991-7.147l1.688-.687c7.115-4.04 11.676-11.747 14.312-19.313 1.865-9.789.782-18.586-4.25-27.25-5.56-8.067-12.54-13.97-22.234-16.363-13.862-2.131-26.054 1.975-35.301 12.68" fill="@{border}"/><path d="M132 166h35c.937 2.811 1.46 5.529 1.95 8.444 3.167 18.492 12.075 33.941 27.507 45.107A330 330 0 0 0 206 226c-6.012 2.426-13.29-1.735-19-4-16.447-7.11-28.825-21.606-41.098-34.214-1.9-1.95-3.811-3.89-5.722-5.829l-1.752-1.818c-1.42-1.437-2.918-2.796-4.428-4.139h-3z" fill="@{darker}"/><path d="M127 190h1c-.56 12.422-3.777 24.378-12.484 33.566-3.67 3.333-7.804 6.022-11.891 8.809C91.458 240.703 83.719 248.845 79 263h-1c-.909-12.82 2.691-23.192 11-33 3.729-3.846 8.106-6.813 12.438-9.937C112.87 211.765 120.849 202.903 127 190" fill="@{lightest}"/><path d="M172 83c8.077 5.99 11.253 12.306 12.738 22.215.898 9.55-1.752 16.636-6.738 24.785-2.562 3-2.562 3-5 5l-2.04 2.11c-4.246 2.711-7.85 2.33-12.773 2.14l-2.677-.055A472 472 0 0 1 149 139c3-2 6.037-3.555 9.25-5.187 9.279-5.01 15.241-10.679 18.75-20.813 1.816-8.285 1.006-16.08-2-24a142 142 0 0 0-3-4zm-2 58 2.055 1.32 2.82 1.805 3.012 1.945a99 99 0 0 0 6.07 3.485c2.54 1.344 4.83 2.61 7.043 4.445.904 3.963.377 5.925-.945 9.695C188 166 188 166 185.975 166.4c-2.572.095-5.093.036-7.662-.087l-2.706-.068A330 330 0 0 1 169 166l1.074-1.627 1.39-2.154 1.387-2.127c1.783-3.247 1.731-5.468 1.149-9.092a61 61 0 0 0-3.125-6.3C170 143 170 143 170 141" fill="@{darker}"/><path d="M147 75c-2.194 2.367-4.434 3.958-7.187 5.625-11.146 7.382-17.49 18.19-20.563 31.063l-.61 3.011c-.21.76-.422 1.519-.64 2.301l-2 1c-2.493-8.988-.898-18.168 3.219-26.453C125.315 81.59 135.04 74.267 147 75" fill="@{lighter}"/><path d="m130 140 1 2c-.707 1.77-.707 1.77-1.812 3.813-1.637 3.054-2.882 5.923-4.188 9.187h-16c2.818-2.818 4.628-4.577 7.855-6.543l2.135-1.314c.725-.44 1.45-.878 2.198-1.33l4.355-2.668 1.938-1.177c1.506-.882 1.506-.882 2.519-1.968" fill="@{lightest}"/></svg>';
@queen: '<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><path d="M131.848 35.379c6.163 4.642 10.73 10.578 12.84 18.059C145.625 61.128 144.205 67 141 74l-1.7 1.895c-1.984 3.212-1.008 5.452-.3 9.105.795 2.75 1.745 5.432 2.723 8.121l.802 2.257c.84 2.355 1.689 4.707 2.537 7.06q.862 2.408 1.721 4.818 2.1 5.875 4.217 11.744 2.827-7.758 5.61-15.533.949-2.643 1.911-5.282c.923-2.53 1.83-5.066 2.733-7.603l.877-2.374c1.43-4.068 2.43-6.986.869-11.208l-1.937-2.875C157.157 68.207 156.138 61.947 157 55c2.069-9.18 6.302-15.056 13.992-20.379 7.462-4.04 16.921-4.087 24.95-1.773 7.199 3.242 12.71 8.629 15.995 15.84 2.246 7.128 2.25 15.334-.625 22.25-3.05 5.852-6.53 9.76-12.312 13.062.533 17.007 1.118 34.006 2 51 3.822-3.189 7.516-6.322 10.75-10.125l1.672-1.945L215 121l1.754-2.078L218 117c-.623-2.014-1.3-4.011-2-6-1.102-8.86 1.274-15.711 6.625-22.75 5.704-6.087 12.105-8.542 20.375-8.875 7.503.302 13.257 2.208 18.84 7.305 5.265 5.793 7.7 11.719 8.473 19.445-.604 7.483-3.18 14.784-8.407 20.3-2.165 1.789-4.165 2.546-6.777 3.555-6.542 3.22-8.114 7.865-10.566 14.458a4149 4149 0 0 1-2.2 5.49 862 862 0 0 0-2.464 6.27c-2.175 5.541-4.46 11.036-6.747 16.532l-3.868 9.302c-2.062 4.967-4.112 9.94-6.159 14.913l-1.081 2.624A3130 3130 0 0 0 219 207l-1.146 2.778-1.112 2.725-1.012 2.468c-.843 1.983-.843 1.983-.73 4.029l1.871.594c7.681 2.712 14.24 6.616 18.543 13.75C241.25 245.939 239 257.247 239 272H62c0-34.995 0-34.995 10.305-45.793C76.71 222.599 81.62 220.729 87 219a214 214 0 0 0-6.484-17.582l-1.008-2.426c-1.837-4.42-3.69-8.833-5.541-13.247l-3.508-8.372a679 679 0 0 1-6.572-16.338 1373 1373 0 0 0-3.904-9.931 313 313 0 0 1-1.788-4.68c-3.5-10.077-3.5-10.077-11.425-16.71l-2.501-.863c-4.782-1.794-7.21-5.857-9.519-10.206-3.544-7.937-3.98-15.193-.914-23.375 3.367-6.565 8.574-12.06 15.543-14.68 7.69-1.73 16.071-2.004 22.953 2.222L74 84l3.188 2.188c5.75 5.75 8.542 12.037 9 20.124C86 110 86 110 84.496 113.669c-.65 2.108-.65 2.108-.496 4.332 2.1 3.522 4.921 6.183 7.875 9l2.34 2.348A355 355 0 0 0 100 135c1.185-4.812 1.302-9.607 1.5-14.535l.123-2.775c.173-3.906.337-7.812.502-11.719q.184-4.284.375-8.569l.107-2.673.112-2.499.092-2.188c.194-2.098.626-4.015 1.189-6.042l-2.062-.5c-5.503-2.81-8.938-7.633-11.813-13-2.65-8.243-2.758-15.721.879-23.703 3.551-6.142 8.956-11.783 15.726-14.32 8.612-1.809 17.439-1.608 25.118 2.902" fill="@{main}"/><path d="M131.848 35.379c6.163 4.642 10.73 10.578 12.84 18.059C145.625 61.128 144.205 67 141 74l-1.7 1.895c-1.984 3.212-1.008 5.452-.3 9.105.795 2.75 1.745 5.432 2.723 8.121l.802 2.257c.84 2.355 1.689 4.707 2.537 7.06q.862 2.408 1.721 4.818 2.1 5.875 4.217 11.744 2.827-7.758 5.61-15.533.949-2.643 1.911-5.282c.923-2.53 1.83-5.066 2.733-7.603l.877-2.374c1.43-4.068 2.43-6.986.869-11.208l-1.937-2.875C157.157 68.207 156.138 61.947 157 55c2.069-9.18 6.302-15.056 13.992-20.379 7.462-4.04 16.921-4.087 24.95-1.773 7.199 3.242 12.71 8.629 15.995 15.84 2.246 7.128 2.25 15.334-.625 22.25-3.05 5.852-6.53 9.76-12.312 13.062.533 17.007 1.118 34.006 2 51 3.822-3.189 7.516-6.322 10.75-10.125l1.672-1.945L215 121l1.754-2.078L218 117c-.623-2.014-1.3-4.011-2-6-1.102-8.86 1.274-15.711 6.625-22.75 5.704-6.087 12.105-8.542 20.375-8.875 7.503.302 13.257 2.208 18.84 7.305 5.265 5.793 7.7 11.719 8.473 19.445-.604 7.483-3.18 14.784-8.407 20.3-2.165 1.789-4.165 2.546-6.777 3.555-6.542 3.22-8.114 7.865-10.566 14.458a4149 4149 0 0 1-2.2 5.49 862 862 0 0 0-2.464 6.27c-2.175 5.541-4.46 11.036-6.747 16.532l-3.868 9.302c-2.062 4.967-4.112 9.94-6.159 14.913l-1.081 2.624A3130 3130 0 0 0 219 207l-1.146 2.778-1.112 2.725-1.012 2.468c-.843 1.983-.843 1.983-.73 4.029l1.871.594c7.681 2.712 14.24 6.616 18.543 13.75C241.25 245.939 239 257.247 239 272H62c0-34.995 0-34.995 10.305-45.793C76.71 222.599 81.62 220.729 87 219a214 214 0 0 0-6.484-17.582l-1.008-2.426c-1.837-4.42-3.69-8.833-5.541-13.247l-3.508-8.372a679 679 0 0 1-6.572-16.338 1373 1373 0 0 0-3.904-9.931 313 313 0 0 1-1.788-4.68c-3.5-10.077-3.5-10.077-11.425-16.71l-2.501-.863c-4.782-1.794-7.21-5.857-9.519-10.206-3.544-7.937-3.98-15.193-.914-23.375 3.367-6.565 8.574-12.06 15.543-14.68 7.69-1.73 16.071-2.004 22.953 2.222L74 84l3.188 2.188c5.75 5.75 8.542 12.037 9 20.124C86 110 86 110 84.496 113.669c-.65 2.108-.65 2.108-.496 4.332 2.1 3.522 4.921 6.183 7.875 9l2.34 2.348A355 355 0 0 0 100 135c1.185-4.812 1.302-9.607 1.5-14.535l.123-2.775c.173-3.906.337-7.812.502-11.719q.184-4.284.375-8.569l.107-2.673.112-2.499.092-2.188c.194-2.098.626-4.015 1.189-6.042l-2.062-.5c-5.503-2.81-8.938-7.633-11.813-13-2.65-8.243-2.758-15.721.879-23.703 3.551-6.142 8.956-11.783 15.726-14.32 8.612-1.809 17.439-1.608 25.118 2.902M99.625 46.563C95.385 52.923 95.251 58.42 96 66c1.564 4.905 4.704 8.239 9 11 1.99.695 3.99 1.366 6 2l-.168 2.696c-2.268 35.623-2.268 35.623-2.832 71.304-5.686-4.79-10.886-9.862-15.937-15.312l-2.098-2.246C84.912 130.019 79.91 124.552 75 119l.918-2.27c2.679-6.76 3.79-11.276 1.406-18.257C74.51 93.215 69.658 88.886 64 87c-6.719-.76-11.792-.46-17.348 3.574-4.34 3.746-7.108 7.71-7.945 13.426-.41 6.396 1.531 10.882 5.293 16 3.525 3.353 6.808 5.9 11.75 6.125L58 126l.303 2.01c.883 3.788 2.337 7.26 3.845 10.83l.984 2.36q1.617 3.871 3.243 7.738l2.258 5.407q1.784 4.281 3.573 8.56a7630 7630 0 0 1 13.075 31.552l3.824 9.263L95 218l2.719-.184q2.926-.196 5.854-.388c3.329-.217 6.654-.446 9.98-.71 12.397-.925 24.799-.904 37.226-.903 3.817-.002 7.634-.02 11.451-.04 14.708-.032 29.155.559 43.77 2.225 3.099-5.919 5.704-11.773 7.902-18.082 1.213-3.225 2.627-6.303 4.098-9.418 1.866-3.955 3.56-7.871 5-12 1.84-5.274 4.172-10.245 6.555-15.293 1.731-3.842 3.127-7.751 4.515-11.727.849-2.263 1.81-4.341 2.93-6.48 3.12-5.97 5.482-12.436 7-19l2.215.156c4.854-.272 8.213-3.018 11.785-6.156 3.483-4.612 5.26-10.219 5-16-1.19-6.528-4.892-10.936-10-15-4.93-3.073-10.4-2.801-16-2-5.95 2.55-9.98 6.336-13 12-1.597 4.79-1.913 9.583-.105 14.367.964 1.915 2.027 3.78 3.105 5.633l-2.16 2.125c-4.906 4.851-9.68 9.724-14.16 14.977-2.455 2.774-5.107 5.335-7.746 7.933-2.812 2.857-5.368 5.886-7.934 8.965-.836-6.768-1.259-13.475-1.5-20.29l-.123-3.216q-.192-5.06-.377-10.119c-.733-20.202-.733-20.202-2-40.375l2.34-.926c6.355-2.566 8.64-5.036 11.66-11.074 1.91-5.728 1.912-11.776-.625-17.312-2.73-4.758-6.104-7.579-11.062-10-6.492-1.348-12.785-2.04-18.688 1.437C169.737 44.671 165.531 49.016 164 55c-.63 7.337.29 12.056 5 17.813 1.484 1.807 1.484 1.807 3 3.187h2l-1 2.604c-4.904 12.867-9.382 25.88-13.875 38.896l-2.375 6.863Q153.872 132.68 151 141c-4.342-11.298-8.297-22.686-12.062-34.187C135.538 96.433 132.05 86.149 128 76l1.867-.828c3.936-2.163 5.6-6.03 7.446-9.984 1.207-5.597.66-10.828-2-15.938-3.265-4.588-7.014-8.108-12.313-10.25-9.996-1.256-16.533.18-23.375 7.563" fill="@{border}"/><path d="M147.92 221.74c3.644.01 7.286 0 10.93-.013 54.515-.033 54.515-.033 66.9 10.804 8.538 9.03 6.25 20.466 6.25 32.469H70c0-25.706 0-25.706 7.14-33.465 8.487-7.006 21.623-7.835 32.137-8.644l3.275-.255c11.786-.84 23.557-.938 35.369-.897" fill="@{main}"/><path d="M255 92c4.176 2.709 6.058 5.23 7.559 9.86 1.23 5.964-.55 11.138-3.387 16.382-2.45 3.676-6.064 6.217-10.172 7.758-2.75.125-2.75.125-5 0l-.36 1.656c-.746 2.733-1.782 5.236-2.89 7.844l-1.36 3.219L238 142q-1.252 3-2.5 6c-20 48-20 48-21.242 50.969q-1.306 3.15-2.578 6.312l-1.305 3.219-1.164 2.906L208 214l-1.027 2.387c-2.445 1.999-3.223 1.793-6.313 1.601a301 301 0 0 1-5.597-.675c-9.503-1.046-18.945-1.642-28.5-1.938l-3.772-.12q-4.395-.135-8.791-.255a367 367 0 0 1 7.504-3.664c31.11-14.914 52.014-43.18 67.637-73.324 9.873-18.857 9.873-18.857 20.96-24.364 3.325-1.89 4.433-3.141 5.899-6.648.397-3.02.397-3.02.25-6.125l-.047-3.133c-.097-2.833-.097-2.833-1.203-5.742" fill="@{darker}"/><path d="M147.92 221.74c3.644.01 7.286 0 10.93-.013 55.797-.034 55.797-.034 66.748 10.863 1.198 1.418 2.31 2.908 3.402 4.41-3.71 1.237-6.295.468-10-.312-21.211-4.068-43.06-4.022-64.58-3.949-3.375.012-6.75.005-10.126-.007-22.289-.064-44.456.467-66.294 5.268q-2.498.505-5 1c1.351-4.73 3.94-7.398 8-10 8.785-4.31 18.65-5.368 28.277-6.11l3.275-.254c11.786-.84 23.557-.938 35.369-.897" fill="@{lightest}"/><path d="M197 42c4.794 3.516 7.262 6.111 9 12 .95 7.075-.27 12.9-4 19-2.591 2.955-5.414 4.398-9 6h-2l.184 2.924c1.183 19.047 2.153 37.983 1.816 57.076h-1a9486 9486 0 0 1-2.99-22.894q-.506-3.89-1.02-7.778-.736-5.61-1.459-11.223l-.464-3.473c-2.533-19.891-2.533-19.891 1.683-26.007l1.66-2.48a136 136 0 0 1 3.778-4.832c3.58-4.57 5.133-8.49 4.5-14.25A129 129 0 0 0 197 42" fill="@{darker}"/><path d="M128 42c5.665 4.28 8.652 8.09 9.938 15.25.554 6.548-1.992 12.347-6.063 17.375C130 76 130 76 128 76l.807 2.237c4.532 12.582 9.059 25.169 13.38 37.826l.919 2.625.812 2.41.712 2.078C145 125 145 125 144 128q-3.228-7.035-6.451-14.075l-2.185-4.764A3428 3428 0 0 1 128 93l-1.04-2.29q-1.475-3.264-2.933-6.538l-.89-1.963c-2.29-5.18-3.75-9.66-2.137-15.209 1.637-3.196 3.449-6.206 5.371-9.238 3.145-5.332 2.95-9.743 1.629-15.762" fill="@{darker}"/><path d="M261 97c3.529 4.603 4.478 7.395 4.402 13.203-.982 6.828-5.172 12.152-10.464 16.36-2.906 1.98-5.355 3.213-8.938 3.437l-1.156 3.672c-2.115 6.33-4.738 12.438-7.344 18.578l-1.665 3.944q-1.365 3.235-2.734 6.469-3.419 8.085-6.814 16.18-2.591 6.174-5.187 12.343l-2.57 6.123a5468 5468 0 0 1-3.635 8.644l-1.104 2.638-1.026 2.43-.89 2.118C211 215 211 215 209 218h-2c.61-4.696 1.903-8.682 3.688-13.062l.802-1.976c2.212-5.386 4.663-10.648 7.143-15.915 1.651-3.68 2.977-7.428 4.304-11.234 1.63-4.315 3.65-8.437 5.618-12.606 1.731-3.842 3.127-7.751 4.515-11.727 1.096-2.923 2.474-5.61 3.922-8.37 1.638-3.429 2.838-7.007 4.078-10.594 1.73-4.682 1.73-4.682 2.93-6.516 1.988-.871 1.988-.871 4.313-1.437 5.25-1.591 7.912-3.801 10.91-8.465 3.426-6.423 2.873-12.057 1.777-19.098" fill="@{darkest}"/><path d="M69 90c5.416 3.65 8.128 7.087 9.703 13.473.665 5.657-1.613 10.36-3.703 15.527q2.81 3.065 5.625 6.125l1.582 1.727A327 327 0 0 0 93 138l-1 2-1.234-1.158q-2.85-2.673-5.704-5.342l-2.066-1.935c-4.415-4.12-8.88-8.17-13.457-12.112-1.862-1.758-2.487-2.849-2.707-5.406-.03-3.6-.024-6.494 1.168-9.922 1.494-4.668 1.156-9.263 1-14.125" fill="@{darker}"/><path d="M195 40c5.936 1.272 8.638 4.214 12 9 2.634 4.767 3.577 10.701 2.637 16.078-2.015 6.278-6.45 12.129-12.212 15.371-3.767 3.963-3.153 7.944-3.132 13.223l-.046 3.144a939 939 0 0 0-.06 9.934q-.034 3.369-.076 6.738A1839 1839 0 0 0 194 130h-1q-.435-7.278-.854-14.557-.144-2.466-.292-4.93c-.63-10.521-.996-20.972-.854-31.513l1.97-.946c5.793-2.837 8.41-5.16 11.03-11.054 1.91-5.728 1.912-11.776-.625-17.312-2.152-3.824-4.892-6.076-8.375-8.688zm-69-1c5.562 1.348 8.734 5.567 12 10 2.876 8.628.962 16.415-2.809 24.406-2.603 5.667-1.713 9.133.153 14.973l.751 2.45c.792 2.58 1.597 5.157 2.405 7.734.807 2.58 1.612 5.16 2.405 7.744a480 480 0 0 0 1.506 4.814c1.702 5.541 1.702 5.541.589 8.879a9713 9713 0 0 1-5.934-16.106q-1.651-4.477-3.312-8.949L131.563 89l-1.073-2.875-.986-2.687-.88-2.38C128 79 128 79 128 76l2.25-1.562c4.391-3.893 6.514-8.976 6.914-14.844-.425-5.908-2.312-10.965-6.762-15.067A602 602 0 0 0 126 41z" fill="@{darkest}"/><path d="m114.75 38.875 2.422.055L119 39a145 145 0 0 1-5.812 3.688C104.376 49.08 100.632 57.69 98 68c-2.719-2.719-2.363-4.328-2.437-8.125C95.66 53.599 96.789 49.66 101 45c4.28-3.966 7.847-6.299 13.75-6.125" fill="@{darker}"/><path d="M183.25 38.875 187 39a508 508 0 0 1-4.832 3.191C172.994 48.543 169.29 56.251 167 67c-1.895-1.594-2.896-2.525-3.434-4.98-.011-6.715 1.4-11.844 6.118-16.782 4.173-3.707 7.79-6.556 13.566-6.363M61 87a231 231 0 0 1-4.832 3.156C47.913 95.757 44.088 103.736 41 113c-2.35-2.35-2.32-2.92-2.375-6.125.147-5.702 1.885-10.252 5.836-14.414C50.156 87.517 53.672 86.756 61 87" fill="@{darker}"/><path d="M245 87q-2.428 1.622-4.867 3.227C232.063 95.847 228.69 103.092 225 112l-2-1c-.543-6.52-.049-11.676 4-17 6.069-5.517 9.934-7.13 18-7" fill="@{darker}"/></svg>';
@svg: escape(@@piece);
@result: url("data:image/svg+xml,@{svg}");
}
.board-popover-component {
background-color: @surface0;
}
& when (@styleBoardAndPieces = 1) {
--theme-board-style-image: url("data:image/svg+xml,@{board}");
--theme-board-style-highlight-color: @highlight1;
--theme-piece-set-wp: #piece(pawn, white)[];
--theme-piece-set-wn: #piece(knight, white)[];
--theme-piece-set-wr: #piece(rook, white)[];
--theme-piece-set-wb: #piece(bishop, white)[];
--theme-piece-set-wq: #piece(queen, white)[];
--theme-piece-set-wk: #piece(king, white)[];
--theme-piece-set-bp: #piece(pawn, black)[];
--theme-piece-set-bn: #piece(knight, black)[];
--theme-piece-set-bb: #piece(bishop, black)[];
--theme-piece-set-br: #piece(rook, black)[];
--theme-piece-set-bq: #piece(queen, black)[];
--theme-piece-set-bk: #piece(king, black)[];
.piece {
/* Black */
&.bp {
background-image: #piece(pawn, black)[] !important;
}
&.bn {
background-image: #piece(knight, black)[] !important;
}
&.bb {
background-image: #piece(bishop, black)[] !important;
}
&.br {
background-image: #piece(rook, black)[] !important;
}
&.bk {
background-image: #piece(king, black)[] !important;
}
&.bq {
background-image: #piece(queen, black)[] !important;
}
/* White */
&.wp {
background-image: #piece(pawn, white)[] !important;
}
&.wn {
background-image: #piece(knight, white)[] !important;
}
&.wb {
background-image: #piece(bishop, white)[] !important;
}
&.wr {
background-image: #piece(rook, white)[] !important;
}
&.wk {
background-image: #piece(king, white)[] !important;
}
&.wq {
background-image: #piece(queen, white)[] !important;
}
}
}
.chessboard-pkg-move-list-component .dark-row {
background-color: @surface1;
}
}
}