Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.

Commit 6ae4d03

Browse files
committed
(@Jaspreet099) deactiivated buttons added
1 parent 4ba49b6 commit 6ae4d03

4 files changed

Lines changed: 28 additions & 2 deletions

File tree

src/lib/eccentric.css

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/eccentric.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/eccentric.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ body {
6262
}
6363

6464
/// button method - primary-button, default button property
65-
.et-button, button, .et-primaryButton {
65+
.et-button, button, .et-primaryButton{
6666
color: white;
6767
background-color: var(--et-blue-primary);
6868
padding: 0.6em;
@@ -108,4 +108,16 @@ body {
108108
border-radius: 4px;
109109
font-size: inherit;
110110
line-height: inherit;
111+
}
112+
113+
.et-button-deactivated{
114+
background-color: var(--et-gray-primary);
115+
color: var(--et-black);
116+
}
117+
118+
.et-button-deactivated-secondary{
119+
background-color: var(--et-gray-secondary);
120+
color: var(--et-black);
121+
border: var(--et-black) solid;
122+
border-width: 2px;
111123
}

src/tests/__buttons.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@
1212
<button class="et-button-danger et-hover">Close this Task</button>
1313
<button class="et-button-valid">Save Changes</button>
1414
<button class="et-button-warning">Check Notifications</button>
15+
<button class="et-button-deactivated">Button</button>
16+
<button class="et-button-deactivated-secondary">deactivated</button>
1517
</body>
1618
</html>

0 commit comments

Comments
 (0)