Added Solarized Light theme.
This commit is contained in:
parent
a4e9936a85
commit
0c49023bbf
5 changed files with 49 additions and 22 deletions
|
@ -1,26 +1,26 @@
|
|||
{
|
||||
"name": "Underwater",
|
||||
"price": 50,
|
||||
"name": "Solarized Dark",
|
||||
"price": 0,
|
||||
"colors": {
|
||||
"background": "0044aaff",
|
||||
"foreground": "d7f4e3ff",
|
||||
"background": "002b36ff",
|
||||
"foreground": "fdf6e3ff",
|
||||
"buttons": [
|
||||
"37c871ff",
|
||||
"2a7fffff",
|
||||
"00ccffff",
|
||||
"5f5fd3ff"
|
||||
"859900ff",
|
||||
"268bd2ff",
|
||||
"d33682ff",
|
||||
"cb4b16ff"
|
||||
],
|
||||
"empty_cell": "0066ffff",
|
||||
"empty_cell": "073642ff",
|
||||
"cells": [
|
||||
"37c871ff", "2ad4ffff", "0000d4ff",
|
||||
"00ffccff", "5599ffff", "87cddeff", "80b3ffff",
|
||||
"00ff66ff", "00d4aaff"
|
||||
"657b83ff", "b58900ff", "cb4b16ff",
|
||||
"dc322fff", "d33682ff", "6c71c4ff", "268bd2ff",
|
||||
"2aa198ff", "859900ff"
|
||||
],
|
||||
"current_score": "aaccffff",
|
||||
"high_score": "2aff80ff",
|
||||
"bonus": "aaeeffff",
|
||||
"band": "3771c8ff",
|
||||
"text": "002255ff"
|
||||
"current_score": "586e75ff",
|
||||
"high_score": "eee8d5ff",
|
||||
"bonus": "586e75ff",
|
||||
"band": "2aa198ff",
|
||||
"text": "fdf6e3ff"
|
||||
},
|
||||
"cell_texture": "bubble.png"
|
||||
"cell_texture": "circle.png"
|
||||
}
|
||||
|
|
26
android/assets/themes/solarized-light.theme
Normal file
26
android/assets/themes/solarized-light.theme
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "Solarized Light",
|
||||
"price": 0,
|
||||
"colors": {
|
||||
"background": "fdf6e3ff",
|
||||
"foreground": "002b36ff",
|
||||
"buttons": [
|
||||
"859900ff",
|
||||
"268bd2ff",
|
||||
"d33682ff",
|
||||
"cb4b16ff"
|
||||
],
|
||||
"empty_cell": "eee8d5ff",
|
||||
"cells": [
|
||||
"657b83ff", "b58900ff", "cb4b16ff",
|
||||
"dc322fff", "d33682ff", "6c71c4ff", "268bd2ff",
|
||||
"2aa198ff", "859900ff"
|
||||
],
|
||||
"current_score": "586e75ff",
|
||||
"high_score": "eee8d5ff",
|
||||
"bonus": "586e75ff",
|
||||
"band": "b58900ff",
|
||||
"text": "002b36ff"
|
||||
},
|
||||
"cell_texture": "circle.png"
|
||||
}
|
|
@ -2,3 +2,5 @@ default
|
|||
dark
|
||||
bandw
|
||||
underwater
|
||||
solarized-dark
|
||||
solarized-light
|
||||
|
|
|
@ -25,7 +25,7 @@ public class Theme {
|
|||
|
||||
public Color background;
|
||||
public Color foreground;
|
||||
public Color emptyCell;
|
||||
private Color emptyCell;
|
||||
|
||||
public Color currentScore;
|
||||
public Color highScore;
|
||||
|
@ -34,7 +34,6 @@ public class Theme {
|
|||
public Color textColor;
|
||||
|
||||
private Color[] cells;
|
||||
private Color[] buttons;
|
||||
|
||||
public static Skin skin;
|
||||
|
||||
|
@ -126,7 +125,7 @@ public class Theme {
|
|||
foreground = new Color((int)Long.parseLong(colors.getString("foreground"), 16));
|
||||
|
||||
JsonValue buttonColors = colors.get("buttons");
|
||||
buttons = new Color[buttonColors.size];
|
||||
Color[] buttons = new Color[buttonColors.size];
|
||||
for (int i = 0; i < buttons.length; ++i) {
|
||||
buttons[i] = new Color((int)Long.parseLong(buttonColors.getString(i), 16));
|
||||
if (buttonStyles[i] == null) {
|
||||
|
|
|
@ -18,7 +18,7 @@ public abstract class BaseScorer implements BinSerializable {
|
|||
|
||||
//region Members
|
||||
|
||||
protected int currentScore;
|
||||
int currentScore;
|
||||
|
||||
final Label currentScoreLabel;
|
||||
final Label highScoreLabel;
|
||||
|
|
Loading…
Reference in a new issue