@okaapp/oka-ui-sv 0.4.1 → 0.4.2
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/README.md
CHANGED
|
@@ -55,6 +55,7 @@ OKA UI comes with several built-in themes:
|
|
|
55
55
|
- Light themes:
|
|
56
56
|
- `default-light`
|
|
57
57
|
- `neutral-light`
|
|
58
|
+
- `nord-light`
|
|
58
59
|
|
|
59
60
|
- Dark themes:
|
|
60
61
|
- `default-dark`
|
|
@@ -70,7 +71,7 @@ OKA UI comes with several built-in themes:
|
|
|
70
71
|
|
|
71
72
|
## Components
|
|
72
73
|
|
|
73
|
-
### Core Components as of 0.
|
|
74
|
+
### Core Components as of 0.4.2
|
|
74
75
|
|
|
75
76
|
- Avatar
|
|
76
77
|
- Badge
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
|
|
20
20
|
const sizes = {
|
|
21
21
|
lg: "height: 48px; padding: 12px; font-size: 16px;",
|
|
22
|
-
md: "height: 40px; padding: 8px; font-size:
|
|
23
|
-
sm: "height: 36px; padding: 6px; font-size:
|
|
22
|
+
md: "height: 40px; padding: 8px; font-size: 14px;",
|
|
23
|
+
sm: "height: 36px; padding: 6px 8px; font-size: 12px;",
|
|
24
24
|
};
|
|
25
25
|
</script>
|
|
26
26
|
|
|
@@ -10,12 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
.checkbox[data-state="checked"],
|
|
12
12
|
.checkbox[data-state="indeterminate"] {
|
|
13
|
-
background-color: var(--content
|
|
13
|
+
background-color: var(--accent-primary-content);
|
|
14
14
|
border-color: transparent;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
.checkbox[data-disabled] {
|
|
18
|
+
opacity: 0.5;
|
|
19
|
+
cursor: not-allowed;
|
|
20
|
+
}
|
|
21
|
+
|
|
17
22
|
.checkbox__icon {
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
flex-shrink: 0;
|
|
24
|
+
width: 16px;
|
|
25
|
+
height: 16px;
|
|
20
26
|
color: var(--content-inversed);
|
|
21
27
|
}
|