Changes to themes.
This commit is contained in:
parent
e8a4ba49cf
commit
9454841a69
2
app/javascript/styles/werefox-wide.scss
Normal file
2
app/javascript/styles/werefox-wide.scss
Normal file
|
@ -0,0 +1,2 @@
|
|||
@import 'wide';
|
||||
@import 'werefox';
|
28
app/javascript/styles/werefox.scss
Normal file
28
app/javascript/styles/werefox.scss
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Commonly used web colors
|
||||
$black: #3b3633; // Black
|
||||
$white: #fafafa; // White
|
||||
$success-green: #3e935b; // Padua
|
||||
$error-red: #a3360a; // Cerise
|
||||
$warning-red: #f9dfb6; // Sunset Orange
|
||||
$gold-star: #faa41a; // Dark Goldenrod
|
||||
|
||||
$base-shadow-color: #999;
|
||||
$base-overlay-background: #3b3633;
|
||||
$base-border-color: #fafafa;
|
||||
$simple-background-color: #fafafa;
|
||||
$primary-text-color: #fafafa;
|
||||
$valid-value-color: #3e935b;
|
||||
$error-value-color: #a3360a;
|
||||
|
||||
// Values from the classic Mastodon UI
|
||||
$classic-base-color: #2a2a2a; // WS Black
|
||||
$classic-primary-color: #aaaaaa; // WS Light Gray
|
||||
$classic-secondary-color: #9e9e9e; // WS Gray
|
||||
$classic-highlight-color: #1c70ce; // WS Blue
|
||||
|
||||
$ui-base-color: #2a2a2a; // WS Black
|
||||
$ui-primary-color: #aaaaaa; // WS Light Gray
|
||||
$ui-secondary-color: #9e9e9e; // WS Gray
|
||||
$ui-highlight-color: #1c70ce; // WS Blue
|
||||
|
||||
@import 'application';
|
4
app/javascript/styles/wide.scss
Normal file
4
app/javascript/styles/wide.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
.column {
|
||||
flex-grow: 1 !important;
|
||||
max-width: 540px;
|
||||
}
|
9
config/initializers/source.rb
Normal file
9
config/initializers/source.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
# frozen_string_literal: true
|
||||
module Mastodon
|
||||
module Version
|
||||
module_function
|
||||
def source_base_url
|
||||
'https://github.com/<your-github-account>/mastodon'
|
||||
end
|
||||
end
|
||||
end
|
|
@ -866,8 +866,10 @@ en:
|
|||
title: "%{instance} Terms of Service and Privacy Policy"
|
||||
themes:
|
||||
contrast: High contrast
|
||||
default: Mastodon
|
||||
default: Werefox Software Theme but W I D E
|
||||
mastodon: Mastodon
|
||||
mastodon-light: Mastodon (light)
|
||||
werefox: Werefox Software Theme
|
||||
time:
|
||||
formats:
|
||||
default: "%b %d, %Y, %H:%M"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
default: styles/application.scss
|
||||
default: styles/werefox-wide.scss
|
||||
contrast: styles/contrast.scss
|
||||
mastodon: styles/application.scss
|
||||
mastodon-light: styles/mastodon-light.scss
|
||||
werefox: styles/werefox.scss
|
||||
|
|
|
@ -47,4 +47,4 @@ production:
|
|||
compile: false
|
||||
|
||||
# Cache manifest.json for performance
|
||||
cache_manifest: true
|
||||
cache_manifest: false
|
||||
|
|
Loading…
Reference in a new issue