Skip to content

Commit

Permalink
Custom theme fixes plus some db cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusk committed Jul 3, 2024
1 parent b28d4b3 commit cf3234a
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/locales/en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"compose_form.poll.remove_option": "Remove this choice",
"compose_form.poll.switch_to_multiple": "Change poll to allow multiple choices",
"compose_form.poll.switch_to_single": "Change poll to allow for a single choice",
"compose_form.publish": "Publish",
"compose_form.publish": "Post",
"compose_form.publish_form": "New post",
"compose_form.publish_loud": "{publish}!",
"compose_form.save_changes": "Save changes",
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/mastodon/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"compose_form.poll.remove_option": "Remove this choice",
"compose_form.poll.switch_to_multiple": "Change poll to allow multiple choices",
"compose_form.poll.switch_to_single": "Change poll to allow for a single choice",
"compose_form.publish": "Publish",
"compose_form.publish": "Post",
"compose_form.publish_form": "New post",
"compose_form.publish_loud": "{publish}!",
"compose_form.save_changes": "Save changes",
Expand Down
16 changes: 16 additions & 0 deletions app/javascript/styles/fairy-floss/diff.scss
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,17 @@ a.mention,
background: $purpleborder;
}

.admin-wrapper .sidebar__toggle__logo a {
color: $lighter-text-color !important;
}

// Mobile layout
@media screen and (max-width: $no-gap-breakpoint - 285px - 1px) {
.admin-wrapper .sidebar .logo {
display: none;
}
}

.admin-wrapper .content .muted-hint a {
color: $mint;
}
Expand Down Expand Up @@ -653,3 +664,8 @@ a.mention,
color: $lighter-text-color;
}
}

.dropdown-menu__container__header {
color: $lighter-text-color;
font-weight: 900;
}
4 changes: 4 additions & 0 deletions app/javascript/styles/macaron/diff.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,10 @@ button.icon-button.disabled i.fa-retweet {
box-sizing: border-box;
height: 48px;
}

.admin-wrapper .sidebar .logo {
display: none;
}
}

.rules-list {
Expand Down
5 changes: 5 additions & 0 deletions app/javascript/styles/macaron/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ $ui-base-lighter-color: $cream;
$ui-primary-color: #9bcbed;
$ui-secondary-color: $classic-base-color !default;
$ui-highlight-color: $blueberry;
$ui-button-secondary-color: $bilberry;
$ui-button-secondary-border-color: $bilberry;
$ui-button-secondary-focus-background-color: $pink;

$primary-text-color: $black !default;
$darker-text-color: $classic-base-color !default;
Expand All @@ -35,6 +38,8 @@ $inverted-text-color: $black !default;
$lighter-text-color: $classic-base-color !default;
$light-text-color: #444b5d;

$ui-button-secondary-focus-color: $light-text-color;

// Newly added colors
$account-background-color: $white !default;

Expand Down
4 changes: 2 additions & 2 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
t.integer "min_reblogs"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.boolean "keep_local", default: false
t.boolean "keep_local", default: true, null: false
t.index ["account_id"], name: "index_account_statuses_cleanup_policies_on_account_id"
end

Expand Down Expand Up @@ -978,10 +978,10 @@
t.bigint "account_id", null: false
t.bigint "application_id"
t.bigint "in_reply_to_account_id"
t.datetime "deleted_at", precision: nil
t.boolean "local_only"
t.bigint "poll_id"
t.string "activity_pub_type"
t.datetime "deleted_at", precision: nil
t.datetime "edited_at", precision: nil
t.boolean "trendable"
t.bigint "ordered_media_attachment_ids", array: true
Expand Down

0 comments on commit cf3234a

Please sign in to comment.