Skip to content

Commit

Permalink
Add more themes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanage999 committed Mar 18, 2024
1 parent 7e38814 commit 07d2561
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 5 deletions.
4 changes: 4 additions & 0 deletions app/javascript/styles/crazynewworld-sakura.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@import 'crazynewworld/sakura';
@import 'application';
@import 'crazynewworld/compact';
@import 'crazynewworld/transparent_background';
4 changes: 4 additions & 0 deletions app/javascript/styles/crazynewworld-shouwa.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@import 'crazynewworld/shouwa';
@import 'application';
@import 'crazynewworld/compact';
@import 'crazynewworld/transparent_background';
4 changes: 4 additions & 0 deletions app/javascript/styles/crazynewworld-tricolor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@import 'crazynewworld/tricolor';
@import 'application';
@import 'crazynewworld/compact';
@import 'crazynewworld/transparent_background';
Binary file added app/javascript/styles/crazynewworld/sakura.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/javascript/styles/crazynewworld/sakura.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Custom wallpaper
$wallpaper: "crazynewworld/sakura.jpg";
Binary file added app/javascript/styles/crazynewworld/shouwa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/javascript/styles/crazynewworld/shouwa.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Custom wallpaper
$wallpaper: "crazynewworld/shouwa.jpg";
13 changes: 8 additions & 5 deletions app/javascript/styles/crazynewworld/transparent_background.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ body, .tabs-bar__wrapper {

/* 情報要素の背景を暗くしてブラーを施す */

.column-header__wrapper,
.column-back-button,
.navigation-panel,
.search__input,
Expand All @@ -22,7 +23,6 @@ body, .tabs-bar__wrapper {

.layout-single-column {

.column-header__wrapper,
.columns-area--mobile .column,
.navigation-bar,
.reply-indicator,
Expand All @@ -34,9 +34,6 @@ body, .tabs-bar__wrapper {
.layout-multiple-columns .column {

&>.scrollable,
.column-header,
.column-header__collapsible,
.column-header__collapsible-inner,
.column-inline-form,
.notification__filter-bar,
.account__section-headline,
Expand Down Expand Up @@ -110,6 +107,10 @@ body, .tabs-bar__wrapper {
border-radius: 4px;
};

.column-header__wrapper {
border-radius: 4px 4px 0px 0px;
}

/* シングルカラムUIの調整 */

.layout-single-column {
Expand Down Expand Up @@ -141,11 +142,13 @@ body, .tabs-bar__wrapper {

.reply-indicator__line::before {
background: lighten($ui-base-color, 60%);
box-shadow: 2px 2px 2px black;
}

@media screen and (max-width:1174px) {

.navigation-panel {
.navigation-panel,
.column-header__wrapper {
border-radius: 0;
}
}
Expand Down
Binary file added app/javascript/styles/crazynewworld/tricolor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/javascript/styles/crazynewworld/tricolor.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Custom wallpaper
$wallpaper: "crazynewworld/tricolor.jpg";
3 changes: 3 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,9 @@ en:
mastodon-blue: Mastodon (Blue)
crazynewworld: Crazynewworld (Green)
crazynewworld-blue: Crazynewworld (Blue)
crazynewworld-sakura: Crazynewworld (Sakura)
crazynewworld-shouwa: Crazynewworld (Shouwa)
crazynewworld-tricolor: Crazynewworld (Tricolor)
crazynewworld2: Crazynewworld 2 (Green)
crazynewworld2-blue: Crazynewworld 2 (Blue)
time:
Expand Down
3 changes: 3 additions & 0 deletions config/locales/ja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1725,6 +1725,9 @@ ja:
mastodon-blue: Mastodon (青)
crazynewworld: Crazynewworld (緑)
crazynewworld-blue: Crazynewworld (青)
crazynewworld-sakura: Crazynewworld (桜)
crazynewworld-shouwa: Crazynewworld (昭和)
crazynewworld-tricolor: Crazynewworld (三色)
crazynewworld2: Crazynewworld 2 (緑)
crazynewworld2-blue: Crazynewworld 2 (青)
time:
Expand Down
3 changes: 3 additions & 0 deletions config/themes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ mastodon-green: styles/mastodon-green.scss
mastodon-blue: styles/mastodon-blue.scss
crazynewworld: styles/crazynewworld.scss
crazynewworld-blue: styles/crazynewworld-blue.scss
crazynewworld-sakura: styles/crazynewworld-sakura.scss
crazynewworld-shouwa: styles/crazynewworld-shouwa.scss
crazynewworld-tricolor: styles/crazynewworld-tricolor.scss
crazynewworld2: styles/crazynewworld2.scss
crazynewworld2-blue: styles/crazynewworld2-blue.scss

0 comments on commit 07d2561

Please sign in to comment.