Update colour palette
This commit is contained in:
parent
c1339dc673
commit
28d59dbed9
4 changed files with 63 additions and 40 deletions
|
|
@ -87,8 +87,8 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
.object {
|
.object {
|
||||||
background-color: var(--board-background-alt);
|
background-color: var(--object-card-background);
|
||||||
color: var(--board-background-alt-text);
|
color: var(--object-card-text);
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
@ -106,12 +106,13 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background: var(--card-button);
|
background: var(--object-button-default);
|
||||||
|
color: var(--object-button-text);
|
||||||
border-radius: 7px;
|
border-radius: 7px;
|
||||||
font-size: larger;
|
font-size: larger;
|
||||||
padding: 7px;
|
padding: 7px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
button:hover { background-color: var(--card-button-darken); }
|
button:hover { background: var(--object-button-hover); }
|
||||||
button:focus { background-color: var(--board-background-alt-lighten); }
|
button:focus { background: var(--object-button-focus); }
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -92,7 +92,8 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
class="past-questions-toggle clickable"
|
id="past-questions-toggle"
|
||||||
|
class="clickable"
|
||||||
@click.self="visible = !visible"
|
@click.self="visible = !visible"
|
||||||
>
|
>
|
||||||
{{ visible ? `Hide` : `Show` }} Past Questions
|
{{ visible ? `Hide` : `Show` }} Past Questions
|
||||||
|
|
@ -265,14 +266,14 @@ input[type="text"].other-team-answer {
|
||||||
padding-left: 5%;
|
padding-left: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
#past-questions-toggle {
|
||||||
background-color: var(--board-background-alt);
|
background-color: var(--past-questions-button-default);
|
||||||
border-radius: 0 20px 0 7px;
|
border-radius: 0 20px 0 7px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
button:hover { background-color: var(--board-background-alt-darken); }
|
#past-questions-toggle:hover { background-color: var(--past-questions-button-hover); }
|
||||||
button:focus { background-color: var(--board-background-alt-lighten); }
|
#past-questions-toggle:focus { background-color: var(--past-questions-button-focus); }
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -7,58 +7,73 @@
|
||||||
*/
|
*/
|
||||||
--fonts: "Roboto", "Open Sans", sans-serif;
|
--fonts: "Roboto", "Open Sans", sans-serif;
|
||||||
--input-fonts: "Roboto Slab", var(--fonts);
|
--input-fonts: "Roboto Slab", var(--fonts);
|
||||||
--light-font-colour: #ECE3BB;
|
--light-font-colour: #dac8b0;
|
||||||
--dark-font-colour: #000F3D;
|
--dark-font-colour: #000f3d;
|
||||||
|
|
||||||
|
/* The full-site background used for the game view area only */
|
||||||
|
--game-view-background: #29170c;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The darkest colour in the trio for backgrounds, this is used for the
|
The darkest colour in the trio for backgrounds, this is used for the
|
||||||
site-wide background and modal content.
|
site-wide background and modal content.
|
||||||
*/
|
*/
|
||||||
--background1: #001233;
|
--background1: #111113;
|
||||||
--background1-darken: #000c24;
|
--background1-darken: #09090a;
|
||||||
--background1-lighten: #001a49;
|
--background1-lighten: #1c1c1f;
|
||||||
--background1-text: var(--light-font-colour);
|
--background1-text: var(--light-font-colour);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The middle colour in the trio for backgrounds.
|
The middle colour in the trio for backgrounds.
|
||||||
Used for hand background, buttons, regions, etc.
|
Used for hand background, buttons, regions, etc.
|
||||||
*/
|
*/
|
||||||
--background2: #24356E;
|
--background2: #4f5156;
|
||||||
--background2-darken: #19295e;
|
--background2-darken: #3d3e42;
|
||||||
--background2-lighten: #364a8d;
|
--background2-lighten: #676a70;
|
||||||
--background2-text: var(--light-font-colour);
|
--background2-text: var(--light-font-colour);
|
||||||
|
|
||||||
/* The colours used for the lightest shades of the background regions. */
|
/* The colours used for the lightest shades of the background regions. */
|
||||||
--background3: #4A5081;
|
--background3: #e5d9ba;
|
||||||
--background3-darken: #454b7e;
|
--background3-darken: #bbae8f;
|
||||||
--background3-lighten: #5a6192;
|
--background3-lighten: #fff4d7;
|
||||||
--background3-text: var(--light-font-colour);
|
--background3-text: var(--dark-font-colour);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The colours for the cards in the hands of the players
|
The colours for the cards in the hands of the players
|
||||||
*/
|
*/
|
||||||
--card-background: #E1D098;
|
--card-background: var(--background1);
|
||||||
--card-text: var(--dark-font-colour);
|
--card-text: var(--light-font-colour);
|
||||||
--card-button: #ACA885;
|
--card-button: var(--background3);
|
||||||
--card-button-darken: #88845e;
|
--card-button-darken: var(--background3-darken);
|
||||||
--card-button-lighten: #d1ceaf;
|
--card-button-lighten: var(--background3-lighten);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The colours used for the main game board. While playing, the alt colour
|
The colours used for the main game board. While playing, the alt colour
|
||||||
is used for the text input backgrounds, as well as the question toggle
|
is used for the text input backgrounds.
|
||||||
button, then used as the main background of the past questions insert,
|
|
||||||
with the primary background being the text input background.
|
|
||||||
|
|
||||||
The text colours are also used for the SVG eyes, if you change the
|
|
||||||
"--board-background-text" variable, also change the fill value in the
|
|
||||||
/public/assets/eye.svg file to match it
|
|
||||||
*/
|
*/
|
||||||
--board-background: #ACA885;
|
--board-background: var(--background1);
|
||||||
--board-background-alt: #E1D098;
|
--board-background-alt: var(--background3);
|
||||||
--board-background-alt-darken: #cab981;
|
--board-background-alt-darken: var(--background3-darken);
|
||||||
--board-background-alt-lighten: #f1e4b7;
|
--board-background-alt-lighten: var(--background3-lighten);
|
||||||
--board-background-text: var(--dark-font-colour);
|
--board-background-text: var(--background1-text);
|
||||||
--board-background-alt-text: var(--dark-font-colour);
|
--board-background-alt-text: var(--background3-text);
|
||||||
|
|
||||||
|
/* The colours for the object cards that the spirits pick from */
|
||||||
|
--object-card-background: var(--background3);
|
||||||
|
--object-card-text: var(--background3-text);
|
||||||
|
--object-button-default: var(--background2);
|
||||||
|
--object-button-hover: var(--background2-lighten);
|
||||||
|
--object-button-focus: var(--background2-darken);
|
||||||
|
--object-button-text: var(--background2-text);
|
||||||
|
|
||||||
|
/*
|
||||||
|
Colours used for the past questions insert and button
|
||||||
|
*/
|
||||||
|
--past-questions-button-default: var(--background3);
|
||||||
|
--past-questions-button-hover: var(--background3-lighten);
|
||||||
|
--past-questions-button-focus: var(--background3-darken);
|
||||||
|
--past-questions-background: var(--background3);
|
||||||
|
--past-questions-field: var(--background1);
|
||||||
|
|
||||||
|
|
||||||
/* The fill colour of the eyes on the game board */
|
/* The fill colour of the eyes on the game board */
|
||||||
--eye-colour: #000000;
|
--eye-colour: #000000;
|
||||||
|
|
@ -77,4 +92,9 @@
|
||||||
--cancel-background-darken: #a54141;
|
--cancel-background-darken: #a54141;
|
||||||
--cancel-background-lighten: #fa7d7d;
|
--cancel-background-lighten: #fa7d7d;
|
||||||
--cancel-text: white;
|
--cancel-text: white;
|
||||||
|
|
||||||
|
/* Trash button */
|
||||||
|
--trash-button-background: var(--background2);
|
||||||
|
--team-reminder-background: var(--background2);
|
||||||
|
--object-reminder-background: var(--background2);
|
||||||
}
|
}
|
||||||
|
|
@ -69,6 +69,7 @@ export default {
|
||||||
@import "../css/style.css";
|
@import "../css/style.css";
|
||||||
|
|
||||||
#GameView {
|
#GameView {
|
||||||
|
background: var(--game-view-background);
|
||||||
grid-template-rows: 70% 1fr 50px;
|
grid-template-rows: 70% 1fr 50px;
|
||||||
display: grid;
|
display: grid;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue