@ttt-productions/theme-core 0.1.23 → 0.1.24

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.
@@ -4,14 +4,19 @@
4
4
  BUTTONS
5
5
  =================== */
6
6
  .btn-destructive {
7
- @apply bg-destructive text-destructive-foreground hover:bg-destructive/90;
7
+ background-color: hsl(var(--destructive));
8
+ color: hsl(var(--destructive-foreground));
9
+ }
10
+ .btn-destructive:hover {
11
+ background-color: hsl(var(--destructive) / 0.9);
8
12
  }
9
13
 
10
14
  /* ===================
11
15
  MESSAGE BUBBLES
12
16
  =================== */
13
17
  .msg-bubble {
14
- @apply p-3 rounded-lg;
18
+ padding: 0.75rem;
19
+ border-radius: 0.5rem;
15
20
  }
16
21
 
17
22
  .msg-bubble--mine {
@@ -19,14 +24,21 @@
19
24
  }
20
25
 
21
26
  .msg-bubble--theirs {
22
- @apply bg-muted;
27
+ background-color: hsl(var(--muted));
23
28
  }
24
29
 
25
30
  /* ===================
26
31
  STATUS PILLS
27
32
  =================== */
28
33
  .status-pill {
29
- @apply text-xs-bold px-2 py-0.5 rounded-full;
34
+ font-size: 0.75rem;
35
+ line-height: 1rem;
36
+ font-weight: 700;
37
+ padding-left: 0.5rem;
38
+ padding-right: 0.5rem;
39
+ padding-top: 0.125rem;
40
+ padding-bottom: 0.125rem;
41
+ border-radius: 9999px;
30
42
  }
31
43
 
32
44
  /* map to semantic tokens (no blue/yellow/green hardcodes) */
@@ -46,18 +58,21 @@
46
58
  }
47
59
 
48
60
  .status-pill--closed {
49
- @apply bg-muted text-muted-foreground;
61
+ background-color: hsl(var(--muted));
62
+ color: hsl(var(--muted-foreground));
50
63
  }
51
64
 
52
65
  .status-pill--default {
53
- @apply bg-muted text-muted-foreground;
66
+ background-color: hsl(var(--muted));
67
+ color: hsl(var(--muted-foreground));
54
68
  }
55
69
 
56
70
  /* ===================
57
71
  STATUS ICONS
58
72
  =================== */
59
73
  .status-icon {
60
- @apply h-5 w-5;
74
+ height: 1.25rem;
75
+ width: 1.25rem;
61
76
  }
62
77
 
63
78
  .status-icon--success { color: hsl(var(--success)); }
@@ -69,7 +84,12 @@
69
84
  NOTIFICATIONS
70
85
  =================== */
71
86
  .notify-dot {
72
- @apply absolute top-1 right-1 h-2 w-2 rounded-full;
87
+ position: absolute;
88
+ top: 0.25rem;
89
+ right: 0.25rem;
90
+ height: 0.5rem;
91
+ width: 0.5rem;
92
+ border-radius: 9999px;
73
93
  background-color: hsl(var(--destructive));
74
94
  }
75
95
 
@@ -81,13 +101,20 @@
81
101
  MEDIA PREVIEW
82
102
  =================== */
83
103
  .media-preview {
84
- @apply relative w-full h-full;
104
+ position: relative;
105
+ width: 100%;
106
+ height: 100%;
85
107
  }
86
108
 
87
109
  .media-preview--frame {
88
- @apply w-full h-auto max-w-sm mx-auto;
110
+ width: 100%;
111
+ height: auto;
112
+ max-width: 24rem;
113
+ margin-left: auto;
114
+ margin-right: auto;
89
115
  }
90
116
 
91
117
  .media-preview--fullwidth {
92
- @apply w-full h-auto;
118
+ width: 100%;
119
+ height: auto;
93
120
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/theme-core",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "Theme provider + CSS token contract for TTT Productions apps",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",