Skip to content

Commit 7ae149e

Browse files
committed
README.md: add white background to study logos to make them readable in dark mode
1 parent 50a70f4 commit 7ae149e

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/make_logos.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-24.04
1414
steps:
1515
- name: Install inkscape
16-
run: sudo add-apt-repository ppa:inkscape.dev/stable && sudo apt update && sudo apt-get install inkscape
16+
run: sudo add-apt-repository ppa:inkscape.dev/stable && sudo apt-get update && sudo apt-get install inkscape
1717
- run: inkscape --version
1818
- run: pip install svgutils
1919
- name: Checkout
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
cd ${{ github.workspace }}
4242
./.github/workflows/generate-metadata.sh
43-
sudo apt update; sudo apt install cutycapt xvfb httpie -y
43+
sudo apt-get update; sudo apt-get install cutycapt xvfb httpie -y
4444
docker compose -f .github/workflows/domjudge/docker-compose.yml up -d mariadb
4545
sleep 30s
4646
docker compose -f .github/workflows/domjudge/docker-compose.yml up -d domjudge

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -182,21 +182,21 @@ For DOMJudge use the `background_64.zip`.
182182

183183
| Icon 1 | Icon 2 | Icon 3 | Icon 4 | ID | Name | Status |
184184
|---|---|---|---|---|---|---|
185-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | | | | S-1 | Computer Science & Engineering | :heavy_check_mark: |
186-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | <img src="./studies/logos/NB.svg" width="16" height="16"> | | | S-2 | Computer Science & Eng. + Nanobiology | :heavy_check_mark: |
187-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | <img src="./studies/logos/AM.svg" width="16" height="16"> | | | S-3 | Computer Science & Eng. + A. Mathematics | :heavy_check_mark: |
188-
| <img src="./studies/logos/AM.svg" width="16" height="16"> | | | | S-4 | Applied Mathematics | :heavy_check_mark: |
189-
| <img src="./studies/logos/AM.svg" width="16" height="16"> | <img src="./studies/logos/ME.svg" width="16" height="16"> | <img src="./studies/logos/AE.svg" width="16" height="16"> | | S-5 | A. Mathematics + Mechanical Eng. + Aerospace Eng. | :heavy_check_mark: |
190-
| <img src="./studies/logos/EE.svg" width="16" height="16"> | | | | S-6 | Electrical Engineering | :heavy_check_mark: |
191-
| <img src="./studies/logos/NB.svg" width="16" height="16"> | | | | S-7 | Nanobiology | :heavy_check_mark: |
192-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | <img src="./studies/logos/AE.svg" width="16" height="16"> | | | S-8 | Computer Science & Eng. + Aerospace Eng. | :heavy_check_mark: |
193-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | <img src="./studies/logos/AM.svg" width="16" height="16"> | <img src="./studies/logos/AP.svg" width="16" height="16"> | <img src="./studies/logos/AE.svg" width="16" height="16"> | S-9 | CSE + A. Mathematics + A. Physics + Aerospace Eng. | :heavy_check_mark: |
194-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | <img src="./studies/logos/AM.svg" width="16" height="16"> | <img src="./studies/logos/AP.svg" width="16" height="16"> | | S-10 | CSE + A. Mathematics + A. Physics | :heavy_check_mark: |
195-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | <img src="./studies/logos/ME.svg" width="16" height="16"> | <img src="./studies/logos/CE.svg" width="16" height="16"> | | S-11 | CSE + Mechanical Eng. + Civil Eng. | :heavy_check_mark: |
196-
| <img src="./studies/logos/EOR.svg" width="16" height="16"> | | | | S-12 | Econometrics and Operations Research | :heavy_check_mark: |
197-
| <img src="./studies/logos/CSE.svg" width="16" height="16"> | <img src="./studies/logos/ME.svg" width="16" height="16"> | | | S-13 | Computer Science & Eng. + Mechanical Eng. | :heavy_check_mark: |
198-
| <img src="./studies/logos/EE.svg" width="16" height="16"> | <img src="./studies/logos/AE.svg" width="16" height="16"> | | | S-14 | Electrical Eng. + Aerospace Eng. | :heavy_check_mark: |
199-
| <img src="./studies/logos/AM.svg" width="16" height="16"> | <img src="./studies/logos/EE.svg" width="16" height="16"> | | | S-15 | Applied Mathematics + Electrical Eng. | :heavy_check_mark: |
185+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | | | | S-1 | Computer Science & Engineering | :heavy_check_mark: |
186+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/NB.svg" width="16" height="16" style="background-color: white;"> | | | S-2 | Computer Science & Eng. + Nanobiology | :heavy_check_mark: |
187+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AM.svg" width="16" height="16" style="background-color: white;"> | | | S-3 | Computer Science & Eng. + A. Mathematics | :heavy_check_mark: |
188+
| <img src="./studies/logos/AM.svg" width="16" height="16" style="background-color: white;"> | | | | S-4 | Applied Mathematics | :heavy_check_mark: |
189+
| <img src="./studies/logos/AM.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/ME.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AE.svg" width="16" height="16" style="background-color: white;"> | | S-5 | A. Mathematics + Mechanical Eng. + Aerospace Eng. | :heavy_check_mark: |
190+
| <img src="./studies/logos/EE.svg" width="16" height="16" style="background-color: white;"> | | | | S-6 | Electrical Engineering | :heavy_check_mark: |
191+
| <img src="./studies/logos/NB.svg" width="16" height="16" style="background-color: white;"> | | | | S-7 | Nanobiology | :heavy_check_mark: |
192+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AE.svg" width="16" height="16" style="background-color: white;"> | | | S-8 | Computer Science & Eng. + Aerospace Eng. | :heavy_check_mark: |
193+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AM.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AP.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AE.svg" width="16" height="16" style="background-color: white;"> | S-9 | CSE + A. Mathematics + A. Physics + Aerospace Eng. | :heavy_check_mark: |
194+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AM.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AP.svg" width="16" height="16" style="background-color: white;"> | | S-10 | CSE + A. Mathematics + A. Physics | :heavy_check_mark: |
195+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/ME.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/CE.svg" width="16" height="16" style="background-color: white;"> | | S-11 | CSE + Mechanical Eng. + Civil Eng. | :heavy_check_mark: |
196+
| <img src="./studies/logos/EOR.svg" width="16" height="16" style="background-color: white;"> | | | | S-12 | Econometrics and Operations Research | :heavy_check_mark: |
197+
| <img src="./studies/logos/CSE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/ME.svg" width="16" height="16" style="background-color: white;"> | | | S-13 | Computer Science & Eng. + Mechanical Eng. | :heavy_check_mark: |
198+
| <img src="./studies/logos/EE.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/AE.svg" width="16" height="16" style="background-color: white;"> | | | S-14 | Electrical Eng. + Aerospace Eng. | :heavy_check_mark: |
199+
| <img src="./studies/logos/AM.svg" width="16" height="16" style="background-color: white;"> | <img src="./studies/logos/EE.svg" width="16" height="16" style="background-color: white;"> | | | S-15 | Applied Mathematics + Electrical Eng. | :heavy_check_mark: |
200200

