From 9ba072b3c33c5d328d9dc9a9bcb9f6d08704589e Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Thu, 18 May 2023 00:49:47 +0300 Subject: [PATCH] Make tournament banner text visible in light mode --- .github/workflows/main.yml | 2 +- app/features/tournament-bracket/tournament-bracket.css | 1 + package.json | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 613c42d13..20f614c2d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,7 @@ jobs: - name: Lint TS run: npm run lint:ts - name: Stylelint - run: npm run lint:styles + run: npm run lint:css - name: Typecheck run: npm run typecheck - name: Check translations jsons diff --git a/app/features/tournament-bracket/tournament-bracket.css b/app/features/tournament-bracket/tournament-bracket.css index 9e7f59d3e..04b4f5595 100644 --- a/app/features/tournament-bracket/tournament-bracket.css +++ b/app/features/tournament-bracket/tournament-bracket.css @@ -49,6 +49,7 @@ background: rgb(0 0 0 / 25%); border-start-end-radius: var(--rounded); border-start-start-radius: var(--rounded); + color: var(--badge-text); } .tournament-bracket__stage-banner__bottom-bar { diff --git a/package.json b/package.json index 6b5c229cc..03dc32a23 100644 --- a/package.json +++ b/package.json @@ -26,15 +26,15 @@ "placements": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/placements/index.ts", "hex-to-filter": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register scripts/hex-to-filter.ts", "lint:ts": "eslint . --ext .ts,.tsx", - "lint:styles": "stylelint \"app/styles/**/*.css\"", + "lint:css": "stylelint \"app/styles/**/*.css\"", "prettier:check": "prettier --check . --loglevel warn", "prettier:write": "prettier --write . --loglevel warn", "typecheck": "tsc --noEmit", "test:unit": "uvu -r tsm -r tsconfig-paths/register -i e2e", "test:e2e": "npx playwright test", - "checks": "npm run test:unit && npm run lint:styles && npm run lint:ts && npm run prettier:check && npm run typecheck", - "cf": "npm run test:unit && npm run check-translation-jsons && npm run lint:styles -- --fix && npm run lint:ts -- --fix && npm run prettier:write && npm run typecheck && npm run test:e2e", - "cf:noe2e": "npm run test:unit && npm run check-translation-jsons && npm run lint:styles -- --fix && npm run lint:ts -- --fix && npm run prettier:write && npm run typecheck" + "checks": "npm run test:unit && npm run lint:css && npm run lint:ts && npm run prettier:check && npm run typecheck", + "cf": "npm run test:unit && npm run check-translation-jsons && npm run lint:css -- --fix && npm run lint:ts -- --fix && npm run prettier:write && npm run typecheck && npm run test:e2e", + "cf:noe2e": "npm run test:unit && npm run check-translation-jsons && npm run lint:css -- --fix && npm run lint:ts -- --fix && npm run prettier:write && npm run typecheck" }, "dependencies": { "@dnd-kit/core": "^6.0.8",