@ttoss/theme 1.4.31 → 1.4.32

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.
@@ -555,19 +555,22 @@ var BruttalTheme = {
555
555
  forms: {
556
556
  label: {
557
557
  color: "text",
558
- fontFamily: "body",
558
+ fontFamily: "caption",
559
559
  alignItems: "center",
560
- fontSize: "base",
560
+ fontSize: "sm",
561
561
  '&:is([aria-disabled="true"])': {
562
562
  color: "onMuted"
563
563
  },
564
564
  '& > span[aria-label="tooltip"]': {
565
- fontSize: "xs",
565
+ fontSize: "sm",
566
566
  marginLeft: "2xs"
567
567
  },
568
568
  '&:has(input[type="checkbox"]:disabled)': {
569
569
  color: "onMuted"
570
570
  },
571
+ "&:has(+div>:is(input, select, textarea))": {
572
+ marginBottom: "md"
573
+ },
571
574
  '&:has(div > input[type="radio"])': {
572
575
  alignItems: "center"
573
576
  },
package/dist/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { BruttalTheme } from "./chunk-7HGXJKZ3.js";
2
+ import { BruttalTheme } from "./chunk-NGT4BFCW.js";
3
3
 
4
4
  // src/createTheme.ts
5
5
  import deepmerge from "deepmerge";
@@ -1,3 +1,3 @@
1
1
  /** Powered by @ttoss/config. https://ttoss.dev/docs/modules/packages/config/ */
2
- import { BruttalFonts, BruttalTheme } from "../../chunk-7HGXJKZ3.js";
2
+ import { BruttalFonts, BruttalTheme } from "../../chunk-NGT4BFCW.js";
3
3
  export { BruttalFonts, BruttalTheme };
package/dist/index.js CHANGED
@@ -570,19 +570,22 @@ var BruttalTheme = {
570
570
  forms: {
571
571
  label: {
572
572
  color: "text",
573
- fontFamily: "body",
573
+ fontFamily: "caption",
574
574
  alignItems: "center",
575
- fontSize: "base",
575
+ fontSize: "sm",
576
576
  '&:is([aria-disabled="true"])': {
577
577
  color: "onMuted"
578
578
  },
579
579
  '& > span[aria-label="tooltip"]': {
580
- fontSize: "xs",
580
+ fontSize: "sm",
581
581
  marginLeft: "2xs"
582
582
  },
583
583
  '&:has(input[type="checkbox"]:disabled)': {
584
584
  color: "onMuted"
585
585
  },
586
+ "&:has(+div>:is(input, select, textarea))": {
587
+ marginBottom: "md"
588
+ },
586
589
  '&:has(div > input[type="radio"])': {
587
590
  alignItems: "center"
588
591
  },
@@ -574,19 +574,22 @@ var BruttalTheme = {
574
574
  forms: {
575
575
  label: {
576
576
  color: "text",
577
- fontFamily: "body",
577
+ fontFamily: "caption",
578
578
  alignItems: "center",
579
- fontSize: "base",
579
+ fontSize: "sm",
580
580
  '&:is([aria-disabled="true"])': {
581
581
  color: "onMuted"
582
582
  },
583
583
  '& > span[aria-label="tooltip"]': {
584
- fontSize: "xs",
584
+ fontSize: "sm",
585
585
  marginLeft: "2xs"
586
586
  },
587
587
  '&:has(input[type="checkbox"]:disabled)': {
588
588
  color: "onMuted"
589
589
  },
590
+ "&:has(+div>:is(input, select, textarea))": {
591
+ marginBottom: "md"
592
+ },
590
593
  '&:has(div > input[type="radio"])': {
591
594
  alignItems: "center"
592
595
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/theme",
3
- "version": "1.4.31",
3
+ "version": "1.4.32",
4
4
  "description": "Theme for packages.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "ttoss",
@@ -333,19 +333,22 @@ export const BruttalTheme: Theme = {
333
333
  forms: {
334
334
  label: {
335
335
  color: 'text',
336
- fontFamily: 'body',
336
+ fontFamily: 'caption',
337
337
  alignItems: 'center',
338
- fontSize: 'base',
338
+ fontSize: 'sm',
339
339
  '&:is([aria-disabled="true"])': {
340
340
  color: 'onMuted',
341
341
  },
342
342
  '& > span[aria-label="tooltip"]': {
343
- fontSize: 'xs',
343
+ fontSize: 'sm',
344
344
  marginLeft: '2xs',
345
345
  },
346
346
  '&:has(input[type="checkbox"]:disabled)': {
347
347
  color: 'onMuted',
348
348
  },
349
+ '&:has(+div>:is(input, select, textarea))': {
350
+ marginBottom: 'md',
351
+ },
349
352
  '&:has(div > input[type="radio"])': {
350
353
  alignItems: 'center',
351
354
  },