FacetDocs

Gallery

Each of these is built by the docs build from the source beside it.

A phone screen

raag-today.json≈ 788 tokens
{
  "phone": {
    "name": "Today",
    "children": [
      {
        "row": [
          {
            "draw": [
              {"path": "M20 2v14", "stroke": "@ink", "weight": 2},
              {
                "circle": [20, 30, 14],
                "fill": {"linear": ["@saffron", "@rose"], "angle": 160}
              }
            ],
            "size": [40, 46],
            "name": "Mark"
          },
          {
            "column": [
              {"title": "Raag"},
              {"deva": "आज का रियाज़", "color": "@mute"}
            ]
          },
          {"space": "fill"},
          {"icon": "lucide:settings-2", "size": 22}
        ],
        "gap": 12,
        "align": "center",
        "width": "fill"
      },
      {
        "stack": [
          {
            "draw": [
              {
                "circle": [150, 150, 144],
                "fill": {"radial": ["#FFFFFF00", "@rose/10%"]},
                "stroke": "none"
              },
              {
                "circle": [150, 150, 120],
                "stroke": "#1A142333",
                "dash": [2, 6]
              },
              {
                "arc": [150, 150, 120, 270, 315],
                "stroke": {"linear": ["@saffron", "@rose"], "angle": 45},
                "weight": 14
              }
            ],
            "size": 300
          },
          {
            "ring": [
              {
                "each": ["रात", "सुबह", "दोपहर", "शाम"],
                "do": {"deva": "{.}", "color": "@mute"}
              }
            ],
            "r": 86
          },
          {
            "column": [
              {"deva-xl": "यमन"},
              {"small": "Yaman's hour", "color": "@mute"}
            ],
            "align": "center"
          }
        ],
        "width": "fill"
      },
      {
        "type": "paragraph",
        "width": "fill",
        "runs": [
          "It's evening, so Yaman. Every note is shuddha except ",
          {"swara": {"note": "तीव्र म", "tone": "@rose"}},
          ": sing it a touch sharp, and land on ",
          {"swara": "नि"},
          " and ",
          {"swara": "ग"},
          " more than on ",
          {"swara": {"note": "सा", "tone": "@mute"}},
          "."
        ]
      },
      {
        "row": [
          {"sticker": {"label": "12 दिन लगातार", "turn": -4}},
          {
            "sticker": {
              "label": "Tanpura in C♯",
              "tone": "#E3E7FA",
              "turn": 3
            }
          },
          {"sticker": {"label": "40 min", "tone": "#F9D7DD", "turn": -2}}
        ],
        "gap": 10,
        "align": "center"
      }
    ]
  }
}
What raag-today.json builds

Raag's Today screen. With the kit sent once, the screen itself is about 900 tokens.

Built by the docs build with the real CLI · built after raag-kit.json.

A component library

raga-library.json≈ 135 tokens
{
  "name": "Library",
  "gap": 20,
  "align": "start",
  "row": [
    {"Raga/Card": {"State": "Learning"}},
    {
      "Raga/Card": {
        "State": "New",
        "Name": "राग भीमपलासी",
        "Hour": "AFTERNOON"
      }
    },
    {
      "Raga/Card": {
        "State": "Locked",
        "Name": "राग मालकौंस",
        "Hour": "LATE NIGHT"
      }
    }
  ]
}
What raga-library.json builds

Three instances of a set whose states, properties and behavior come from one build.

Built by the docs build with the real CLI · built after raag-kit.json, raga-card.json.

Metrics

Settings