Skip to content

Commit

Permalink
chore: remove styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Sep 27, 2023
1 parent 676ef6b commit 570d62e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 350 deletions.
2 changes: 1 addition & 1 deletion packages/design-docs/src/StatusTable.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
}

.table.table {
.table {
overflow: auto;

th {
Expand Down
1 change: 0 additions & 1 deletion packages/storybook-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"scripts": {
"build:styles": "webpack --config webpack.custom.js --mode=production",
"build:lib": "talend-scripts build && npm run build:styles",
"pre-release": "npm run build:lib",
"start": "npm run storybook",
"lint": "talend-scripts lint",
"test": "echo no test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
.badge {
display: inline-flex;
align-items: center;
justify-content: space-between;
font: tokens.$coral-paragraph-s-bold;
color: tokens.$coral-color-neutral-text !important;
// color: tokens.$coral-color-neutral-text !important;
width: 100px;

&,
&:hover,
Expand All @@ -16,7 +16,7 @@

&:not([href]) {
span:first-child {
background-color: tokens.$coral-color-neutral-background-disabled;
// background-color: tokens.$coral-color-neutral-background-disabled;
}
}

Expand All @@ -33,7 +33,7 @@
align-items: center;
justify-content: center;
gap: 1ch;
background: tokens.$coral-color-neutral-background;
// background: tokens.$coral-color-neutral-background;
border-right: none;
border-radius: tokens.$coral-radius-s 0 0 tokens.$coral-radius-s;
}
Expand All @@ -55,18 +55,22 @@
color: tokens.$coral-color-success-text-weak;
background: tokens.$coral-color-success-background-strong;
}

&-wip {
color: tokens.$coral-color-beta-text-weak;
background: tokens.$coral-color-beta-background-strong;
}

&-deprecated {
color: tokens.$coral-color-warning-text-weak;
background: tokens.$coral-color-warning-background-strong;
}

&-ko {
color: tokens.$coral-color-danger-text-weak;
background: tokens.$coral-color-danger-background-strong;
}

&-na {
color: tokens.$coral-color-neutral-text-weak;
background: tokens.$coral-color-neutral-background-strong;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function getIcon(statusType: StatusType) {
export function ComponentStatuses(statuses: Statuses) {
return (
<Unstyled>
<StackHorizontal gap="XS" as="ul" role="list" align="center" margin={{ x: 0, y: 'M' }}>
<StackHorizontal gap="XS" as="ul" role="list" align="start">
{Object.entries(statuses).map(([statusType, { status, link }]) => (
<StackItem as="li" key={statusType}>
<Status
Expand Down
Loading

0 comments on commit 570d62e

Please sign in to comment.