lutra 0.1.53 → 0.1.55

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.
@@ -232,8 +232,8 @@
232
232
  * Checkbox and Radio
233
233
  */
234
234
 
235
- @property --checkbox-size { syntax: "<length>"; inherits: true; initial-value: 1.125em; }
236
- @property --checkbox-border-radius { syntax: "<length>"; inherits: true; initial-value: 0.25em; }
235
+ @property --checkbox-size { syntax: "<length>"; inherits: true; initial-value: 18px; }
236
+ @property --checkbox-border-radius { syntax: "<length>"; inherits: true; initial-value: 4px; }
237
237
  @property --checkbox-background { syntax: "<color>"; inherits: true; initial-value: #ffffff; }
238
238
  @property --checkbox-background-checked { syntax: "<color>"; inherits: true; initial-value: #2563eb; }
239
239
  @property --checkbox-border-color { syntax: "*"; inherits: true; initial-value: #d1d5db; }
@@ -200,7 +200,7 @@ input[type="checkbox"]:checked::after {
200
200
  position: absolute;
201
201
  inset: 0;
202
202
  background: var(--checkbox-indicator-color);
203
- mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 80% no-repeat;
203
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l6 6L20 6'/%3E%3C/svg%3E") center / 70% no-repeat;
204
204
  }
205
205
 
206
206
  input[type="radio"]:checked::after {
@@ -174,10 +174,10 @@
174
174
  * Checkbox and Radio
175
175
  */
176
176
 
177
- --checkbox-background: var(--field-background);
178
- --checkbox-background-checked: var(--lutra-primary-color);
177
+ --checkbox-background: var(--background-body);
178
+ --checkbox-background-checked: var(--button-submit-base-color);
179
179
  --checkbox-border-color: var(--border-color);
180
- --checkbox-border-color-checked: var(--lutra-primary-color);
180
+ --checkbox-border-color-checked: var(--button-submit-base-color);
181
181
  --checkbox-indicator-color: light-dark(#ffffff, #ffffff);
182
182
 
183
183
  --field-label-color: var(--text-color-p);
@@ -405,12 +405,6 @@
405
405
  input[type="range"] {
406
406
  display: block;
407
407
  }
408
- /**
409
- * Checkbox and radio
410
- */
411
- input[type="checkbox"] {
412
- border-radius: 6px;
413
- }
414
408
  .Range {
415
409
  display: flex;
416
410
  gap: 0.5em;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lutra",
3
- "version": "0.1.53",
3
+ "version": "0.1.55",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "bump-and-publish:patch": "pnpm version:patch && pnpm build && npm publish",