Custom skins for Mini-games

Overview

You can prepare custom skin for the 'Spin the Wheel', 'Scratch Card', 'Treasure Hunt', 'Lootbox 2.0' and 'Giftbox' games directly from the Smartico Back Office by navigating to the Gamification tab and then to the Mini games skin menu

BO: Mini-games skins editor

When you upload an image package, you'll now see detailed information about each file, including a preview, format, dimensions, status, size, and more. If there are any missing or incorrect files, you'll be notified immediately. To view the currently uploaded package, simply click the 'Open files' button.

In the configuration screen, you can upload the game's image package and customize the skin using the Custom CSS option.

  • To view the available skins for the Spin the Wheel mini-game, click here.

  • To view the available skins for the Scratch Card mini-game, click here.

  • To view the available skins for the Giftbox mini-game, click here.

  • To view the available skins for the Treasure Hunt mini-game, click here.

  • To view the available skins for the Lootbox 2.0 mini-game, click here.

  • To view the available skins for the Missions Lootbox mini-game, click here.

Customize mini-games with CSS

You can also customize some elements using custom CSS. The most useful styles that you can use are the following.

BO: CSS editor in Mini-game Skins
/* Google fonts only, example of import query */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* text of the prize on sector */
.saw-view .wheel-sector-name .sector-text {
   color: yellow !important;
}

/* the name of the game shown under the wheel */
.saw-info-name {
   color: red !important;
}

/* style of the "?" mark opening description of the game */
.saw-info-link {
  filter: invert(0);
}

/* style of the buttons in the description popup */
.saw-modal-actions > div {
    background-color: white !important;
    color: black !important;
    border: 2px solid black !important;
  }

/* color of text main text in the description popup */
.saw-modal-body-content {
    color: white !important;
 }

/* color and style of the links in the description popup */
.saw-modal-body-content a {
   color: white !important;
   text-decoration: underline;
}

/* style of the title in the description popup */
.saw-modal-content .saw-modal-title > div > div {
  color: yellow !important;
  text-shadow: none !important;
}

/* the default lights on the wheel’s rim removed and the shining turned off */
.wheel-light-behind, .wheel-lights {
 display: none !important;
}

/* style of the sound button */
.saw-sound-button {
filter: invert(0);
}

/* style of the Play button on Scratch Card */
.button-area > div {
box-shadow: 0 0 6px 0 black !important;
color: white !important;
background: #0077FF !important;
}

/* border of the Scratch Card */
.scratch-card-content {
border: none !important;
}

/* Scratch Card prize text color */
.prizes > div > div {
  color: black !important;
}

For Giftbox Only
/* style of game rules text button (text under attempts) */
.giftboxes-root .prizeboard-game-rules {

}
/* styles for popup title */
.saw-modal-wrapper .saw-modal-container-v2 
.saw-modal-content .saw-modal-title {

}

/* styles for popup content */
.saw-modal-wrapper .saw-modal-container-v2 
.saw-modal-content .saw-modal-message {

}

/* style of game modal action button */
.saw-modal-wrapper .saw-modal-container-v2 
.saw-modal-content .saw-modal-actions {

}

Updated pop-ups in mini-games

You can create Custom designs for the pop-ups inside the mini-games. The ‘Use new pop-ups’ option is available in the Mini-games Skins section in the BO.

GF: Example of the new pop-up in Mini-games

Here you can find an example of a Scratch Card skin package:

Below are the required image files and naming conventions for implementing pop-ups in a mini-game:

popup_bg_bottom

popup_bg_bottom_left

popup_bg_bottom_right

popup_bg_center

popup_bg_left

popup_bg_right

popup_bg_top

popup_bg_top_left

popup_bg_top_right

button_primery_bg_left

button_primery_bg_center

button_primery_bg_right

button_secondary_bg_left

button_secondary_bg_right

button_secondary_bg_center

These images are used to create the background and buttons of the pop-up. You can customize the font color of the text content by using the 'Override CSS' field, either at the skin level or directly within the mini-game settings in the BO.

Last updated

Was this helpful?