diff --git a/app/javascript/styles/tootcafe.scss b/app/javascript/styles/tootcafe.scss new file mode 100644 index 000000000..09a85b983 --- /dev/null +++ b/app/javascript/styles/tootcafe.scss @@ -0,0 +1,25 @@ +// Theme by Maxime Le Conte des Floris: https://toot.cafe/@mlcdf +// Originally https://github.com/tootcafe/mastodon/pull/2 + +$color1: #2a2833; // darkest +$color2: #f1ebff; // lightest +$color3: #aea0c9; // lighter +$color4: #ae91e8; // vibrant +$color5: #ffffff; // white +$color6: #ff5283; // error red +$color7: #34febb; // succ green +$color8: #000000; // black + +$ui-base-color: $color1; +$ui-secondary-color: $color2; +$ui-primary-color: $color3; +$ui-highlight-color: $color4; +$base-border-color: $color5; +$simple-background-color: $color5; +$primary-text-color: $color5; +$error-value-color: $color6; +$valid-value-color: $color7; +$base-shadow-color: $color8; +$base-overlay-background: $color8; + +@import 'application'; diff --git a/app/serializers/manifest_serializer.rb b/app/serializers/manifest_serializer.rb index ad05fdf6b..da1d6371e 100644 --- a/app/serializers/manifest_serializer.rb +++ b/app/serializers/manifest_serializer.rb @@ -24,10 +24,30 @@ class ManifestSerializer < ActiveModel::Serializer def icons [ { + src: '/android-chrome-48x48.png', + sizes: '48x48', + type: 'image/png', + }, { + src: '/android-chrome-72x72.png', + sizes: '72x72', + type: 'image/png', + }, { + src: '/android-chrome-96x96.png', + sizes: '96x96', + type: 'image/png', + }, { + src: '/android-chrome-144x144.png', + sizes: '144x144', + type: 'image/png', + }, { src: '/android-chrome-192x192.png', sizes: '192x192', type: 'image/png', - }, + }, { + src: '/android-chrome-512x512.png', + sizes: '512x512', + type: 'image/png', + } ] end @@ -36,7 +56,7 @@ class ManifestSerializer < ActiveModel::Serializer end def background_color - '#191b22' + '#f1ebff' end def display diff --git a/config/themes.yml b/config/themes.yml index 9c21c9459..8a3fa3cdf 100644 --- a/config/themes.yml +++ b/config/themes.yml @@ -1,3 +1,4 @@ -default: styles/application.scss +default: styles/tootcafe.scss # via https://github.com/tootcafe/mastodon/pull/2 +mastodon: styles/application.scss contrast: styles/contrast.scss mastodon-light: styles/mastodon-light.scss diff --git a/public/android-chrome-144x144.png b/public/android-chrome-144x144.png new file mode 100644 index 000000000..6a9bd0dc8 Binary files /dev/null and b/public/android-chrome-144x144.png differ diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png index 7a99a1964..94dc5b2e4 100644 Binary files a/public/android-chrome-192x192.png and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-48x48.png b/public/android-chrome-48x48.png new file mode 100644 index 000000000..d9822852d Binary files /dev/null and b/public/android-chrome-48x48.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png new file mode 100644 index 000000000..39a2b7453 Binary files /dev/null and b/public/android-chrome-512x512.png differ diff --git a/public/android-chrome-72x72.png b/public/android-chrome-72x72.png new file mode 100644 index 000000000..97947bab3 Binary files /dev/null and b/public/android-chrome-72x72.png differ diff --git a/public/android-chrome-96x96.png b/public/android-chrome-96x96.png new file mode 100644 index 000000000..3aa9a271d Binary files /dev/null and b/public/android-chrome-96x96.png differ diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index b12aa55a3..903500a92 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/badge.png b/public/badge.png index c3e99ddd4..bf0467007 100644 Binary files a/public/badge.png and b/public/badge.png differ diff --git a/public/favicon.ico b/public/favicon.ico index 79000c9cc..7009b29f8 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png index a4994062d..625d29226 100644 Binary files a/public/mstile-150x150.png and b/public/mstile-150x150.png differ