Skip to content

Commit

Permalink
Merge pull request #2131 from Teradata/action-ribbon-colors-upgrade
Browse files Browse the repository at this point in the history
Add up to date color codes to action ribbon doc - Adam
  • Loading branch information
knapsack-cloud[bot] authored Mar 22, 2024
2 parents 9f67223 + 1cd3d06 commit 28802f5
Show file tree
Hide file tree
Showing 23 changed files with 235 additions and 77 deletions.
3 changes: 1 addition & 2 deletions apps/knapsack/data/blocks/block.B2EzynPRu8.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"id": "B2EzynPRu8",
"data": {
"content": {},
"autoFocus": true
"content": {}
},
"blockType": "text-editor"
}
18 changes: 14 additions & 4 deletions apps/knapsack/data/blocks/block.CoGP4K5ttX.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@
},
"content": [
{
"text": "Foreground - Positive",
"type": "text"
"text": "--cv-theme-positive",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down Expand Up @@ -148,8 +153,13 @@
},
"content": [
{
"text": "Background - Positive highlight",
"type": "text"
"text": "--cv-theme-positive-8",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/blocks/block.CvoPQUj9RG.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 2
"level": 1,
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Positive"
"text": "Positive",
"type": "text"
}
]
}
Expand Down
9 changes: 7 additions & 2 deletions apps/knapsack/data/blocks/block.H54-mVe-p.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@
},
"content": [
{
"text": "Foreground - Accent",
"type": "text"
"text": "--cv-theme-primary",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down
18 changes: 14 additions & 4 deletions apps/knapsack/data/blocks/block.HQx3w73gvK.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@
},
"content": [
{
"text": "Foreground - Icon",
"type": "text"
"text": "--cv-theme--on-surface-variant",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down Expand Up @@ -148,8 +153,13 @@
},
"content": [
{
"text": "Foreground - Text (secondary)",
"type": "text"
"text": "--cv-theme--on-surface-variant",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/blocks/block.KehJ1CWs2J.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 2
"level": 1,
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Negative"
"text": "Negative",
"type": "text"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/blocks/block.QE4EJ5Urx.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 2
"level": 1,
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Secondary"
"text": "Secondary",
"type": "text"
}
]
}
Expand Down
18 changes: 14 additions & 4 deletions apps/knapsack/data/blocks/block.QboPzLeuo.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@
},
"content": [
{
"text": "Foreground - Accent",
"type": "text"
"text": "--cv-theme-primary",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down Expand Up @@ -148,8 +153,13 @@
},
"content": [
{
"text": "Background - Accent highlight",
"type": "text"
"text": "--cv-theme-primary-8",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down
9 changes: 7 additions & 2 deletions apps/knapsack/data/blocks/block.WHM4iCalw.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@
},
"content": [
{
"text": "Foreground - Disabled text",
"type": "text"
"text": "--cv-theme--on-surface-38",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/blocks/block.Xp4B6zaatR.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 2
"level": 1,
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Emphasis"
"text": "Emphasis",
"type": "text"
}
]
}
Expand Down
80 changes: 80 additions & 0 deletions apps/knapsack/data/blocks/block.eKyEb1kEVx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"id": "eKyEb1kEVx",
"data": {
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"level": 1,
"textAlign": "left"
},
"content": [
{
"text": "Basics",
"type": "text"
}
]
},
{
"type": "bulletList",
"content": [
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"text": "Each page can have only one primary action button",
"type": "text"
}
]
}
]
},
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"text": "It is common and okay for some pages to have no primary action",
"type": "text"
}
]
}
]
},
{
"type": "listItem",
"content": [
{
"type": "paragraph",
"attrs": {
"textAlign": "left"
},
"content": [
{
"text": "Include an icon in your button only in specific circumstances",
"type": "text"
}
]
}
]
}
]
}
]
}
},
"blockType": "text-editor"
}
18 changes: 14 additions & 4 deletions apps/knapsack/data/blocks/block.gJbrxd8w3u.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@
},
"content": [
{
"text": "Foreground - Caution",
"type": "text"
"text": "--cv-theme-caution",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down Expand Up @@ -148,8 +153,13 @@
},
"content": [
{
"text": "Background - Caution highlight",
"type": "text"
"text": "--cv-theme-caution-8",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/blocks/block.h2rwPp1bok.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 2
"level": 1,
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Neutral"
"text": "Neutral",
"type": "text"
}
]
}
Expand Down
18 changes: 14 additions & 4 deletions apps/knapsack/data/blocks/block.h6zifoSbYW.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,13 @@
},
"content": [
{
"text": "Foreground - Negative",
"type": "text"
"text": "--cv-theme-negative",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down Expand Up @@ -148,8 +153,13 @@
},
"content": [
{
"text": "Background - Negative highlight",
"type": "text"
"text": "--cv-theme-negative-8",
"type": "text",
"marks": [
{
"type": "code"
}
]
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions apps/knapsack/data/blocks/block.mLR3kISwa0.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
{
"type": "heading",
"attrs": {
"textAlign": "left",
"level": 2
"level": 1,
"textAlign": "left"
},
"content": [
{
"type": "text",
"text": "Emphasis"
"text": "Emphasis",
"type": "text"
}
]
}
Expand Down
Loading

0 comments on commit 28802f5

Please sign in to comment.