diff --git a/.changeset/itchy-spoons-sort.md b/.changeset/itchy-spoons-sort.md new file mode 100644 index 000000000..f2cb19d61 --- /dev/null +++ b/.changeset/itchy-spoons-sort.md @@ -0,0 +1,5 @@ +--- +'@microsoft/atlas-site': minor +--- + +Update color atomics documentation. diff --git a/.vscode/semantic-color-table.code-snippets b/.vscode/semantic-color-table.code-snippets new file mode 100644 index 000000000..47c4f62dd --- /dev/null +++ b/.vscode/semantic-color-table.code-snippets @@ -0,0 +1,50 @@ +{ + // Place your atlas-design workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and + // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope + // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is + // used to trigger the snippet and the body will be expanded and inserted. Possible variables are: + // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. + // Placeholders with the same ids are connected. + // Example: + "Semantic color table": { + "scope": "markdown", + "prefix": "Semantic", + "body": [ + "
Background color / Text color | ",
+ "\t\t\tText class | ", + "\t\t\tBackground class | ", + "\t\t
---|---|---|
${1:textlabel} invert / ${1:textlabel} | ",
+ "\t\t\t.color-${2:textlabel} | ",
+ "\t\t\t.background-color-${2:textlabel}-invert | ",
+ "\t\t
${1:textlabel} light / ${1:textlabel} dark | ",
+ "\t\t\tN/A | ", + "\t\t\t.background-color-${2:textlabel}-light | ",
+ "\t\t
${1:textlabel} / ${1:textlabel} invert | ",
+ "\t\t\t.color-${2:textlabel}-invert | ",
+ "\t\t\t.background-color-${2:textlabel} | ",
+ "\t\t
${1:textlabel} dark / ${1:textlabel} invert | ",
+ "\t\t\t.color-${2:textlabel}-invert | ",
+ "\t\t\t.background-color-${2:textlabel}-dark | ",
+ "\t\t
Text color | +Text class | +
---|---|
Text | +.color-text |
+
Text subtle | +.color-text-subtle |
+
Text invert | +.color-text-invert |
+
Background color | +Background class | +
---|---|
Body | +.background-color-body |
+
Body medium | +.background-color-body-medium |
+
Body accent | +.background-color-body-accent |
+
Alternate | +.background-color-alternate |
+
Alternate medium | +.background-color-alternate-medium |
+
Background color / Text color |
+ Font class | +Background class | +
---|---|---|
Primary invert / Primary |
+ .color-primary |
+ .background-color-primary-invert |
+
Primary light / Primary dark |
+ N/A | +.background-color-primary-light |
+
Primary / Primary invert |
+ .color-primary-invert |
+ .background-color-primary |
+
Primary dark / Primary invert |
+ .color-primary-invert |
+ .background-color-primary-dark |
+
Background color / Text color |
+ Font class | +Background class | +
---|---|---|
Success invert / Success |
+ .color-success |
+ .background-color-success-invert |
+
Success light / Success dark |
+ N/A | +.background-color-success-light |
+
Success / Success invert |
+ .color-success-invert |
+ .background-color-success |
+
Success dark / Success invert |
+ .color-success-invert |
+ .background-color-success-dark |
+
Background color / Text color |
+ Font class | +Background class | +
---|---|---|
Info invert / Info |
+ .color-info |
+ .background-color-info-invert |
+
Info light / Info dark |
+ N/A | +.background-color-info-light |
+
Info / Info invert |
+ .color-info-invert |
+ .background-color-info |
+
Info dark / Info invert |
+ .color-info-invert |
+ .background-color-info-dark |
+
Background color / Text color |
+ Font class | +Background class | +
---|---|---|
Danger invert / Danger |
+ .color-danger |
+ .background-color-danger-invert |
+
Danger light / Danger dark |
+ N/A | +.background-color-danger-light |
+
Danger / Danger invert |
+ .color-danger-invert |
+ .background-color-danger |
+
Danger dark / Danger invert |
+ .color-danger-invert |
+ .background-color-danger-dark |
+
body
-.background-color-body
body-medium
-.background-color-body-medium
body-accent
-.background-color-body-accent
alternate
-.background-color-alternate
alternate-medium
-.background-color-alternate-medium