summaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms/label.module.scss
blob: f9009254cb37d5868331cdc9bdb535692e4e5b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.label {
  color: var(--color-primary-darker);
  font-weight: 600;

  &--small {
    font-size: var(--font-size-sm);
    font-variant: small-caps;
  }

  &--medium {
    font-size: var(--font-size-md);
  }
}

.required {
  color: var(--color-secondary);
}
n|extends|fakereturn|for|foreach|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i, function: /\b\w+(?:\.\w+)?\s*(?=\()/, number: /(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i, operator: /(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/, })), Prism.languages.insertBefore('purebasic', 'keyword', { tag: /#\w+/, asm: { pattern: /(^[\t ]*)!.*/m, lookbehind: !0, alias: 'tag', inside: { comment: /;.*/, string: { pattern: /(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/, greedy: !0 }, 'label-reference-anonymous': { pattern: /(!\s*j[a-z]+\s+)@[fb]/i, lookbehind: !0, alias: 'fasm-label', }, 'label-reference-addressed': { pattern: /(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i, lookbehind: !0, alias: 'fasm-label', }, keyword: [ /\b(?:extern|global)\b[^;\r\n]*/i, /\b(?:CPU|DEFAULT|FLOAT)\b.*/, ], function: { pattern: /^([\t ]*!\s*)[\da-z]+(?=\s|$)/im, lookbehind: !0, }, 'function-inline': { pattern: /(:\s*)[\da-z]+(?=\s)/i, lookbehind: !0, alias: 'function', }, label: { pattern: /^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m, lookbehind: !0, alias: 'fasm-label', }, register: /\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i, number: /(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i, operator: /[\[\]*+\-/%<>=&|$!,.:]/, }, }, }), delete Prism.languages.purebasic['class-name'], delete Prism.languages.purebasic.boolean, (Prism.languages.pbfasm = Prism.languages.purebasic);