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

Commit 0eba4bc

Browse files
authored
Merge pull request #84 from yashsehgal/v2.0
Tests & CSS modified
2 parents 31794d2 + e5f8019 commit 0eba4bc

6 files changed

Lines changed: 27 additions & 32 deletions

File tree

src/lib/eccentric.css

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.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: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,17 +150,20 @@ h5, .et-h5{
150150
h6, .et-h6{
151151
font-size: 12.94px;
152152
}
153-
// Comined Property For all tags
154-
.et-paragragh,.et-bold,.et-italics,.et-underlined,.et-quote,.et-regular,p,b,i,u,q{ // This Contains various TAgs like Paragraph.italics,bold,quote,Underlined.
153+
154+
// Combined Property For all tags
155+
// This Contains various TAgs like Paragraph.italics,bold,quote,Underlined.
156+
.et-paragragh, .et-quote, .et-regular, p, b, i, u, q {
155157
font-family: var(--et-sans-serif);
156158
margin: 0;
157159
color: var(--et-black);
158160
}
159161

160-
.et-bold,b{
162+
b {
161163
font-weight: bold;
162164
}
163165
// To remove extra (unwanted) margin.
164-
.et-paragragh,.et-regular,p{
166+
.et-paragragh, .et-regular, p {
165167
margin: 0;
166-
}
168+
}
169+

src/tests/__tags.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<body>
1010
<p class="et-paragragh">Paragraph Text</p>
1111
<p class="et-regular"> Regular Text</p>
12-
<b class="et-bold">Bold Text</b>
13-
<i class="et-italic">Italic Text</i>
14-
<u class="et-underlined">Underlined Text</u>
15-
<q class="et-quote">Quote</q>
12+
<b>Bold Text</b>
13+
<i>Italic Text</i>
14+
<u>Underlined Text</u>
15+
<q class="et-quote">Quote</q>
1616
</body>
1717
</html>

src/tests/auto/TEST_RESULTS.htm

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@
88
<title>TEST RESULTS</title>
99
</head>
1010
<body>
11+
<code>BUTTONS</code>
1112
<div id="root-tester-buttons"></div> <!--BUTTONS TEST DATA-->
12-
13+
<br><br><br><br><br>
14+
<code>FONTS</code>
1315
<div id="root-tester-fonts"></div>
14-
16+
<br><br><br><br><br>
17+
<code>FONT TAGS</code>
1518
<div id="root-tester-tags"></div>
19+
<br><br><br><br><br>
20+
1621

1722
<script src="__BUTTON_TESTS.js"></script>
1823
<script src="__FONT_TESTS.js"></script>

src/tests/auto/__TAG_TESTS.js

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,9 @@
11

22
__TAGS_TESTS = [
33

4-
{
5-
"classname": "et-paragraph"
6-
}
7-
,
8-
{
9-
"classname": "et-bold"
10-
}
11-
,
124
{
13-
"classname": "et-italics"
14-
}
15-
,
16-
{
17-
"classname": "et-underlined"
18-
}
19-
,
5+
"classname": "et-paragraph"
6+
},
207
{
218
"classname": "et-quote"
229
}
@@ -26,10 +13,10 @@ __TAGS_TESTS = [
2613
let TAGS_TEST_DATA = document.createElement("div");
2714

2815
/// RUNNING TESTS
29-
for (let testOperation in __TAGS__TESTS) {
16+
for (let testOperation in __TAGS_TESTS) {
3017
let _testable_tags__ = document.createElement("p");
31-
_testable_tags__.innerHTML = "Testing Buttons";
32-
_testable_tags__.className = __TAGS__TESTS[testOperation].classname;
18+
_testable_tags__.innerHTML = "Testing Tags";
19+
_testable_tags__.className = __TAGS_TESTS[testOperation].classname;
3320
TAGS_TEST_DATA.append(_testable_tags__);
3421
}
3522

0 commit comments

Comments
 (0)