201201
### Others
202202

generate_readme.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,20 +86,20 @@
8686
oragnizations = json.load(f)
8787

8888
for o in oragnizations:
89-
s = f"| <img src=\"./studies/logos/{o['studies'][0]}.svg\" width=\"16\" height=\"16\"> "
89+
s = f"| <img src=\"./studies/logos/{o['studies'][0]}.svg\" width=\"16\" height=\"16\" style=\"background-color: white;\"> "
9090

9191
if len(o["studies"]) >= 2:
92-
s += f"| <img src=\"./studies/logos/{o['studies'][1]}.svg\" width=\"16\" height=\"16\"> "
92+
s += f"| <img src=\"./studies/logos/{o['studies'][1]}.svg\" width=\"16\" height=\"16\" style=\"background-color: white;\"> "
9393
else:
9494
s += f"| "
9595

9696
if len(o["studies"]) >= 3:
97-
s += f"| <img src=\"./studies/logos/{o['studies'][2]}.svg\" width=\"16\" height=\"16\"> "
97+
s += f"| <img src=\"./studies/logos/{o['studies'][2]}.svg\" width=\"16\" height=\"16\" style=\"background-color: white;\"> "
9898
else:
9999
s += f"| "
100100

101101
if len(o["studies"]) >= 4:
102-
s += f"| <img src=\"./studies/logos/{o['studies'][3]}.svg\" width=\"16\" height=\"16\"> "
102+
s += f"| <img src=\"./studies/logos/{o['studies'][3]}.svg\" width=\"16\" height=\"16\" style=\"background-color: white;\"> "
103103
else:
104104
s += f"| "
105105

0 commit comments

Comments
 (0)