Theming and such
This commit is contained in:
parent
cf1c1b6693
commit
3f07c3c205
8
app/javascript/styles/modern-dark-wobbl.scss
Normal file
8
app/javascript/styles/modern-dark-wobbl.scss
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
@import 'wobbl/variables';
|
||||||
|
@import 'application';
|
||||||
|
@import 'modern/modern';
|
||||||
|
|
||||||
|
.layout-multiple-columns .column {
|
||||||
|
flex-grow: 1;
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
8
app/javascript/styles/modern-dark.scss
Normal file
8
app/javascript/styles/modern-dark.scss
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
@import 'mastodon/variables';
|
||||||
|
@import 'application';
|
||||||
|
@import 'modern/modern';
|
||||||
|
|
||||||
|
.layout-multiple-columns .column {
|
||||||
|
flex-grow: 1;
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
9
app/javascript/styles/modern-light-wobbl.scss
Normal file
9
app/javascript/styles/modern-light-wobbl.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
@import 'wobbl-light/variables';
|
||||||
|
@import 'application';
|
||||||
|
@import 'modern/modern';
|
||||||
|
@import 'mastodon-light/diff';
|
||||||
|
|
||||||
|
.layout-multiple-columns .column {
|
||||||
|
flex-grow: 1;
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
9
app/javascript/styles/modern-light.scss
Normal file
9
app/javascript/styles/modern-light.scss
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
@import 'mastodon-light/variables';
|
||||||
|
@import 'application';
|
||||||
|
@import 'modern/modern';
|
||||||
|
@import 'mastodon-light/diff';
|
||||||
|
|
||||||
|
.layout-multiple-columns .column {
|
||||||
|
flex-grow: 1;
|
||||||
|
max-width: 500px;
|
||||||
|
}
|
||||||
4640
app/javascript/styles/modern/modern.scss
Normal file
4640
app/javascript/styles/modern/modern.scss
Normal file
File diff suppressed because it is too large
Load Diff
4
app/javascript/styles/wobbl-light.scss
Normal file
4
app/javascript/styles/wobbl-light.scss
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
@import 'wobbl-light/variables';
|
||||||
|
@import 'application';
|
||||||
|
@import 'mastodon-light/diff';
|
||||||
|
|
||||||
44
app/javascript/styles/wobbl-light/variables.scss
Normal file
44
app/javascript/styles/wobbl-light/variables.scss
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
// Dependent colors
|
||||||
|
$black: #000000;
|
||||||
|
$white: #ffffff;
|
||||||
|
|
||||||
|
$classic-base-color: #191919;// Dark Gray
|
||||||
|
$classic-primary-color: #E7E7E7;// Platinum
|
||||||
|
$classic-secondary-color: #FF8680; // Paler red
|
||||||
|
$classic-highlight-color: #850700; // Red highlights
|
||||||
|
|
||||||
|
// Differences
|
||||||
|
$success-green: lighten(#3c754d, 8%);
|
||||||
|
|
||||||
|
$base-overlay-background: $white !default;
|
||||||
|
$valid-value-color: $success-green !default;
|
||||||
|
|
||||||
|
$ui-base-color: $classic-primary-color !default;
|
||||||
|
$ui-base-lighter-color: #b0c0cf;
|
||||||
|
$ui-primary-color: #9bcbed;
|
||||||
|
$ui-secondary-color: $classic-base-color !default;
|
||||||
|
$ui-highlight-color: $classic-highlight-color !default;
|
||||||
|
|
||||||
|
$primary-text-color: $black !default;
|
||||||
|
$darker-text-color: $classic-base-color !default;
|
||||||
|
$highlight-text-color: darken($ui-highlight-color, 8%) !default;
|
||||||
|
$dark-text-color: #444b5d;
|
||||||
|
$action-button-color: #606984;
|
||||||
|
|
||||||
|
$inverted-text-color: $black !default;
|
||||||
|
$lighter-text-color: $classic-base-color !default;
|
||||||
|
$light-text-color: #444b5d;
|
||||||
|
|
||||||
|
// Newly added colors
|
||||||
|
$account-background-color: $white !default;
|
||||||
|
|
||||||
|
// Invert darkened and lightened colors
|
||||||
|
@function darken($color, $amount) {
|
||||||
|
@return hsl(hue($color), saturation($color), lightness($color) + $amount);
|
||||||
|
}
|
||||||
|
|
||||||
|
@function lighten($color, $amount) {
|
||||||
|
@return hsl(hue($color), saturation($color), lightness($color) - $amount);
|
||||||
|
}
|
||||||
|
|
||||||
|
$emojis-requiring-inversion: 'chains';
|
||||||
2
app/javascript/styles/wobbl.scss
Normal file
2
app/javascript/styles/wobbl.scss
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@import 'wobbl/variables';
|
||||||
|
@import 'application';
|
||||||
60
app/javascript/styles/wobbl/variables.scss
Normal file
60
app/javascript/styles/wobbl/variables.scss
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
// Commonly used web colors
|
||||||
|
$black: #000000; // Black
|
||||||
|
$white: #ffffff; // White
|
||||||
|
$success-green: #79bd9a !default; // Padua
|
||||||
|
$error-red: #df405a !default; // Cerise
|
||||||
|
$warning-red: #ff5050 !default; // Sunset Orange
|
||||||
|
$gold-star: #ca8f04 !default; // Dark Goldenrod
|
||||||
|
|
||||||
|
$red-bookmark: $warning-red;
|
||||||
|
|
||||||
|
// Values from the classic Mastodon UI
|
||||||
|
$classic-base-color: #191919;// Dark Gray
|
||||||
|
$classic-primary-color: #E7E7E7;// Platinum
|
||||||
|
$classic-secondary-color: #FF8680; // Paler red
|
||||||
|
$classic-highlight-color: #850700; // Red highlights
|
||||||
|
|
||||||
|
// Variables for defaults in UI
|
||||||
|
$base-shadow-color: $black !default;
|
||||||
|
$base-overlay-background: $black !default;
|
||||||
|
$base-border-color: $white !default;
|
||||||
|
$simple-background-color: $white !default;
|
||||||
|
$valid-value-color: $success-green !default;
|
||||||
|
$error-value-color: $error-red !default;
|
||||||
|
|
||||||
|
// Tell UI to use selected colors
|
||||||
|
$ui-base-color: $classic-base-color !default; // Darkest
|
||||||
|
$ui-base-lighter-color: lighten($ui-base-color, 26%) !default; // Lighter darkest
|
||||||
|
$ui-primary-color: $classic-primary-color !default; // Lighter
|
||||||
|
$ui-secondary-color: $classic-secondary-color !default; // Lightest
|
||||||
|
$ui-highlight-color: $classic-highlight-color !default;
|
||||||
|
|
||||||
|
// Variables for texts
|
||||||
|
$primary-text-color: $white !default;
|
||||||
|
$darker-text-color: $ui-primary-color !default;
|
||||||
|
$dark-text-color: $ui-base-lighter-color !default;
|
||||||
|
$secondary-text-color: $ui-secondary-color !default;
|
||||||
|
$highlight-text-color: lighten($ui-highlight-color, 8%) !default;
|
||||||
|
$action-button-color: $ui-base-lighter-color !default;
|
||||||
|
$passive-text-color: $gold-star !default;
|
||||||
|
$active-passive-text-color: $success-green !default;
|
||||||
|
|
||||||
|
// For texts on inverted backgrounds
|
||||||
|
$inverted-text-color: $ui-base-color !default;
|
||||||
|
$lighter-text-color: $ui-base-lighter-color !default;
|
||||||
|
$light-text-color: $ui-primary-color !default;
|
||||||
|
|
||||||
|
// Language codes that uses CJK fonts
|
||||||
|
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
|
||||||
|
|
||||||
|
// Variables for components
|
||||||
|
$media-modal-media-max-width: 100%;
|
||||||
|
|
||||||
|
// put margins on top and bottom of image to avoid the screen covered by image.
|
||||||
|
$media-modal-media-max-height: 80%;
|
||||||
|
|
||||||
|
$no-gap-breakpoint: 1175px;
|
||||||
|
|
||||||
|
$font-sans-serif: 'mastodon-font-sans-serif' !default;
|
||||||
|
$font-display: 'mastodon-font-display' !default;
|
||||||
|
$font-monospace: 'mastodon-font-monospace' !default;
|
||||||
@ -956,6 +956,7 @@ en:
|
|||||||
privacy: Privacy
|
privacy: Privacy
|
||||||
profile_directory: Profile directory
|
profile_directory: Profile directory
|
||||||
public_timelines: Public timelines
|
public_timelines: Public timelines
|
||||||
|
publish_discovered_servers: Publish discovered servers
|
||||||
publish_statistics: Publish statistics
|
publish_statistics: Publish statistics
|
||||||
title: Discovery
|
title: Discovery
|
||||||
trends: Trends
|
trends: Trends
|
||||||
@ -1331,6 +1332,7 @@ en:
|
|||||||
application_mailer:
|
application_mailer:
|
||||||
notification_preferences: Change email preferences
|
notification_preferences: Change email preferences
|
||||||
salutation: "%{name},"
|
salutation: "%{name},"
|
||||||
|
settings: 'Change e-mail preferences: %{link}'
|
||||||
unsubscribe: Unsubscribe
|
unsubscribe: Unsubscribe
|
||||||
view: 'View:'
|
view: 'View:'
|
||||||
view_profile: View profile
|
view_profile: View profile
|
||||||
@ -1377,6 +1379,7 @@ en:
|
|||||||
migrate_account: Move to a different account
|
migrate_account: Move to a different account
|
||||||
migrate_account_html: If you wish to redirect this account to a different one, you can <a href="%{path}">configure it here</a>.
|
migrate_account_html: If you wish to redirect this account to a different one, you can <a href="%{path}">configure it here</a>.
|
||||||
or_log_in_with: Or log in with
|
or_log_in_with: Or log in with
|
||||||
|
privacy_policy_agreement_html: I have read and agree to the <a href="%{privacy_policy_path}" target="_blank">privacy policy</a>
|
||||||
progress:
|
progress:
|
||||||
confirm: Confirm email
|
confirm: Confirm email
|
||||||
details: Your details
|
details: Your details
|
||||||
@ -1449,6 +1452,7 @@ en:
|
|||||||
crypto:
|
crypto:
|
||||||
errors:
|
errors:
|
||||||
invalid_key: is not a valid Ed25519 or Curve25519 key
|
invalid_key: is not a valid Ed25519 or Curve25519 key
|
||||||
|
invalid_signature: is not a valid Ed25519 signature
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%b %d, %Y"
|
default: "%b %d, %Y"
|
||||||
@ -1514,7 +1518,11 @@ en:
|
|||||||
your_appeal_approved: Your appeal has been approved
|
your_appeal_approved: Your appeal has been approved
|
||||||
your_appeal_pending: You have submitted an appeal
|
your_appeal_pending: You have submitted an appeal
|
||||||
your_appeal_rejected: Your appeal has been rejected
|
your_appeal_rejected: Your appeal has been rejected
|
||||||
|
domain_validator:
|
||||||
|
invalid_domain: is not a valid domain name
|
||||||
edit_profile:
|
edit_profile:
|
||||||
|
basic_information: Basic information
|
||||||
|
hint_html: "<strong>Customize what people see on your public profile and next to your posts.</strong> Other people are more likely to follow you back and interact with you when you have a filled out profile and a profile picture."
|
||||||
other: Other
|
other: Other
|
||||||
privacy_redesign_body: The choice to show your follows and followers is now made directly from your profile.
|
privacy_redesign_body: The choice to show your follows and followers is now made directly from your profile.
|
||||||
redesign_body: Profile editing can now be accessed directly from the profile page.
|
redesign_body: Profile editing can now be accessed directly from the profile page.
|
||||||
@ -1594,8 +1602,10 @@ en:
|
|||||||
mutes: You mute
|
mutes: You mute
|
||||||
storage: Media storage
|
storage: Media storage
|
||||||
featured_tags:
|
featured_tags:
|
||||||
|
add_new: Add new
|
||||||
errors:
|
errors:
|
||||||
limit: You have already featured the maximum number of hashtags
|
limit: You have already featured the maximum number of hashtags
|
||||||
|
hint_html: "<strong>Feature your most important hashtags on your profile.</strong> A great tool for keeping track of your creative works and long-term projects, featured hashtags are displayed prominently on your profile and allow quick access to your own posts."
|
||||||
filters:
|
filters:
|
||||||
contexts:
|
contexts:
|
||||||
account: Profiles
|
account: Profiles
|
||||||
@ -1797,6 +1807,21 @@ en:
|
|||||||
failed_sign_in_html: Failed sign-in attempt with %{method} from %{ip} (%{browser})
|
failed_sign_in_html: Failed sign-in attempt with %{method} from %{ip} (%{browser})
|
||||||
successful_sign_in_html: Successful sign-in with %{method} from %{ip} (%{browser})
|
successful_sign_in_html: Successful sign-in with %{method} from %{ip} (%{browser})
|
||||||
title: Authentication history
|
title: Authentication history
|
||||||
|
mail_subscriptions:
|
||||||
|
unsubscribe:
|
||||||
|
action: Yes, unsubscribe
|
||||||
|
complete: Unsubscribed
|
||||||
|
confirmation_html: Are you sure you want to unsubscribe from receiving %{type} for Mastodon on %{domain} to your e-mail at %{email}? You can always re-subscribe from your <a href="%{settings_path}">e-mail notification settings</a>.
|
||||||
|
emails:
|
||||||
|
notification_emails:
|
||||||
|
favourite: favorite notification e-mails
|
||||||
|
follow: follow notification e-mails
|
||||||
|
follow_request: follow request e-mails
|
||||||
|
mention: mention notification e-mails
|
||||||
|
reblog: boost notification e-mails
|
||||||
|
resubscribe_html: If you've unsubscribed by mistake, you can re-subscribe from your <a href="%{settings_path}">e-mail notification settings</a>.
|
||||||
|
success_html: You'll no longer receive %{type} for Mastodon on %{domain} to your e-mail at %{email}.
|
||||||
|
title: Unsubscribe
|
||||||
media_attachments:
|
media_attachments:
|
||||||
validations:
|
validations:
|
||||||
images_and_video: Cannot attach a video to a post that already contains images
|
images_and_video: Cannot attach a video to a post that already contains images
|
||||||
@ -2193,7 +2218,15 @@ en:
|
|||||||
review_link: Review terms of service
|
review_link: Review terms of service
|
||||||
title: The terms of service of %{domain} are changing
|
title: The terms of service of %{domain} are changing
|
||||||
themes:
|
themes:
|
||||||
default: Mastodon
|
contrast: Mastodon (High contrast)
|
||||||
|
default: Mastodon (Dark)
|
||||||
|
mastodon-light: Mastodon (Light)
|
||||||
|
wobbl: Mastodon (Dark - Wobbl theme)
|
||||||
|
wobbl-light: Mastodon (Light - Wobbl theme)
|
||||||
|
modern-dark: Modern (Dark)
|
||||||
|
modern-light: Modern (Light)
|
||||||
|
modern-light-wobbl: Modern (Light - Wobbl theme)
|
||||||
|
default: Modern (Dark - Wobbl theme) (Default)
|
||||||
time:
|
time:
|
||||||
formats:
|
formats:
|
||||||
default: "%b %d, %Y, %H:%M"
|
default: "%b %d, %Y, %H:%M"
|
||||||
@ -2352,6 +2385,7 @@ en:
|
|||||||
post_action: Compose
|
post_action: Compose
|
||||||
post_step: Say hello to the world with text, photos, videos, or polls.
|
post_step: Say hello to the world with text, photos, videos, or polls.
|
||||||
post_title: Make your first post
|
post_title: Make your first post
|
||||||
|
share_action: Share
|
||||||
share_step: Let your friends know how to find you on Mastodon.
|
share_step: Let your friends know how to find you on Mastodon.
|
||||||
share_title: Share your Mastodon profile
|
share_title: Share your Mastodon profile
|
||||||
sign_in_action: Sign in
|
sign_in_action: Sign in
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user