Theme Configuration

Glitch Minigames features a fully customizable theming system that allows you to change both the color scheme and visual style of all minigames.


🎨 Color Themes

Color themes control all the colors used throughout the minigames, including backgrounds, buttons, text, success/failure indicators, and more.

Setting the Active Color Theme

In shared/config.lua, set the ActiveTheme value to one of the available themes:

config.ActiveTheme = 'cyan' -- Options: 'cyan', 'monochrome'

Available Color Themes

Theme
Description

cyan

The original Glitch Studios theme with blue gradients and a dark blue background

monochrome

A sleek black & white theme with grayscale UI elements

Theme Color Properties

Each color theme contains the following customizable properties:

Primary Colors

Property
Description
Cyan Default
Monochrome Default

primary

Main accent color for highlights, active states, and gradients

#33b5e5

#ffffff

secondary

Secondary color for gradient bottoms and hover states

#0078d7

#cccccc

Feedback Colors

Property
Description
Cyan Default
Monochrome Default

success

Color shown on successful actions

#33b5e5

#2dd4a8

failure

Color shown on failed actions

#ff4444

#ff4444

warning

Warning indicators (timers, caution states)

#ff7a30

#ff7a30

danger

High danger/critical states

#ff3030

#cc0000

safe

Safe zone indicators

#36ff00

#22c55e

Background Colors

Property
Description
Cyan Default
Monochrome Default

background

Main background color

#0f1e2d

#000000

backgroundGradient1

Gradient start color

#0f1e2d

#000000

backgroundGradient2

Gradient end color

#1e3c5a

#1a1a1a

backgroundSecondary

Secondary backgrounds (buttons, cards)

#001428

#0d0d0d

backgroundTertiary

Tertiary backgrounds (nested elements)

#002038

#1a1a1a

UI Colors

Property
Description
Cyan Default
Monochrome Default

border

Border and outline colors

#33b5e5

#808080

text

Primary text color

#ffffff

#ffffff

textSecondary

Secondary/muted text

#969696

#a0a0a0

Minigame-Specific Colors

Property
Description
Default

minigameColor1

VarHack block 1, Memory Colors blue

#273cfcff

minigameColor2

VarHack block 2, Memory Colors red

#2add57ff

minigameColor3

VarHack block 3, Memory Colors green

#28e757ff

minigameColor4

VarHack block 4, Memory Colors yellow

#edeb64ff

minigameColor5

VarHack block 5

#eb87deff

Creating a Custom Color Theme

You can create your own color theme by adding a new entry to the config.Themes table:

Then set your theme as active:

circle-info

RGBA Values: Each color property has a corresponding Rgba property (e.g., primaryRgba). These contain the RGB values without the hash symbol, used for CSS rgba() functions where opacity needs to be applied.


πŸͺŸ Visual Themes

Visual themes control the overall appearance and style of the minigame UI, including layout, animations, and design elements.

Setting the Active Visual Theme

In shared/config.lua, set the ActiveVisualTheme value:

Available Visual Themes

Theme
Description

classic

The original Glitch Studios design with traditional styling

modern

A sleek, contemporary design with updated visual elements

Visual Theme Differences

Feature
Classic
Modern

Border Style

Standard borders

Softer, rounded edges

Animations

Traditional transitions

Smoother, fluid animations

Layout

Compact design

More spacious layout

Shadows

Minimal shadows

Enhanced shadow effects


Background Opacity

You can customize the background transparency for each visual theme independently:

Value
Effect

0.0

Fully transparent (invisible background)

0.5

50% transparent (semi-transparent)

1.0

Fully opaque (solid background)


Color Theme Preview

Cyan Theme

The cyan theme features a blue-gradient design:

  • Tiles & Buttons: Gradient from light blue (#33b5e5) to neon blue (#0078d7)

  • Background: Dark blue (#0f1e2d)

  • Success: Light blue flash

  • Failure: Red flash (#ff4444)

  • Timer Warnings: Dark orange (#ff7a30)

Monochrome Theme

The monochrome theme features a grayscale design:

  • Tiles & Buttons: White to light gray gradient

  • Background: Pure black (#000000)

  • Success: Cyan/green flash (#2dd4a8)

  • Failure: Red flash (#ff4444)

  • Borders: Medium gray (#808080)

Cyan Color Theme with Modern Visual Theme

Monochrome Color Theme with Modern Visual Theme

Last updated