Skip to content

Flag ratios #9

Open
Open
@hexaclue

Description

@hexaclue

Some flags (e.g. the bisexual flag, or the paragender flag) do not have a standard ratio of colours. For example, the bisexual flag has a ratio of 2:1:2.

Fix:

  • A file with a map (just like /src/lib/constants/flagColours.ts), containing the ratios per flag.
    • Note that this should only contain flags which have ratios that are not all 1, for efficiency sake.
    • <String, number[]>
  • Use these ratios in drawToCanvas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions