@magnidev/theme 0.2.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ ## @magnidev/theme@0.1.0
4
+ ### Changes
5
+ - feat(@magnidev/theme): Added Tailwind CSS theme (3ed0c599f852c866f16122d97b508237caf98b15)
6
+
7
+
8
+ ## @magnidev/theme@0.2.0
9
+ ### Changes
10
+ - chore(release): bump @magnidev/theme@0.1.0 (c56d3b667e955964c1c8b1ca060dfd16d371e5c9)
11
+
12
+
13
+ ## @magnidev/theme@0.2.1
14
+ ### Changes
15
+ - feat(@magnidev/theme): add initial theme configuration with empty color palette (9dd8a1cb2fd5a50ab539ee63fa130c74de29467e)
16
+ - feat: initialize @magnidev/theme package with README, LICENSE, CHANGELOG, and TypeScript configuration (cd62c082aaac059975277b0a4c032e62902f94cc)
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Magni Developer
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # @magnidev/theme
2
+
3
+ ## Description
4
+
5
+ This package provides a theme for Tailwind CSS, designed to be used with the Magni Development apps.
6
+
7
+ ## Installation
8
+
9
+ To install the package, run:
10
+
11
+ ```bash
12
+ npm install @magnidev/theme
13
+ pnpm add @magnidev/theme
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ After installation, you can import the theme in your JavaScript or TypeScript files:
19
+
20
+ ```tsx
21
+ import "@magnidev/theme/tailwind.css";
22
+ ```
23
+
24
+ ## License
25
+
26
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,3 @@
1
+ export declare const theme: {
2
+ colors: {};
3
+ };
package/dist/index.js ADDED
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.theme = void 0;
4
+ exports.theme = {
5
+ colors: {},
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAa,QAAA,KAAK,GAAG;IACnB,MAAM,EAAE,EAAE;CACX,CAAC"}
@@ -0,0 +1,133 @@
1
+ @import "tailwindcss";
2
+ @import "tw-animate-css";
3
+
4
+ @theme inline {
5
+ --color-background: var(--background);
6
+ --color-foreground: var(--foreground);
7
+ --color-sidebar-ring: var(--sidebar-ring);
8
+ --color-sidebar-border: var(--sidebar-border);
9
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
10
+ --color-sidebar-accent: var(--sidebar-accent);
11
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
12
+ --color-sidebar-primary: var(--sidebar-primary);
13
+ --color-sidebar-foreground: var(--sidebar-foreground);
14
+ --color-sidebar: var(--sidebar);
15
+ --color-chart-5: var(--chart-5);
16
+ --color-chart-4: var(--chart-4);
17
+ --color-chart-3: var(--chart-3);
18
+ --color-chart-2: var(--chart-2);
19
+ --color-chart-1: var(--chart-1);
20
+ --color-ring: var(--ring);
21
+ --color-input: var(--input);
22
+ --color-border: var(--border);
23
+ --color-destructive: var(--destructive);
24
+ --color-accent-foreground: var(--accent-foreground);
25
+ --color-accent: var(--accent);
26
+ --color-muted-foreground: var(--muted-foreground);
27
+ --color-muted: var(--muted);
28
+ --color-secondary-foreground: var(--secondary-foreground);
29
+ --color-secondary: var(--secondary);
30
+ --color-primary-foreground: var(--primary-foreground);
31
+ --color-primary: var(--primary);
32
+ --color-popover-foreground: var(--popover-foreground);
33
+ --color-popover: var(--popover);
34
+ --color-card-foreground: var(--card-foreground);
35
+ --color-card: var(--card);
36
+ --radius-sm: calc(var(--radius) - 4px);
37
+ --radius-md: calc(var(--radius) - 2px);
38
+ --radius-lg: var(--radius);
39
+ --radius-xl: calc(var(--radius) + 4px);
40
+ }
41
+
42
+ :root {
43
+ --radius: 0.625rem;
44
+ --background: oklch(1 0 0);
45
+ --foreground: oklch(0.145 0 0);
46
+ --card: oklch(1 0 0);
47
+ --card-foreground: oklch(0.145 0 0);
48
+ --popover: oklch(1 0 0);
49
+ --popover-foreground: oklch(14.5% 0 0 / 90%);
50
+ --primary: oklch(0.5 0.1193 242.75);
51
+ --primary-foreground: oklch(1 0 0);
52
+ --secondary: oklch(0.145 0 0);
53
+ --secondary-foreground: oklch(1 0 0);
54
+ --muted: oklch(0.97 0 0);
55
+ --muted-foreground: oklch(0.556 0 0);
56
+ --accent: oklch(0.97 0 0);
57
+ --accent-foreground: oklch(0.205 0 0);
58
+ --destructive: oklch(0.45 0.1829 25.66 / 75%);
59
+ --border: oklch(87% 0 0);
60
+ --input: oklch(0.922 0 0);
61
+ --ring: oklch(0.5 0.1193 242.75);
62
+ --chart-1: oklch(0.646 0.222 41.116);
63
+ --chart-2: oklch(0.6 0.118 184.704);
64
+ --chart-3: oklch(0.398 0.07 227.392);
65
+ --chart-4: oklch(0.828 0.189 84.429);
66
+ --chart-5: oklch(0.769 0.188 70.08);
67
+ --sidebar: oklch(0.985 0 0);
68
+ --sidebar-foreground: oklch(0.145 0 0);
69
+ --sidebar-primary: oklch(0.205 0 0);
70
+ --sidebar-primary-foreground: oklch(1 0 0);
71
+ --sidebar-accent: oklch(0.97 0 0);
72
+ --sidebar-accent-foreground: oklch(0.205 0 0);
73
+ --sidebar-border: oklch(0.922 0 0);
74
+ --sidebar-ring: oklch(0.708 0 0);
75
+ }
76
+
77
+ .dark {
78
+ --background: oklch(0.145 0 0);
79
+ --foreground: oklch(1 0 0);
80
+ --card: oklch(16.5% 0 0 / 90%);
81
+ --card-foreground: oklch(1 0 0);
82
+ --popover: oklch(14.5% 0 0 / 90%);
83
+ --popover-foreground: oklch(1 0 0);
84
+ --primary: oklch(0.5 0.1193 242.75 / 50%);
85
+ --primary-foreground: oklch(1 0 0);
86
+ --secondary: oklch(1 0 0);
87
+ --secondary-foreground: oklch(0.145 0 0);
88
+ --muted: oklch(0.269 0 0);
89
+ --muted-foreground: oklch(0.708 0 0);
90
+ --accent: oklch(0.269 0 0);
91
+ --accent-foreground: oklch(1 0 0);
92
+ --destructive: oklch(0.45 0.1829 25.66 / 75%);
93
+ --border: oklch(26.9% 0 0);
94
+ --input: oklch(1 0 0 / 15%);
95
+ --ring: oklch(0.5 0.1193 242.75 / 50%);
96
+ --chart-1: oklch(0.488 0.243 264.376);
97
+ --chart-2: oklch(0.696 0.17 162.48);
98
+ --chart-3: oklch(0.769 0.188 70.08);
99
+ --chart-4: oklch(0.627 0.265 303.9);
100
+ --chart-5: oklch(0.645 0.246 16.439);
101
+ --sidebar: oklch(0.205 0 0);
102
+ --sidebar-foreground: oklch(1 0 0);
103
+ --sidebar-primary: oklch(0.488 0.243 264.376);
104
+ --sidebar-primary-foreground: oklch(1 0 0);
105
+ --sidebar-accent: oklch(0.269 0 0);
106
+ --sidebar-accent-foreground: oklch(1 0 0);
107
+ --sidebar-border: oklch(1 0 0 / 10%);
108
+ --sidebar-ring: oklch(0.556 0 0);
109
+ }
110
+
111
+ @layer base {
112
+ * {
113
+ @apply border-border outline-ring/50;
114
+ }
115
+ *::selection {
116
+ @apply bg-primary text-primary-foreground;
117
+ }
118
+ *::-webkit-scrollbar {
119
+ @apply w-[5px] h-[5px];
120
+ }
121
+ *::-webkit-scrollbar-track {
122
+ @apply bg-transparent rounded-full;
123
+ }
124
+ *::-webkit-scrollbar-thumb {
125
+ @apply bg-muted rounded-full;
126
+ }
127
+ *::-webkit-scrollbar-thumb:hover {
128
+ @apply bg-primary;
129
+ }
130
+ body {
131
+ @apply bg-background text-foreground;
132
+ }
133
+ }
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "@magnidev/theme",
3
+ "version": "0.2.1",
4
+ "license": "ISC",
5
+ "description": "Theme for Magni Development.",
6
+ "publisher": "fermeridamagni <Magni Developer>",
7
+ "author": {
8
+ "name": "fermeridamagni <Magni Developer>",
9
+ "url": "https://www.magnideveloper.com"
10
+ },
11
+ "repository": {
12
+ "url": "git+https://github.com/fermeridamagni/magnidev-priv.git",
13
+ "type": "git",
14
+ "directory": "packages/theme"
15
+ },
16
+ "keywords": [],
17
+ "bugs": {
18
+ "url": "https://github.com/fermeridamagni/magnidev/issues"
19
+ },
20
+ "homepage": "https://github.com/fermeridamagni/magnidev/tree/main/packages/theme#readme",
21
+ "types": "",
22
+ "exports": {
23
+ ".": "./dist/index.js",
24
+ "./tailwind.css": "./dist/styles.css"
25
+ },
26
+ "main": "dist/index.js",
27
+ "files": [
28
+ "dist",
29
+ "README.md",
30
+ "LICENSE",
31
+ "CHANGELOG.md",
32
+ "package.json"
33
+ ],
34
+ "publishConfig": {
35
+ "access": "public",
36
+ "registry": "https://registry.npmjs.org/"
37
+ },
38
+ "dependencies": {
39
+ "tailwindcss": "^4.1.6",
40
+ "tw-animate-css": "^1.2.9"
41
+ },
42
+ "devDependencies": {
43
+ "typescript": "5.8.3"
44
+ },
45
+ "scripts": {
46
+ "build": "tsc -p tsconfig.json"
47
+ }
48
+ }