diff --git a/assets/css/styles.scss b/assets/css/styles.scss
index 4736154c9..f16410794 100644
--- a/assets/css/styles.scss
+++ b/assets/css/styles.scss
@@ -135,51 +135,59 @@ fieldset.blue legend {
}
fieldset.gray {
- border-color: #9B9B9B;
+ border-color: #BCC2CD;
}
fieldset.gray legend {
- color: #9B9B9B;
+ color: #BCC2CD;
}
fieldset.green {
- border-color: #B8E986;
+ border-color: #50fa7b;
}
fieldset.green legend {
- color: #B8E986;
+ color: #50fa7b;
}
fieldset.cyan {
- border-color: #50E3C2;
+ border-color: #8be9fd;
}
fieldset.cyan legend {
- color: #50E3C2;
-}
-
-fieldset.blue-dark {
- border-color: #4A90E2;
-}
-
-fieldset.blue-dark legend {
- color: #4A90E2;
+ color: #8be9fd;
}
fieldset.purple {
- border-color: #C198FB;
+ border-color: #bd93f9;
}
fieldset.purple legend {
- color: #C198FB;
+ color: #bd93f9;
}
fieldset.orange {
- border-color: #F5A623;
+ border-color: #ffb86c;
}
fieldset.orange legend {
- color: #F5A623;
+ color: #ffb86c;
+}
+
+fieldset.pink {
+ border-color: #ff79c6;
+}
+
+fieldset.pink legend {
+ color: #ff79c6;
+}
+
+fieldset.red {
+ border-color: #ff5555;
+}
+
+fieldset.red legend {
+ color: #ff5555;
}
.hidden {
diff --git a/assets/css/themes.scss b/assets/css/themes.scss
index d611740f3..5a9c5410f 100644
--- a/assets/css/themes.scss
+++ b/assets/css/themes.scss
@@ -7,21 +7,21 @@
// Dark is the default theme variant.
:root {
- --bg-dark-color: #000000;
+ --bg-dark-color: #44475a;
// Background color
- --bg-color: #121212;
+ --bg-color: #282a36;
// Auto-complete color
- --atc-color: #212121;
+ --atc-color: #3C4556;
// Text color
- --fg-color: #FFF;
+ --fg-color: #f8f8f2;
// Error color
- --err-color: #393939;
+ --err-color: #3C4556;
// Active color
- --ac-color: #51FF0D;
+ --ac-color: #50fa7b;
// Active text color
- --act-color: #121212;
+ --act-color: #282a36;
}
:root.light {
diff --git a/components/autocomplete.vue b/components/autocomplete.vue
index 0ec662627..a1482af45 100644
--- a/components/autocomplete.vue
+++ b/components/autocomplete.vue
@@ -1,190 +1,189 @@
-
diff --git a/nuxt.config.js b/nuxt.config.js
index b4f46aaf6..059b1c493 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -51,7 +51,7 @@ export default {
// Windows phone tile icon
{ name: 'msapplication-TileImage', content: `${routerBase.router.base}icons/icon-144x144.png` },
- { name: 'msapplication-TileColor', content: '#121212' },
+ { name: 'msapplication-TileColor', content: '#282a36' },
{ name: 'msapplication-tap-highlight', content: 'no' },
// OpenGraph
@@ -119,8 +119,8 @@ export default {
description: meta.shortDescription,
display: "standalone",
- theme_color: "#121212",
- background_color: "#121212",
+ theme_color: "#282a36",
+ background_color: "#282a36",
icons: ((sizes) => {
let icons = [];
diff --git a/pages/index.vue b/pages/index.vue
index 7a90bf5a0..f5f6feadc 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,6 +1,6 @@
-
+
-
+
-
@@ -76,7 +76,7 @@
-
+
-
Content Type
@@ -212,7 +212,7 @@
-
+
-
diff --git a/pages/settings.vue b/pages/settings.vue
index e16dce280..625b3f0ca 100644
--- a/pages/settings.vue
+++ b/pages/settings.vue
@@ -1,6 +1,6 @@
-
+
-
Background
@@ -77,12 +77,12 @@
// You should copy the existing light theme as a template and then just
// set the relevant values.
themes: [{
- "color": "#121212",
+ "color": "#282a36",
"name": "Dark (Default)",
"class": ""
},
{
- "color": "#DFDFDF",
+ "color": "#F6F8FA",
"name": "Light",
"vibrant": true,
"class": "light"
@@ -92,34 +92,44 @@
colors: [
// If the color is vibrant, black is used as the active foreground color.
{
- "color": "#51ff0d",
- "name": "Lime (Default)",
+ "color": "#50fa7b",
+ "name": "Green (Default)",
"vibrant": true
},
{
- "color": "#FFC107",
+ "color": "#f1fa8c",
"name": "Yellow",
"vibrant": true
},
{
- "color": "#E91E63",
+ "color": "#ff79c6",
"name": "Pink",
- "vibrant": false
+ "vibrant": true
},
{
- "color": "#e74c3c",
+ "color": "#ff5555",
"name": "Red",
"vibrant": false
},
{
- "color": "#9b59b6",
+ "color": "#bd93f9",
"name": "Purple",
- "vibrant": false
+ "vibrant": true
},
{
- "color": "#2980b9",
+ "color": "#ffb86c",
+ "name": "Orange",
+ "vibrant": true
+ },
+ {
+ "color": "#8be9fd",
+ "name": "Cyan",
+ "vibrant": true
+ },
+ {
+ "color": "#57b5f9",
"name": "Blue",
- "vibrant": false
+ "vibrant": true
},
],
@@ -162,7 +172,7 @@
// By default, the color is vibrant.
if (vibrant == null) vibrant = true;
document.documentElement.style.setProperty('--ac-color', color);
- document.documentElement.style.setProperty('--act-color', vibrant ? '#121212' : '#fff');
+ document.documentElement.style.setProperty('--act-color', vibrant ? '#282a36' : '#f8f8f2');
this.applySetting('THEME_COLOR', color.toUpperCase());
this.applySetting('THEME_COLOR_VIBRANT', vibrant);
},
diff --git a/pages/websocket.vue b/pages/websocket.vue
index eb731ac24..775b69458 100644
--- a/pages/websocket.vue
+++ b/pages/websocket.vue
@@ -1,6 +1,6 @@
-
+
-
@@ -104,7 +104,7 @@
this.communication.log = [{
payload: `Connecting to ${this.url}...`,
source: 'info',
- color: 'lime'
+ color: 'var(--ac-color)'
}];
try {
this.socket = new WebSocket(this.url);
@@ -113,7 +113,7 @@
this.communication.log = [{
payload: `Connected to ${this.url}.`,
source: 'info',
- color: 'lime',
+ color: 'var(--ac-color)',
ts: (new Date()).toLocaleTimeString()
}];
};
@@ -125,7 +125,7 @@
this.communication.log.push({
payload: `Disconnected from ${this.url}.`,
source: 'info',
- color: 'red',
+ color: '#ff5555',
ts: (new Date()).toLocaleTimeString()
});
};