---
title: 'S6: Team and position color modes for points and labels'
type: task
status: completed
description: >-
  Add :root {--pos-QB ...} CSS custom properties to league/app/styles/variables.styl using existing
  / values (Stylus var declares both forms). Create league/libs-shared/position-colors.mjs that
  reads via getComputedStyle(document.documentElement).getPropertyValue('--pos-<role>') (lookup
  function only, no literals). Wire get_point_color(row) resolver in data-views.js using
  nfl_team_colors and position_colors based on point_color_mode. Apply marker fillColor and
  data-label color in scatter-plot-overlay.js. point_color_mode='uniform' is OUT OF SCOPE (absence =
  uniform). See parent plan.
base_uri: user:task/github/mistakia/league/293-s6-team-position-color-modes.md
created_at: '2026-04-29T16:17:14.658Z'
entity_id: 69bb8def-77da-4e18-93b4-56d11cdfe1a5
finished_at: '2026-04-29T17:39:15.808Z'
observations:
  - ████████████████████████████████████████████████
  - ████████████████████████████████████████████████
owner_identity_uri: █████████████████████████
priority: Medium
public_read: true
relations:
  - subtask_of [[user:task/github/mistakia/league/293-tracking-issue-for-data-view-scatter-plot.md]]
  - blocked_by [[user:task/github/mistakia/league/293-s2-nfl-team-color-constants.md]]
  - blocked_by [[user:task/github/mistakia/league/293-s3-settings-panel-scaffolding.md]]
started_at: '2026-04-29T17:26:14.622Z'
tags:
  - user:tag/league-xo-football.md
updated_at: '2026-06-08T16:58:20.342Z'
visibility_analyzed_at: '2026-11-05T23:48:04.601Z'
---


