diff options
| author | Josh Kingsley <josh@joshkingsley.me> | 2025-10-26 14:40:10 +0200 |
|---|---|---|
| committer | Josh Kingsley <josh@joshkingsley.me> | 2025-10-26 14:40:10 +0200 |
| commit | 6ae3218e2dd130c085074a0d13d156bdba99716f (patch) | |
| tree | 64073c4b1361549ecd1c355b97a8f5010781d762 /web/src/components/grid | |
| parent | 0324660a26684a5382b2c6c18cd0a4e9f0169631 (diff) | |
feat(web): adjust colors
Diffstat (limited to 'web/src/components/grid')
| -rw-r--r-- | web/src/components/grid/drawGrid.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/src/components/grid/drawGrid.ts b/web/src/components/grid/drawGrid.ts index 01240b5..8e64479 100644 --- a/web/src/components/grid/drawGrid.ts +++ b/web/src/components/grid/drawGrid.ts @@ -5,7 +5,7 @@ import { RenderedCell, RenderedGrid } from "./renderGrid"; function fillBackground(ctx: CanvasRenderingContext2D, grid: RenderedGrid) { ctx.clearRect(0, 0, grid.rect.width, grid.rect.height); - ctx.fillStyle = colors.neutral[800]; + ctx.fillStyle = colors.neutral[900]; ctx.fillRect(0, 0, grid.rect.width, grid.rect.height); } @@ -15,7 +15,7 @@ function strokeGrid(ctx: CanvasRenderingContext2D, grid: RenderedGrid) { } function strokeGridLines(ctx: CanvasRenderingContext2D, grid: RenderedGrid) { - ctx.strokeStyle = colors.neutral[700]; + ctx.strokeStyle = colors.neutral[800]; grid.renderedRows.forEach((row, renderedRowIndex) => { const isLastRow = renderedRowIndex === grid.renderedRows.length - 1; @@ -72,7 +72,7 @@ function drawSelection( // cell.rect.height - 1, // ); - ctx.strokeStyle = colors.green[600]; + ctx.strokeStyle = colors.green[400]; ctx.lineWidth = 2; ctx.strokeRect( |
