Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 57 additions & 1 deletion design-tokens/tokens/modes/dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,62 @@
}
}
},
"code": {
"background": {
"default": {
"$type": "color",
"$value": "{echoes.color.palette.grey.500}"
},
"highlight": {
"$type": "color",
"$value": "{echoes.color.palette.grey.600}"
}
},
"border": {
"default": {
"$type": "color",
"$value": "{echoes.color.roles.support.transparent}"
Comment thread
jeremy-davis-sonarsource marked this conversation as resolved.
}
},
"text": {
"default": {
"$type": "color",
"$value": "#E2E7F1"
},
"highlight": {
"$type": "color",
"$value": "{echoes.color.palette.red.300}"
},
"annotation": {
"$type": "color",
"$value": "#61AEEE"
},
"constant": {
"$type": "color",
"$value": "#D19A66"
},
"comment": {
"$type": "color",
"$value": "#A7ACB4"
},
"keyword": {
"$type": "color",
"$value": "#DF91F6"
},
"string": {
"$type": "color",
"$value": "#98C379"
},
"keyword-subtle": {
"$type": "color",
"$value": "#ABABFF"
},
"preprocessing-directive": {
"$type": "color",
"$value": "#78D779"
}
}
},
"focus": {
"default": {
"$type": "color",
Expand Down Expand Up @@ -1018,4 +1074,4 @@
}
}
}
}
}
58 changes: 57 additions & 1 deletion design-tokens/tokens/modes/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,62 @@
}
}
},
"code": {
"background": {
"default": {
"$type": "color",
"$value": "{echoes.color.palette.grey.25}"
},
"highlight": {
"$type": "color",
"$value": "{echoes.color.palette.grey.200}"
}
},
"border": {
"default": {
"$type": "color",
"$value": "{echoes.color.palette.grey.100}"
}
},
"text": {
"default": {
"$type": "color",
"$value": "#383A42"
},
"highlight": {
"$type": "color",
"$value": "{echoes.color.palette.red.600}"
},
"annotation": {
"$type": "color",
"$value": "#235BD5"
},
"constant": {
"$type": "color",
"$value": "#875702"
Comment thread
jeremy-davis-sonarsource marked this conversation as resolved.
},
"comment": {
"$type": "color",
"$value": "#5F6066"
},
"keyword": {
"$type": "color",
"$value": "#A222A0"
},
"string": {
"$type": "color",
"$value": "#247523"
},
"keyword-subtle": {
"$type": "color",
"$value": "#1E1EAD"
},
"preprocessing-directive": {
"$type": "color",
"$value": "#347235"
}
}
},
"focus": {
"default": {
"$type": "color",
Expand Down Expand Up @@ -778,4 +834,4 @@
}
}
}
}
}
12 changes: 12 additions & 0 deletions src/generated/design-tokens-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,18 @@ html[data-echoes-theme='dark'], [data-echoes-theme='dark'] {
--echoes-color-border-warning-weak: #fadc7966;
--echoes-color-border-info-weak: #8fcaea66;
--echoes-color-border-emphasis-weak: #b790f766;
--echoes-color-code-background-default: #3e4357;
--echoes-color-code-background-highlight: #2a2f40;
--echoes-color-code-border-default: #00000000;
--echoes-color-code-text-default: #e2e7f1;
--echoes-color-code-text-highlight: #fda29b;
--echoes-color-code-text-annotation: #61aeee;
--echoes-color-code-text-constant: #d19a66;
--echoes-color-code-text-comment: #a7acb4;
--echoes-color-code-text-keyword: #df91f6;
--echoes-color-code-text-string: #98c379;
--echoes-color-code-text-keyword-subtle: #ababff;
--echoes-color-code-text-preprocessing-directive: #78d779;
--echoes-color-focus-default: #bdc6ff;
--echoes-box-shadow-xsmall: 0 1px 4px 0 #08090c66;
--echoes-box-shadow-small: 0 1px 10px 0 #08090c66, 0 1px 3px 0 #08090c66;
Expand Down
12 changes: 12 additions & 0 deletions src/generated/design-tokens-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,18 @@
--echoes-color-border-warning-weak: #fef5d0;
--echoes-color-border-info-weak: #e9f4fb;
--echoes-color-border-emphasis-weak: #ede2ff;
--echoes-color-code-background-default: #fcfcfd;
--echoes-color-code-background-highlight: #c5cddf;
--echoes-color-code-border-default: #e1e6f3;
--echoes-color-code-text-default: #383a42;
--echoes-color-code-text-highlight: #d92d20;
--echoes-color-code-text-annotation: #235bd5;
--echoes-color-code-text-constant: #875702;
--echoes-color-code-text-comment: #5f6066;
--echoes-color-code-text-keyword: #a222a0;
--echoes-color-code-text-string: #247523;
--echoes-color-code-text-keyword-subtle: #1e1ead;
--echoes-color-code-text-preprocessing-directive: #347235;
--echoes-color-focus-default: #4b56bb;
--echoes-box-shadow-xsmall: 0 1px 02px 0 #0000000d;
--echoes-box-shadow-small: 0 1px 25px 0 #1d212f0d, 0 1px 3px 0 #1d212f0d;
Expand Down
12 changes: 12 additions & 0 deletions src/generated/design-tokens-themed.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,18 @@
"echoes-color-border-warning-weak": "#fef5d0",
"echoes-color-border-info-weak": "#e9f4fb",
"echoes-color-border-emphasis-weak": "#ede2ff",
"echoes-color-code-background-default": "#fcfcfd",
"echoes-color-code-background-highlight": "#c5cddf",
"echoes-color-code-border-default": "#e1e6f3",
"echoes-color-code-text-default": "#383a42",
"echoes-color-code-text-highlight": "#d92d20",
"echoes-color-code-text-annotation": "#235bd5",
"echoes-color-code-text-constant": "#875702",
"echoes-color-code-text-comment": "#5f6066",
"echoes-color-code-text-keyword": "#a222a0",
"echoes-color-code-text-string": "#247523",
"echoes-color-code-text-keyword-subtle": "#1e1ead",
"echoes-color-code-text-preprocessing-directive": "#347235",
"echoes-color-focus-default": "#4b56bb",
"echoes-box-shadow-xsmall": "0 1px 02px 0 #0000000d",
"echoes-box-shadow-small": "0 1px 25px 0 #1d212f0d, 0 1px 3px 0 #1d212f0d",
Expand Down
Loading