@gilav21/shadcn-angular-rte 0.1.2 → 0.2.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.
package/theme.css DELETED
@@ -1,159 +0,0 @@
1
- @custom-variant dark (&:is(.dark *));
2
-
3
- :root {
4
- --radius: 0.625rem;
5
- --background: oklch(1 0 0);
6
- --foreground: oklch(0.145 0 0);
7
- --card: oklch(1 0 0);
8
- --card-foreground: oklch(0.145 0 0);
9
- --popover: oklch(1 0 0);
10
- --popover-foreground: oklch(0.145 0 0);
11
- --secondary: oklch(0.97 0 0);
12
- --secondary-foreground: oklch(0.205 0 0);
13
- --muted: oklch(0.97 0 0);
14
- --muted-foreground: oklch(0.556 0 0);
15
- --accent: oklch(0.922 0 0);
16
- --accent-foreground: oklch(0.205 0 0);
17
- --destructive: oklch(0.577 0.245 27.325);
18
- --border: oklch(0.922 0 0);
19
- --input: oklch(0.922 0 0);
20
- --primary: oklch(0.205 0 0);
21
- --primary-foreground: oklch(0.985 0 0);
22
- --ring: oklch(0.708 0 0);
23
- --chart-1: oklch(0.646 0.222 41.116);
24
- --chart-2: oklch(0.6 0.118 184.704);
25
- --chart-3: oklch(0.398 0.07 227.392);
26
- --chart-4: oklch(0.828 0.189 84.429);
27
- --chart-5: oklch(0.769 0.188 70.08);
28
- --sidebar: oklch(0.985 0 0);
29
- --sidebar-foreground: oklch(0.145 0 0);
30
- --sidebar-primary: oklch(0.205 0 0);
31
- --sidebar-primary-foreground: oklch(0.985 0 0);
32
- --sidebar-accent: oklch(0.97 0 0);
33
- --sidebar-accent-foreground: oklch(0.205 0 0);
34
- --sidebar-border: oklch(0.922 0 0);
35
- --sidebar-ring: oklch(0.708 0 0);
36
- }
37
-
38
- .dark {
39
- --background: oklch(0.145 0 0);
40
- --foreground: oklch(0.985 0 0);
41
- --card: oklch(0.205 0 0);
42
- --card-foreground: oklch(0.985 0 0);
43
- --popover: oklch(0.269 0 0);
44
- --popover-foreground: oklch(0.985 0 0);
45
- --secondary: oklch(0.269 0 0);
46
- --secondary-foreground: oklch(0.985 0 0);
47
- --muted: oklch(0.269 0 0);
48
- --muted-foreground: oklch(0.708 0 0);
49
- --accent: oklch(0.371 0 0);
50
- --accent-foreground: oklch(0.985 0 0);
51
- --destructive: oklch(0.704 0.191 22.216);
52
- --border: oklch(1 0 0 / 10%);
53
- --input: oklch(1 0 0 / 15%);
54
- --primary: oklch(0.985 0 0);
55
- --primary-foreground: oklch(0.205 0 0);
56
- --ring: oklch(0.708 0 0);
57
- --chart-1: oklch(0.488 0.243 264.376);
58
- --chart-2: oklch(0.696 0.17 162.48);
59
- --chart-3: oklch(0.769 0.188 70.08);
60
- --chart-4: oklch(0.627 0.265 303.9);
61
- --chart-5: oklch(0.645 0.246 16.439);
62
- --sidebar: oklch(0.205 0 0);
63
- --sidebar-foreground: oklch(0.985 0 0);
64
- --sidebar-primary: oklch(0.488 0.243 264.376);
65
- --sidebar-primary-foreground: oklch(0.985 0 0);
66
- --sidebar-accent: oklch(0.269 0 0);
67
- --sidebar-accent-foreground: oklch(0.985 0 0);
68
- --sidebar-border: oklch(1 0 0 / 10%);
69
- --sidebar-ring: oklch(0.439 0 0);
70
- }
71
-
72
- @theme inline {
73
- --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
74
- --color-background: var(--background);
75
- --color-foreground: var(--foreground);
76
- --color-card: var(--card);
77
- --color-card-foreground: var(--card-foreground);
78
- --color-popover: var(--popover);
79
- --color-popover-foreground: var(--popover-foreground);
80
- --color-primary: var(--primary);
81
- --color-primary-foreground: var(--primary-foreground);
82
- --color-secondary: var(--secondary);
83
- --color-secondary-foreground: var(--secondary-foreground);
84
- --color-muted: var(--muted);
85
- --color-muted-foreground: var(--muted-foreground);
86
- --color-accent: var(--accent);
87
- --color-accent-foreground: var(--accent-foreground);
88
- --color-destructive: var(--destructive);
89
- --color-border: var(--border);
90
- --color-input: var(--input);
91
- --color-ring: var(--ring);
92
- --color-chart-1: var(--chart-1);
93
- --color-chart-2: var(--chart-2);
94
- --color-chart-3: var(--chart-3);
95
- --color-chart-4: var(--chart-4);
96
- --color-chart-5: var(--chart-5);
97
- --color-sidebar: var(--sidebar);
98
- --color-sidebar-foreground: var(--sidebar-foreground);
99
- --color-sidebar-primary: var(--sidebar-primary);
100
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
101
- --color-sidebar-accent: var(--sidebar-accent);
102
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
103
- --color-sidebar-border: var(--sidebar-border);
104
- --color-sidebar-ring: var(--sidebar-ring);
105
- --radius-sm: calc(var(--radius) - 4px);
106
- --radius-md: calc(var(--radius) - 2px);
107
- --radius-lg: var(--radius);
108
- --radius-xl: calc(var(--radius) + 4px);
109
- --radius-2xl: calc(var(--radius) + 8px);
110
- --radius-3xl: calc(var(--radius) + 12px);
111
- --radius-4xl: calc(var(--radius) + 16px);
112
- }
113
-
114
- @layer base {
115
- * {
116
- border-color: var(--border);
117
- outline-color: color-mix(in oklch, var(--ring) 50%, transparent);
118
- }
119
- body {
120
- font-family: var(--font-sans);
121
- background-color: var(--background);
122
- color: var(--foreground);
123
- }
124
- html {
125
- font-family: var(--font-sans);
126
- font-size: 16px;
127
- }
128
- button:not(:disabled),
129
- [role="button"]:not(:disabled) {
130
- cursor: pointer;
131
- }
132
-
133
- /* Prevent media elements from causing horizontal overflow */
134
- img, video, canvas {
135
- max-width: 100%;
136
- height: auto;
137
- }
138
-
139
- /* Minimum touch target size (WCAG 2.5.8) */
140
- @media (pointer: coarse) {
141
- button:not([data-slot]),
142
- [role="button"]:not([data-slot]),
143
- input,
144
- select,
145
- textarea {
146
- min-height: 44px;
147
- }
148
- }
149
-
150
- /* Show hover-dependent controls on touch devices */
151
- @media (hover: none) {
152
- .hover-only {
153
- display: none;
154
- }
155
- .touch-visible {
156
- opacity: 1 !important;
157
- }
158
- }
159
- }