KC's Workspace
    Preparing search index...
    Token:
        | { type: "ident"; value: String }
        | { type: "at-keyword"; value: String }
        | { type: "hash"; value: String }
        | { type: "id-hash"; value: String }
        | { type: "string"; value: String }
        | { type: "unquoted-url"; value: String }
        | { type: "delim"; value: string }
        | { type: "number"; value: number }
        | { type: "percentage"; value: number }
        | { type: "dimension"; unit: String; value: number }
        | { type: "white-space"; value: String }
        | { type: "comment"; value: String }
        | { type: "colon" }
        | { type: "semicolon" }
        | { type: "comma" }
        | { type: "include-match" }
        | { type: "dash-match" }
        | { type: "prefix-match" }
        | { type: "suffix-match" }
        | { type: "substring-match" }
        | { type: "cdo" }
        | { type: "cdc" }
        | { type: "function"; value: String }
        | { type: "parenthesis-block" }
        | { type: "square-bracket-block" }
        | { type: "curly-bracket-block" }
        | { type: "bad-url"; value: String }
        | { type: "bad-string"; value: String }
        | { type: "close-parenthesis" }
        | { type: "close-square-bracket" }
        | { type: "close-curly-bracket" }

    A raw CSS token.

    Type Declaration

    • { type: "ident"; value: String }
    • { type: "at-keyword"; value: String }
    • { type: "hash"; value: String }
    • { type: "id-hash"; value: String }
    • { type: "string"; value: String }
    • { type: "unquoted-url"; value: String }
    • { type: "delim"; value: string }
    • { type: "number"; value: number }
      • type: "number"
      • value: number

        The value as a float

    • { type: "percentage"; value: number }
      • type: "percentage"
      • value: number

        The value as a float, divided by 100 so that the nominal range is 0.0 to 1.0.

    • { type: "dimension"; unit: String; value: number }
      • type: "dimension"
      • unit: String

        The unit, e.g. "px" in 12px

      • value: number

        The value as a float

    • { type: "white-space"; value: String }
    • { type: "comment"; value: String }
    • { type: "colon" }
    • { type: "semicolon" }
    • { type: "comma" }
    • { type: "include-match" }
    • { type: "dash-match" }
    • { type: "prefix-match" }
    • { type: "suffix-match" }
    • { type: "substring-match" }
    • { type: "cdo" }
    • { type: "cdc" }
    • { type: "function"; value: String }
    • { type: "parenthesis-block" }
    • { type: "square-bracket-block" }
    • { type: "curly-bracket-block" }
    • { type: "bad-url"; value: String }
    • { type: "bad-string"; value: String }
    • { type: "close-parenthesis" }
    • { type: "close-square-bracket" }
    • { type: "close-curly-bracket" }