Skip to content

Commit

Permalink
Merge branch 'develop' into feat/labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucanis authored Jun 25, 2024
2 parents 3f14a57 + db7f747 commit 1acf9c4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
22 changes: 22 additions & 0 deletions components/Atoms/Progress/Progress.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import Progress from './Progress.twig';

export default {
title: 'Design System/Atoms/Progress'
};

export const base = {
render: (args) => Progress(args),
args: {
progress: 50
},
argTypes: {
progress: {
control: {
type: 'range',
min: 0,
max: 100,
step: 1
}
}
}
};
3 changes: 3 additions & 0 deletions components/Atoms/Progress/Progress.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<div class="Progress">
<div class="Progress-bar" style="width: {{ progress }}%"></div>
</div>
12 changes: 12 additions & 0 deletions components/Atoms/Progress/progress.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.Progress {
height: 8px;
background-color: var(--vermillon-light);
border-radius: 5px;
padding: 2px;
}

.Progress-bar {
height: 100%;
background-color: var(--vermillon);
border-radius: 5px;
}

0 comments on commit 1acf9c4

Please sign in to comment.