@marigold/theme-rui 0.0.2

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/dist/theme.css ADDED
@@ -0,0 +1,55 @@
1
+ /*
2
+ TODO: how to do normalization so we doesn't break everything?
3
+ TODO: omit "background" in the naming convention? (https://ui.shadcn.com/docs/theming#convention)
4
+ TODO: create component styles files and compile to CSS classes?
5
+ */
6
+
7
+ /*
8
+ - create tokens if we think:
9
+ - it is necessary for a component
10
+ - it can be used by other teams (if they build their own component)
11
+ */
12
+
13
+ /*
14
+ think about leaving `-background` for token values, because e.g. border-destructive, or
15
+ text-destructive like used in inputs
16
+ */
17
+
18
+ @theme {
19
+ /* orange (use for accent) */
20
+ --color-orange-50: #fff9ed;
21
+ --color-orange-100: #fff1d5;
22
+ --color-orange-200: #fedfaa;
23
+ --color-orange-300: #fdc774;
24
+ --color-orange-400: #fba43c;
25
+ --color-orange-500: #f98e22;
26
+ --color-orange-600: #ea6d0c;
27
+ --color-orange-700: #c2520c;
28
+ --color-orange-800: #9a4112;
29
+ --color-orange-900: #7c3712;
30
+ --color-orange-950: #431a07;
31
+
32
+ --font-sans: 'Inter', system-ui, sans-serif;
33
+
34
+ --color-background: var(--color-white);
35
+ --color-foreground: var(--color-stone-950);
36
+
37
+ /* stone (use for brand) */
38
+ --color-brand: var(--color-stone-950);
39
+ --color-brand-foreground: var(--color-stone-50);
40
+
41
+ --color-destructive: var(--color-red-600);
42
+ --color-destructive-foreground: var(--color-white);
43
+
44
+ --color-muted: var(--color-stone-100);
45
+ --color-muted-foreground: var(--color-stone-500);
46
+
47
+ --color-placeholder: --alpha(var(--color-stone-500) / 70%);
48
+
49
+ /* Input tokens */
50
+ --color-input-border: var(--color-stone-300);
51
+ --color-input-ring: var(--color-stone-400);
52
+
53
+ /* component height */
54
+ --spacing-component: 2.25rem;
55
+ }
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@marigold/theme-rui",
3
+ "version": "0.0.2",
4
+ "description": "Marigold RUI Theme",
5
+ "license": "MIT",
6
+ "keywords": [
7
+ "marigold",
8
+ "RUI",
9
+ "theme",
10
+ "styles"
11
+ ],
12
+ "main": "./dist/index.js",
13
+ "module": "./dist/index.mjs",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "require": "./dist/index.js",
18
+ "import": "./dist/index.mjs"
19
+ },
20
+ "./*": {
21
+ "require": "./dist/*.js",
22
+ "import": "./dist/*.mjs"
23
+ },
24
+ "./styles.css": "./dist/styles.css"
25
+ },
26
+ "typesVersions": {
27
+ "*": {
28
+ "*": [
29
+ "./dist/*"
30
+ ]
31
+ }
32
+ },
33
+ "sideEffects": false,
34
+ "files": [
35
+ "dist"
36
+ ],
37
+ "repository": {
38
+ "type": "git",
39
+ "url": "https://github.com/marigold-ui/marigold",
40
+ "directory": "themes/theme-rui"
41
+ },
42
+ "devDependencies": {
43
+ "@tailwindcss/postcss": "4.0.0",
44
+ "cssnano": "7.0.6",
45
+ "postcss-cli": "11.0.0",
46
+ "tailwindcss": "4.0.0",
47
+ "tsup": "8.3.5",
48
+ "@marigold/tsconfig": "0.4.0"
49
+ },
50
+ "dependencies": {
51
+ "@marigold/components": "11.0.0",
52
+ "@marigold/system": "11.0.0"
53
+ },
54
+ "scripts": {
55
+ "build": "NODE_ENV=production tsup && postcss -o dist/styles.css src/styles.css && cp src/theme.css dist/theme.css"
56
+ }
57
+ }