summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-29 00:44:23 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-29 00:44:23 +0900
commit57669c9c0302392c1e12008fd01578cfd1d3f157 (patch)
tree57b255fd1027cfc98843dd1707669d6986b7f39a /src/client
parentwip (diff)
downloadsharkey-57669c9c0302392c1e12008fd01578cfd1d3f157.tar.gz
sharkey-57669c9c0302392c1e12008fd01578cfd1d3f157.tar.bz2
sharkey-57669c9c0302392c1e12008fd01578cfd1d3f157.zip
wip
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/theme.ts2
-rw-r--r--src/client/theme/light.json10
-rw-r--r--src/client/theme/pink.json17
3 files changed, 24 insertions, 5 deletions
diff --git a/src/client/app/theme.ts b/src/client/app/theme.ts
index 1147ff300d..555f8411f2 100644
--- a/src/client/app/theme.ts
+++ b/src/client/app/theme.ts
@@ -91,10 +91,12 @@ function genValue(c: tinycolor.Instance): string {
export const lightTheme = require('../theme/light.json');
export const darkTheme = require('../theme/dark.json');
+export const pinkTheme = require('../theme/pink.json');
export const halloweenTheme = require('../theme/halloween.json');
export const builtinThemes = [
lightTheme,
darkTheme,
+ pinkTheme,
halloweenTheme
];
diff --git a/src/client/theme/light.json b/src/client/theme/light.json
index b853aa9a26..0d50dc5caa 100644
--- a/src/client/theme/light.json
+++ b/src/client/theme/light.json
@@ -39,16 +39,16 @@
"renoteText": "#9dbb00",
"quoteBorder": "#c0dac6",
"noteText": "#717171",
- "noteHeaderName": "#627079",
+ "noteHeaderName": ":darken<2<$text",
"noteHeaderBadgeFg": "#aaa",
"noteHeaderBadgeBg": "rgba(0, 0, 0, 0.05)",
"noteHeaderAdminFg": "#f15f71",
"noteHeaderAdminBg": "#ffdfdf",
- "noteHeaderAcct": "#ccc",
- "noteHeaderInfo": "#c0c0c0",
+ "noteHeaderAcct": ":alpha<0.7<@noteHeaderName",
+ "noteHeaderInfo": ":alpha<0.7<@noteHeaderName",
- "noteActions": "#ddd",
- "noteActionsHover": "#444",
+ "noteActions": ":alpha<0.3<$text",
+ "noteActionsHover": ":alpha<0.9<$text",
"noteActionsReplyHover": "#0af",
"noteActionsRenoteHover": "#8d0",
"noteActionsReactionHover": "#fa0",
diff --git a/src/client/theme/pink.json b/src/client/theme/pink.json
new file mode 100644
index 0000000000..ddb56b46e1
--- /dev/null
+++ b/src/client/theme/pink.json
@@ -0,0 +1,17 @@
+{
+ "meta": {
+ "id": "e9c8c01d-9c15-48d0-9b5c-3d00843b5b36",
+ "name": "Pink",
+ "author": "syuilo",
+ "base": "light",
+ "vars": {
+ "primary": "rgb(251, 78, 112)",
+ "secondary": "rgb(255, 218, 240)",
+ "text": "rgb(113, 91, 102)"
+ }
+ },
+
+ "renoteGradient": "#ffb1c9",
+ "renoteText": "#ff588d",
+ "quoteBorder": "#ff6c9b"
+}