Skip to content
This repository was archived by the owner on Dec 11, 2021. It is now read-only.

Commit f4d3b38

Browse files
committed
Component: Meter
<!DOCTYPE html> change to lowercase as mention in the HTML styling guide.
1 parent 6834d28 commit f4d3b38

File tree

2 files changed

+29
-31
lines changed

2 files changed

+29
-31
lines changed

scss/atoms/typography/_typography.scss

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
"variables",
77
"functions";
88

9-
meter {
10-
/* Reset the default appearence */
11-
-webkit-appearance: none;
12-
width: 550px;
13-
height: 25px;
9+
meter {
10+
-webkit-appearance: none;
11+
width: 550px;
12+
height: 25px;
1413
}
1514

1615
.meter::-webkit-meter-bar,.MultiColor::-webkit-meter-bar {
@@ -19,34 +18,33 @@ meter {
1918
}
2019

2120
.meter::-webkit-meter-optimum-value {
22-
background: #37BFC9;
21+
background: #37BFC9;
2322
}
2423

2524

2625
.MultiColor::-webkit-meter-optimum-value {
27-
/* Reset each sub-category to 20% */
28-
background-image: linear-gradient(
29-
90deg,
30-
#3ee3ef 10%,
31-
#3ad5e0 10%,
32-
#3ad5e0 20%,
33-
#34cdd8 20%,
34-
#34cdd8 30%,
35-
#36c6d1 30%,
36-
#36c6d1 40%,
37-
#30bfc9 40%,
38-
#30bfc9 50%,
39-
#2ebac1 50%,
40-
#2ebac1 60%,
41-
#2fb8bf 60%,
42-
#2fb8bf 70%,
43-
#2eb3ba 70%,
44-
#2eb3ba 80%,
45-
#30abb2 80%,
46-
#30abb2 90%,
47-
#2ea7ad 90%,
48-
#2ea7ad 100%
26+
background-image: linear-gradient(
27+
90deg,
28+
#3ee3ef 10%,
29+
#3ad5e0 10%,
30+
#3ad5e0 20%,
31+
#34cdd8 20%,
32+
#34cdd8 30%,
33+
#36c6d1 30%,
34+
#36c6d1 40%,
35+
#30bfc9 40%,
36+
#30bfc9 50%,
37+
#2ebac1 50%,
38+
#2ebac1 60%,
39+
#2fb8bf 60%,
40+
#2fb8bf 70%,
41+
#2eb3ba 70%,
42+
#2eb3ba 80%,
43+
#30abb2 80%,
44+
#30abb2 90%,
45+
#2ea7ad 90%,
46+
#2ea7ad 100%
4947
);
5048

51-
background-size: 100% 100%;
49+
background-size: 100% 100%;
5250
}

scss/atoms/typography/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<!DOCTYPE html>
2-
<html>
1+
<!doctype html>
2+
<html lang="en">
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">

0 commit comments

Comments
 (0)