File tree 5 files changed +16
-13
lines changed
5 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,10 @@ Hooks.once("init", () => {
76
76
if ( game . settings . get ( "forbidden-lands" , "removeBorders" ) )
77
77
$ ( "html" ) . addClass ( "no-borders" ) ;
78
78
79
- if ( game . settings . get ( "forbidden-lands" , "darkmode" ) )
79
+ if (
80
+ Number ( game . version ) < 12 &&
81
+ game . settings . get ( "forbidden-lands" , "darkmode" )
82
+ )
80
83
$ ( "body" ) . addClass ( "theme-dark" ) ;
81
84
} ) ;
82
85
Original file line number Diff line number Diff line change 1
1
.forbidden-lands.chat-item {
2
- background : var (--color-background );
2
+ background : var (--color-theme- background );
3
3
border-radius : 3px ;
4
4
color : var (--color-theme-text );
5
5
font-family : var (--font-body );
Original file line number Diff line number Diff line change 90
90
}
91
91
92
92
button {
93
- background : #eee ;
94
- padding : 0.3em 2 em ;
95
- font-weight : normal ;
96
- border : 2px groove #e0e0e0 ;
93
+ background : var ( --color-theme-gray-400 ) ;
94
+ padding : 0.3em 32 px ;
95
+ font-weight : 400 ;
96
+ border : 2px solid var ( --color-theme-gray-400 ) ;
97
97
width : 100% ;
98
98
display : flex ;
99
99
justify-content : center ;
102
102
& :hover ,
103
103
& :focus {
104
104
box-shadow : none ;
105
- border : 2px groove var (--color-theme-alt-600 );
106
- background : var (--color-theme-alt-600 );
105
+ background : var (--color-theme-gray-200 );
107
106
}
108
107
109
108
& :active {
Original file line number Diff line number Diff line change 30
30
}
31
31
32
32
option {
33
- background : var (--color-background );
33
+ background : var (--color-theme- background );
34
34
}
35
35
36
36
details {
174
174
175
175
button :focus ,
176
176
button :hover {
177
- background : var (--color-theme-alt-600 );
177
+ background : var (--color-theme-gray-200 );
178
178
}
179
179
180
180
input [type = " number" ],
181
181
input [type = " text" ],
182
182
select ,
183
183
textarea {
184
- background : var (--color-background );
184
+ background : var (--color-theme- background );
185
185
border : 1px solid var (--color-border );
186
186
border-radius : 3px ;
187
187
box-shadow : inset 0 0 6px var (--color-theme-gray-200 );
282
282
283
283
& :nth-child (odd ) button :focus ,
284
284
& :nth-child (odd ) button :hover {
285
- background : var (--color-background );
286
- color : var (--color-theme-gray-600 );
285
+ background : var (--color-theme- background );
286
+ color : var (--color-theme-text );
287
287
}
288
288
289
289
img {
Original file line number Diff line number Diff line change 5
5
--color-theme-contrast : var (--color-theme-gray-200 );
6
6
--color-theme-accent : #a00404 ;
7
7
--color-theme-gray-200 : #dddddd ;
8
+ --color-theme-gray-400 : #999999 ;
8
9
--color-theme-gray-600 : #707070 ;
9
10
--color-theme-gray-800 : #333333 ;
10
11
--color-theme-alt-200 : #ffb994 ;
You can’t perform that action at this time.
0 commit comments