Skip to content

Commit 5698e12

Browse files
committed
Getting ready for new theme token system
1 parent 2afb731 commit 5698e12

17 files changed

Lines changed: 21 additions & 37 deletions

app/javascript/styles/blue-dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
$wallpaper: "crazynewworld/blue-dark.jpg";
66

7-
@include diff.apply-crazynewworld-theme($wallpaper, $ui-base-color, $ui-highlight-color, $no-gap-breakpoint);
7+
@include diff.apply-crazynewworld-theme($wallpaper, $no-gap-breakpoint);

app/javascript/styles/blue.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
$wallpaper: "crazynewworld/blue.jpg";
66
$wallpaper-dark: "crazynewworld/blue-dark.jpg";
77

8-
@include diff.apply-crazynewworld-theme($wallpaper-dark, $wallpaper, $ui-base-color, $ui-highlight-color, $no-gap-breakpoint);
8+
@include diff.apply-crazynewworld-theme($wallpaper-dark, $wallpaper, $no-gap-breakpoint);

app/javascript/styles/crazynewworld/diff_transparent_compact.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@
66
@mixin apply-crazynewworld-theme(
77
$wallpaper-dark,
88
$wallpaper,
9-
$ui-base-color,
10-
$ui-highlight-color,
119
$no-gap-breakpoint
1210
) {
1311
@include tp.transparent-background(
1412
$wallpaper-dark,
1513
$wallpaper,
16-
$ui-base-color,
17-
$ui-highlight-color,
1814
$no-gap-breakpoint
1915
);
2016
}

app/javascript/styles/crazynewworld/diff_transparent_dark.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@
44

55
@mixin apply-crazynewworld-theme(
66
$wallpaper,
7-
$ui-base-color,
8-
$ui-highlight-color,
97
$no-gap-breakpoint
108
) {
119
@include tp.transparent-background(
1210
$wallpaper,
13-
$ui-base-color,
14-
$ui-highlight-color,
1511
$no-gap-breakpoint
1612
);
1713
}

app/javascript/styles/crazynewworld/diff_transparent_dark_compact.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,10 @@
55

66
@mixin apply-crazynewworld-theme(
77
$wallpaper,
8-
$ui-base-color,
9-
$ui-highlight-color,
108
$no-gap-breakpoint
119
) {
1210
@include tp.transparent-background(
1311
$wallpaper,
14-
$ui-base-color,
15-
$ui-highlight-color,
1612
$no-gap-breakpoint
1713
);
1814
}

app/javascript/styles/crazynewworld/transparent_background.scss

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
@mixin transparent-background(
44
$wallpaper-dark,
55
$wallpaper,
6-
$ui-base-color,
7-
$ui-highlight-color,
86
$no-gap-breakpoint
97
) {
108
.transparent-bg {
@@ -37,7 +35,7 @@
3735
.compose-form {
3836

3937
&__highlightable {
40-
background: rgba(color.adjust($ui-base-color, $lightness: -15%), 0.7);
38+
background: rgba(9, 9, 12, 0.7);
4139
}
4240

4341
.autosuggest-textarea__textarea,
@@ -51,7 +49,7 @@
5149
}
5250

5351
.search__input {
54-
background: rgba(color.adjust($ui-base-color, $lightness: -15%), 0.7);
52+
background: rgba(9, 9, 12, 0.7);
5553
}
5654

5755
@media screen and (max-width: #{ $no-gap-breakpoint - 1 }) {
@@ -152,25 +150,25 @@
152150
.compose-form {
153151

154152
&__highlightable {
155-
background: rgba(color.adjust($ui-base-color, $lightness: -15%), 0.5);
153+
background: rgba(9, 9, 12, 0.5);
156154
}
157155
}
158156

159157
.search__input {
160-
background: rgba(color.adjust($ui-base-color, $lightness: -15%), 0.5);
158+
background: rgba(9, 9, 12, 0.5);
161159
}
162160

163161
/* 意味のある色変更 */
164162

165163
.column-subheading {
166-
background: rgba(color.adjust($ui-base-color, $lightness: 15%), 0.3);
164+
background: rgba(73, 73, 101, 0.3);
167165
}
168166

169167
.detailed-status__wrapper-direct {
170168

171169
.detailed-status,
172170
.detailed-status__action-bar {
173-
background: rgba(color.mix($ui-base-color, $ui-highlight-color, 95%), 0.6);
171+
background: rgba(44, 44, 66, 0.6);
174172
}
175173
}
176174

@@ -219,7 +217,7 @@
219217
}
220218

221219
.reply-indicator__line::before {
222-
background: color.adjust($ui-base-color, $lightness: 60%);
220+
background: rgb(193, 193, 210);
223221
box-shadow: 2px 2px 2px black;
224222
}
225223

app/javascript/styles/crazynewworld/transparent_background_dark.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
@mixin transparent-background(
44
$wallpaper,
5-
$ui-base-color,
6-
$ui-highlight-color,
75
$no-gap-breakpoint
86
) {
97
.transparent-bg {
@@ -37,7 +35,7 @@
3735
.compose-form {
3836

3937
&__highlightable {
40-
background: rgba(color.adjust($ui-base-color, $lightness: -15%), 0.7);
38+
background: rgba(9, 9, 12, 0.7);
4139
}
4240

4341
.autosuggest-textarea__textarea,
@@ -51,7 +49,7 @@
5149
}
5250

5351
.search__input {
54-
background: rgba(color.adjust($ui-base-color, $lightness: -15%), 0.7);
52+
background: rgba(9, 9, 12, 0.7);
5553
}
5654

5755
@media screen and (max-width: #{ $no-gap-breakpoint - 1 }) {

app/javascript/styles/green-dark.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
$wallpaper: "crazynewworld/green-dark.jpg";
66

7-
@include diff.apply-crazynewworld-theme($wallpaper, $ui-base-color, $ui-highlight-color, $no-gap-breakpoint);
7+
@include diff.apply-crazynewworld-theme($wallpaper, $no-gap-breakpoint);

app/javascript/styles/green.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
$wallpaper: "crazynewworld/green.jpg";
66
$wallpaper-dark: "crazynewworld/green-dark.jpg";
77

8-
@include diff.apply-crazynewworld-theme($wallpaper-dark, $wallpaper, $ui-base-color, $ui-highlight-color, $no-gap-breakpoint);
8+
@include diff.apply-crazynewworld-theme($wallpaper-dark, $wallpaper, $no-gap-breakpoint);

app/javascript/styles/mastodon-blue.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
$wallpaper: "crazynewworld/blue-dark.jpg";
66

7-
@include diff.apply-crazynewworld-theme($wallpaper, $ui-base-color, $ui-highlight-color, $no-gap-breakpoint);
7+
@include diff.apply-crazynewworld-theme($wallpaper, $no-gap-breakpoint);

0 commit comments

Comments
 (0)