claritas-web-framework 8.6.2 → 8.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.html +1 -1
- package/index.html +4 -0
- package/package.json +2 -2
- package/sass/_functions.scss +1 -1
- package/sass/modules/_nav.scss +1 -0
- package/sass/modules/_table.scss +2 -2
- package/sass/modules/_tabs.scss +1 -0
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Claritas Web Framework</title><script defer="defer" src="index.js"></script><link href="./index.css" rel="stylesheet"></head><body><div class="container">hello <button type="button" class="button button--primary">Hello</button> <button type="button" class="button button--primary button--outline">Hello</button> <button type="button" class="button button--primary button--outline" disabled="disabled">Hello</button> <button type="button" class="button button--danger" disabled="disabled">Hello</button><div class="alert alert--primary">Hello <a href="/">Click me</a></div></div></body></html>
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Claritas Web Framework</title><script defer="defer" src="index.js"></script><link href="./index.css" rel="stylesheet"></head><body><div class="container">hello <button type="button" class="button button--primary">Hello</button> <button type="button" class="button button--primary button--outline">Hello</button> <button type="button" class="button button--primary button--outline" disabled="disabled">Hello</button> <button type="button" class="button button--danger" disabled="disabled">Hello</button><div class="alert alert--primary">Hello <a href="/">Click me</a></div><hr/><div class="tags"><span class="tag tag--light">This is a tag</span></div></div></body></html>
|
package/index.html
CHANGED
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
<button type="button" class="button button--primary button--outline" disabled>Hello</button>
|
|
16
16
|
<button type="button" class="button button--danger" disabled>Hello</button>
|
|
17
17
|
<div class="alert alert--primary">Hello <a href="/">Click me</a></div>
|
|
18
|
+
<hr />
|
|
19
|
+
<div class="tags">
|
|
20
|
+
<span class="tag tag--light">This is a tag</span>
|
|
21
|
+
</div>
|
|
18
22
|
</div>
|
|
19
23
|
</body>
|
|
20
24
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claritas-web-framework",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.4",
|
|
4
4
|
"description": "The CSS framework built for Claritas front end.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"modern-normalize": "^3.0.1",
|
|
30
|
-
"sass": "^1.97.
|
|
30
|
+
"sass": "^1.97.1"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/sass/_functions.scss
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
$color-sum: math.max(color.channel($value, "lightness", $space: hsl), 0%);
|
|
49
49
|
|
|
50
50
|
@if $color-sum > $threshold {
|
|
51
|
-
@return hsl(from var(--
|
|
51
|
+
@return hsl(from var(--body-color) h s l / $opacity);
|
|
52
52
|
} @else {
|
|
53
53
|
@return hsl(from var(--white) h s l / $opacity);
|
|
54
54
|
}
|
package/sass/modules/_nav.scss
CHANGED
package/sass/modules/_table.scss
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
& tbody {
|
|
73
73
|
& tr {
|
|
74
74
|
&:nth-of-type(even) {
|
|
75
|
-
background-color: hsl(from var(--
|
|
75
|
+
background-color: hsl(from var(--body-color) h s l / #{$table-striped-background-opacity});
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&:nth-of-type(odd) {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
& tr {
|
|
88
88
|
&:hover {
|
|
89
89
|
& > * {
|
|
90
|
-
background-color: hsl(from var(--
|
|
90
|
+
background-color: hsl(from var(--body-color) h s l / #{$table-striped-background-opacity});
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
}
|