-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtile-borders.user.styl
32 lines (30 loc) · 1.32 KB
/
tile-borders.user.styl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ==UserStyle==
@name BGA Carcassonne tile borders
@description Change width and color of tile borders.
@version 0.1
@author yzemaze
@namespace github.com/yzemaze/
@homepageURL https://github.com/yzemaze/bga-carcassonne-scripts/
@supportURL https://github.com/yzemaze/bga-carcassonne-scripts/issues
@updateURL https://github.com/yzemaze/bga-carcassonne-scripts/raw/main/tile-borders.user.styl
@license GPLv3
@preprocessor stylus
@var range borderWidth "Width of tile borders" [4, 2, 8, 1, "px"]
@var color gBorder "Color for green borders" #32cd32
@var color yBorder "Color for yellow borders" #f3ff49
@var color rBorder "Color for red borders" #ff0000
@var color bBorder "Color for blue borders" #0000ff
@var color kBorder "Color for black borders" #000000
==/UserStyle== */
@-moz-document regexp("https://(\w*\.)?boardgamearena.com/.*/carcassonne.*"), regexp("https://(\w*\.)?boardgamearena.com/archive/replay/.*")
.bgagame-carcassonne
.tile_last_008000 .tile_border
border borderWidth solid gBorder
.tile_last_ffa500 .tile_border
border borderWidth solid yBorder
.tile_last_ff0000 .tile_border
border borderWidth solid rBorder
.tile_last_0000ff .tile_border
border borderWidth solid bBorder
.tile_last_000000 .tile_border
border borderWidth solid kBorder