aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-09 21:38:54 +0100
committerTeddy Wing2018-11-09 21:38:54 +0100
commitb9760554f906cfd25304ef84f1ba145e2b170863 (patch)
treeba2c6afe22f7e0930ec10097accbfbdf3dbed73b
parent9c1f8c4a9e8a292a325afb42c45f02344fbee45e (diff)
downloaddome-key-web-b9760554f906cfd25304ef84f1ba145e2b170863.tar.bz2
layout.hcss: Give names to colours
-rw-r--r--assets/stylesheets/color.hcss7
-rw-r--r--assets/stylesheets/layout.hcss14
2 files changed, 14 insertions, 7 deletions
diff --git a/assets/stylesheets/color.hcss b/assets/stylesheets/color.hcss
index 08c1ead..a69c88d 100644
--- a/assets/stylesheets/color.hcss
+++ b/assets/stylesheets/color.hcss
@@ -1,5 +1,12 @@
+set(BLACK, #222)
set(BURGUNDY, #b71863)
set(BURGUNDY_DARK, #880442)
+set(DARK_CHOCOLATE, #230f0f)
+set(DESERT, #e3ce88)
+set(DRIP_COFFEE, #2d1f1c)
+set(HAAGEN_DASZ_BLACK_RASPBERRY, #8c6e6e)
+set(LIMEADE, #c9ccb4)
+set(MILK_CHOCOLATE, #402929)
set(MURKY_POND, #91947f)
.color-murky-pond {
diff --git a/assets/stylesheets/layout.hcss b/assets/stylesheets/layout.hcss
index 3b28f32..bd26627 100644
--- a/assets/stylesheets/layout.hcss
+++ b/assets/stylesheets/layout.hcss
@@ -1,6 +1,6 @@
body {
- background-color: #e3ce88;
- color: #222;
+ background-color: DESERT;
+ color: BLACK;
font: 19px "Georgia", serif;
line-height: 1.65em;
@@ -35,13 +35,13 @@ ul {
padding: 12px 16px;
overflow: auto;
- border: solid 2px #8c6e6e;
+ border: solid 2px HAAGEN_DASZ_BLACK_RASPBERRY;
border-radius: 6px;
- box-shadow: inset 1px 1px 10px #402929;
+ box-shadow: inset 1px 1px 10px MILK_CHOCOLATE;
- background-color: #2d1f1c;
- color: #c9ccb4;
- text-shadow: 1px 3px 5px #230f0f;
+ background-color: DRIP_COFFEE;
+ color: LIMEADE;
+ text-shadow: 1px 3px 5px DARK_CHOCOLATE;
}
.margin-bottom-1\.8 {