Changes to themes.

This commit is contained in:
Alex Huddleston 2018-10-24 00:19:17 +00:00
parent e8a4ba49cf
commit 9454841a69
7 changed files with 50 additions and 3 deletions

View file

@ -0,0 +1,2 @@
@import 'wide';
@import 'werefox';

View 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';

View file

@ -0,0 +1,4 @@
.column {
flex-grow: 1 !important;
max-width: 540px;
}

View 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

View file

@ -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"

View file

@ -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

View file

@ -47,4 +47,4 @@ production:
compile: false
# Cache manifest.json for performance
cache_manifest: true
cache_manifest: false