@marianmeres/stuic 1.118.0 → 1.119.0

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.
@@ -20,33 +20,38 @@ export class AlertConfirmPromptConfig {
20
20
  w-full sm:max-w-xl
21
21
  mx-auto
22
22
  p-5 sm:p-6
23
- bg-white text-black
24
- dark:bg-black dark:text-white
25
23
  rounded-lg
26
24
  transition-all
27
25
  shadow-xl
28
26
  focus-within:outline-0 focus-within:ring-0
29
- `,
27
+ bg-white
28
+ dark:bg-black
29
+ `,
30
30
  icon: `
31
31
  size-12 sm:size-10
32
32
  mt-1 mb-4 sm:my-0 sm:mr-5
33
33
  mx-auto
34
34
  flex flex-shrink-0 items-center justify-center
35
35
  rounded-full
36
- bg-neutral-100 text-black/50
36
+
37
+ bg-neutral-100 text-black/50
37
38
  dark:bg-neutral-800 dark:text-white/50
38
39
  `,
39
40
  contentBlock: `mt-3 sm:mt-0 sm:flex-1`,
40
41
  title: `
41
42
  text-center sm:text-left
42
43
  text-base font-semibold leading-6
43
- text-black/90 dark:text-white/90
44
+
45
+ text-black/90
46
+ dark:text-white/90
44
47
  `,
45
48
  content: `
46
49
  mt-2 mx-3 sm:mx-0
47
50
  text-center sm:text-left
48
51
  text-sm
49
- text-black/75 dark:text-white/75
52
+
53
+ text-black/75
54
+ dark:text-white/75
50
55
  `,
51
56
  inputBox: `mt-3`,
52
57
  inputField: `m-0`,
@@ -60,7 +65,9 @@ export class AlertConfirmPromptConfig {
60
65
  spinnerBox: `
61
66
  absolute inset-0 flex justify-center items-center
62
67
  rounded-lg
63
- bg-white/75 dark:bg-black/75
68
+
69
+ bg-white/75
70
+ dark:bg-black/75
64
71
  `
65
72
  };
66
73
  // prettier-ignore
@@ -13,9 +13,9 @@ export class ButtonConfig {
13
13
  no-underline
14
14
  border
15
15
 
16
- bg-zinc-200 text-black
17
- dark:bg-zinc-600 dark:text-white
18
- border-zinc-400 dark:border-zinc-500
16
+ bg-neutral-200 text-black
17
+ dark:bg-neutral-600 dark:text-white
18
+ border-neutral-400 dark:border-neutral-500
19
19
  `.trim();
20
20
  static presetSquare = "p-0 aspect-square justify-center";
21
21
  static presetsRounded = {
@@ -22,8 +22,8 @@ const _PRESET = {
22
22
  box: "mb-4 grid",
23
23
  // gap-4
24
24
  wrap: `
25
- rounded-md border border-gray-300 dark:border-gray-600
26
- bg-gray-100 dark:bg-gray-700
25
+ rounded-md border border-neutral-300 dark:border-neutral-600
26
+ bg-neutral-100 dark:bg-neutral-700
27
27
  focus-within:border-stuic-primary
28
28
  focus-within:ring-4
29
29
  focus-within:ring-stuic-primary
@@ -16,8 +16,8 @@ const _PRESET = {
16
16
  label: "block w-full",
17
17
  input: `
18
18
  size-4 rounded
19
- bg-gray-100
20
- border-gray-300
19
+ bg-neutral-100
20
+ border-neutral-300
21
21
  shadow-sm
22
22
  text-stuic-primary
23
23
  cursor-pointer
@@ -20,8 +20,8 @@ const _PRESET = {
20
20
  box: "mb-4 grid",
21
21
  // gap-4
22
22
  wrap: `
23
- rounded-md border border-gray-300 dark:border-gray-600
24
- bg-gray-100 dark:bg-gray-700
23
+ rounded-md border border-neutral-300 dark:border-neutral-600
24
+ bg-neutral-100 dark:bg-neutral-700
25
25
  focus-within:border-stuic-primary
26
26
  focus-within:ring-4
27
27
  focus-within:ring-stuic-primary
@@ -30,7 +30,7 @@ const _PRESET = {
30
30
  label: `block flex-1 px-2 mb-1`,
31
31
  input: `
32
32
  rounded-md border-0 block w-full flex-1
33
- bg-gray-100 dark:bg-gray-700
33
+ bg-neutral-100 dark:bg-neutral-700
34
34
  tracking-tight
35
35
  focus:outline-0 focus-visible:ring-0
36
36
  placeholder:text-black/35 dark:placeholder:text-white/35
@@ -1,7 +1,7 @@
1
1
  <script context="module">import { twMerge } from "tailwind-merge";
2
2
  import Thc from "../Thc/Thc.svelte";
3
3
  const _PRESET = {
4
- box: `border border-gray-200 p-4 pt-3 rounded-md`,
4
+ box: `border border-neutral-200 p-4 pt-3 rounded-md`,
5
5
  legend: `px-2`
6
6
  };
7
7
  export class FieldsetConfig {
@@ -12,8 +12,8 @@ const _PRESET = {
12
12
  label: "block w-full",
13
13
  input: `
14
14
  size-4 rounded-full
15
- bg-gray-100
16
- border-gray-300
15
+ bg-neutral-100
16
+ border-neutral-300
17
17
  shadow-sm
18
18
  text-stuic-primary
19
19
  cursor-pointer
@@ -31,7 +31,7 @@ export class NotificationsConfig {
31
31
  w-full max-w-sm
32
32
  rounded-md
33
33
  shadow-lg
34
- bg-gray-700 text-white
34
+ bg-neutral-700 text-white
35
35
  `,
36
36
  count: `
37
37
  absolute -top-2 -right-2
@@ -44,7 +44,7 @@ export class NotificationsConfig {
44
44
  icon: `
45
45
  flex items-start justify-center
46
46
  pt-4 pr-0 pb-4 pl-4
47
- text-gray-200
47
+ text-neutral-200
48
48
  `,
49
49
  content: `
50
50
  flex-1
@@ -11,7 +11,7 @@ export class SwitchConfig {
11
11
  hover:brightness-[1.05] active:brightness-[0.95]
12
12
  disabled:!cursor-not-allowed disabled:!opacity-50 disabled:hover:brightness-100
13
13
 
14
- bg-gray-400 dark:bg-gray-400
14
+ bg-neutral-400 dark:bg-neutral-400
15
15
  data-[checked=true]:bg-stuic-primary dark:data-[checked=true]:bg-stuic-primary
16
16
  `.trim();
17
17
  static presetsSize = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "1.118.0",
3
+ "version": "1.119.0",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package && node ./scripts/date.js",