summaryrefslogtreecommitdiff
path: root/packages/client/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/src/scripts')
-rw-r--r--packages/client/src/scripts/theme.ts2
-rw-r--r--packages/client/src/scripts/timezones.ts49
2 files changed, 51 insertions, 0 deletions
diff --git a/packages/client/src/scripts/theme.ts b/packages/client/src/scripts/theme.ts
index 77d1df0826..02ac77b59d 100644
--- a/packages/client/src/scripts/theme.ts
+++ b/packages/client/src/scripts/theme.ts
@@ -25,6 +25,7 @@ export const getBuiltinThemes = () => Promise.all(
'l-vivid',
'l-cherry',
'l-sushi',
+ 'l-u0',
'd-dark',
'd-persimmon',
@@ -35,6 +36,7 @@ export const getBuiltinThemes = () => Promise.all(
'd-green-orange',
'd-cherry',
'd-ice',
+ 'd-u0',
].map(name => import(`../themes/${name}.json5`).then(({ default: _default }): Theme => _default)),
);
diff --git a/packages/client/src/scripts/timezones.ts b/packages/client/src/scripts/timezones.ts
new file mode 100644
index 0000000000..8ce07323f6
--- /dev/null
+++ b/packages/client/src/scripts/timezones.ts
@@ -0,0 +1,49 @@
+export const timezones = [{
+ name: 'UTC',
+ abbrev: 'UTC',
+ offset: 0,
+}, {
+ name: 'Europe/Berlin',
+ abbrev: 'CET',
+ offset: 60,
+}, {
+ name: 'Asia/Tokyo',
+ abbrev: 'JST',
+ offset: 540,
+}, {
+ name: 'Asia/Seoul',
+ abbrev: 'KST',
+ offset: 540,
+}, {
+ name: 'Asia/Shanghai',
+ abbrev: 'CST',
+ offset: 480,
+}, {
+ name: 'Australia/Sydney',
+ abbrev: 'AEST',
+ offset: 600,
+}, {
+ name: 'Australia/Darwin',
+ abbrev: 'ACST',
+ offset: 570,
+}, {
+ name: 'Australia/Perth',
+ abbrev: 'AWST',
+ offset: 480,
+}, {
+ name: 'America/New_York',
+ abbrev: 'EST',
+ offset: -300,
+}, {
+ name: 'America/Mexico_City',
+ abbrev: 'CST',
+ offset: -360,
+}, {
+ name: 'America/Phoenix',
+ abbrev: 'MST',
+ offset: -420,
+}, {
+ name: 'America/Los_Angeles',
+ abbrev: 'PST',
+ offset: -480,
+}];