@rmdes/indiekit-frontend 1.0.0-beta.38 → 1.0.0-beta.39

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.
@@ -29,16 +29,6 @@ checkboxes-field {
29
29
  position: absolute;
30
30
  z-index: 1;
31
31
 
32
- &:checked {
33
- background: var(--color-background)
34
- url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.5 13 2 8.5 3.5 7l3 3 6-6L14 5.5z"/></svg>')
35
- center center / 100% auto no-repeat;
36
-
37
- @media (prefers-color-scheme: dark) {
38
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="white" d="M6.5 13 2 8.5 3.5 7l3 3 6-6L14 5.5z"/></svg>');
39
- }
40
- }
41
-
42
32
  &:focus-visible {
43
33
  border-color: var(--color-on-background);
44
34
  border-width: var(--input-border-width-focus);
@@ -55,6 +45,20 @@ checkboxes-field {
55
45
  cursor: default;
56
46
  }
57
47
  }
48
+
49
+ &:checked {
50
+ background: var(--color-background)
51
+ url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.5 13 2 8.5 3.5 7l3 3 6-6L14 5.5z"/></svg>')
52
+ center center / 100% auto no-repeat;
53
+
54
+ [data-color-scheme="dark"] & {
55
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="white" d="M6.5 13 2 8.5 3.5 7l3 3 6-6L14 5.5z"/></svg>');
56
+ }
57
+
58
+ @media (prefers-color-scheme: dark) {
59
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="white" d="M6.5 13 2 8.5 3.5 7l3 3 6-6L14 5.5z"/></svg>');
60
+ }
61
+ }
58
62
  }
59
63
 
60
64
  .checkboxes__label.label {
@@ -76,11 +76,11 @@
76
76
  }
77
77
 
78
78
  .input--width-10 {
79
- max-inline-size: 19ch;
79
+ max-inline-size: 24ch;
80
80
  }
81
81
 
82
82
  .input--width-5 {
83
- max-inline-size: 11ch;
83
+ max-inline-size: 12ch;
84
84
  }
85
85
 
86
86
  .input--width-2 {
@@ -37,16 +37,6 @@ radios-field {
37
37
  position: absolute;
38
38
  z-index: 1;
39
39
 
40
- &:checked {
41
- background: var(--color-background)
42
- url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4"/></svg>')
43
- center center / 100% auto no-repeat;
44
-
45
- @media (prefers-color-scheme: dark) {
46
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle fill="white" cx="8" cy="8" r="4"/></svg>');
47
- }
48
- }
49
-
50
40
  &:focus-visible {
51
41
  border-color: var(--color-on-background);
52
42
  border-width: var(--input-border-width-focus);
@@ -63,6 +53,14 @@ radios-field {
63
53
  cursor: default;
64
54
  }
65
55
  }
56
+
57
+ &:checked {
58
+ background: radial-gradient(
59
+ currentColor 0%,
60
+ currentColor 40%,
61
+ transparent 40%
62
+ );
63
+ }
66
64
  }
67
65
 
68
66
  .radios__label.label {
@@ -27,6 +27,10 @@
27
27
  );
28
28
  }
29
29
 
30
+ [data-color-scheme="dark"] & {
31
+ background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="white" d="M0 8h32L16 24z"/></svg%3E');
32
+ }
33
+
30
34
  @media (prefers-color-scheme: dark) {
31
35
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="white" d="M0 8h32L16 24z"/></svg%3E');
32
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-frontend",
3
- "version": "1.0.0-beta.38",
3
+ "version": "1.0.0-beta.39",
4
4
  "description": "Frontend components for Indiekit (fork with floating toolbar)",
5
5
  "keywords": [
6
6
  "express",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@accessible-components/tag-input": "^0.2.0",
44
- "@indiekit/error": "^1.0.0-beta.25",
44
+ "@indiekit/error": "^1.0.0-beta.27",
45
45
  "@indiekit/util": "^1.0.0-beta.25",
46
46
  "color": "^5.0.0",
47
47
  "easymde": "^2.18.0",
@@ -93,6 +93,13 @@
93
93
  );
94
94
  }
95
95
 
96
+ .CodeMirror-cursor {
97
+ background-color: currentColor;
98
+ border-color: currentColor;
99
+ border-radius: 2px;
100
+ inline-size: 2px;
101
+ }
102
+
96
103
  .CodeMirror-selected {
97
104
  background: var(--color-selection);
98
105
  }