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

Commit 0693374

Browse files
authored
Merge pull request #80 from Jaspreet099/v2.0
(@Jaspreet099) deactiivated buttons added
2 parents bee1f96 + d8611a2 commit 0693374

4 files changed

Lines changed: 29 additions & 3 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: 2 additions & 2 deletions
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;
@@ -110,6 +110,18 @@ body {
110110
line-height: inherit;
111111
}
112112

113+
114+
.et-button-deactivated{
115+
background-color: var(--et-gray-primary);
116+
color: var(--et-black);
117+
}
118+
119+
.et-button-deactivated-secondary{
120+
background-color: var(--et-gray-secondary);
121+
color: var(--et-black);
122+
border: var(--et-black) solid;
123+
border-width: 2px;
124+
113125
// Heading Method - Combined button Property
114126

115127
h1,.et-h1,h2,.et-h2,h3,.et-h3,h4,.et-h4,h5,.et-h5,h6,.et-h6{

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)