Skip to content

Commit

Permalink
docs(knapsack): modifying asset sets to use light/dark modes (#2105)
Browse files Browse the repository at this point in the history
  • Loading branch information
owilliams320 authored Feb 26, 2024
1 parent 74092c2 commit 4c4486c
Show file tree
Hide file tree
Showing 105 changed files with 2,325 additions and 130 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.0pGlu50vut.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "0pGlu50vut",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.dark.palettes"],
"include": "positive",
"exclude": ""
}
}
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.17Ux-cmwk6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "17Ux-cmwk6",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.dark.colors"],
"include": "emphasis",
"exclude": "on"
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.1YKBSGqC5U.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "1YKBSGqC5U",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Caution"
}
]
}
]
}
}
}
10 changes: 10 additions & 0 deletions apps/knapsack/data/blocks/block.1wLEYXilwB.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "1wLEYXilwB",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.light.palettes"],
"include": "secondary"
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.23UbJKd3uu.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "23UbJKd3uu",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Primary"
}
]
}
]
}
}
}
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.3WkE2fs2hK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "3WkE2fs2hK",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.dark.colors", "theme.light.colors"],
"include": "negative",
"exclude": "on"
}
}
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.3aOfl99XQO.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "3aOfl99XQO",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.light.palettes"],
"include": "positive",
"exclude": ""
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.4hYM86vnlL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "4hYM86vnlL",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Emphasis"
}
]
}
]
}
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.6j7VbRaWrn.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "6j7VbRaWrn",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Emphasis"
}
]
}
]
}
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.7dfO9h8XKa.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "7dfO9h8XKa",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Dark Secondary"
}
]
}
]
}
}
}
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.8gL6YNJqep.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "8gL6YNJqep",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.dark.palettes"],
"include": "neutral",
"exclude": ""
}
}
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.BZXVGK-9q.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "BZXVGK-9q",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.light.colors"],
"include": "primary",
"exclude": "on-"
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.BaxEiyoAph.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "BaxEiyoAph",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Positive"
}
]
}
]
}
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.CBZccJQOpE.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "CBZccJQOpE",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Negative"
}
]
}
]
}
}
}
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.CO3zQ-CEfX.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "CO3zQ-CEfX",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.light.colors"],
"include": "emphasis",
"exclude": "on-"
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.CvoPQUj9RG.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "CvoPQUj9RG",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 2
},
"content": [
{
"type": "text",
"text": "Positive"
}
]
}
]
}
}
}
11 changes: 11 additions & 0 deletions apps/knapsack/data/blocks/block.CzmzktONAJ.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "CzmzktONAJ",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.light.palettes"],
"include": "negative",
"exclude": ""
}
}
10 changes: 10 additions & 0 deletions apps/knapsack/data/blocks/block.FONQaoI-jL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "FONQaoI-jL",
"blockType": "design-tokens",
"data": {
"demoId": "color-swatch",
"tokenType": "color",
"groupIds": ["theme.dark.palettes"],
"include": "secondary"
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.Fygt5BTqyp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "Fygt5BTqyp",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Secondary"
}
]
}
]
}
}
}
24 changes: 24 additions & 0 deletions apps/knapsack/data/blocks/block.G2OfiR8hlw.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"id": "G2OfiR8hlw",
"blockType": "text-editor",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 3
},
"content": [
{
"type": "text",
"text": "Primary"
}
]
}
]
}
}
}
Loading

0 comments on commit 4c4486c

Please sign in to comment.