create-stylus 0.1.11 → 0.1.14

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.
Files changed (23) hide show
  1. package/package.json +1 -1
  2. package/templates/base/.lintstagedrc.js +2 -2
  3. package/templates/base/package.json +1 -1
  4. package/templates/base/packages/nextjs/components/Header.tsx +1 -2
  5. package/templates/base/packages/nextjs/components/ThemeProvider.tsx +1 -2
  6. package/templates/base/packages/nextjs/components/scaffold-eth/Input/EtherInput.tsx +1 -0
  7. package/templates/base/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/AddressInfoDropdown.tsx +8 -7
  8. package/templates/base/packages/nextjs/components/scaffold-eth/RainbowKitCustomConnectButton/WrongNetworkDropdown.tsx +8 -2
  9. package/templates/base/packages/nextjs/eslint.config.mjs +8 -18
  10. package/templates/base/packages/nextjs/hooks/scaffold-eth/useScaffoldWriteContract.ts +48 -17
  11. package/templates/base/packages/nextjs/next-env.d.ts +1 -1
  12. package/templates/base/packages/nextjs/next.config.js +0 -8
  13. package/templates/base/packages/nextjs/package.json +29 -30
  14. package/templates/base/packages/nextjs/postcss.config.js +1 -2
  15. package/templates/base/packages/nextjs/scaffold.config.ts +10 -0
  16. package/templates/base/packages/nextjs/styles/globals.css +128 -4
  17. package/templates/base/packages/nextjs/tsconfig.json +3 -3
  18. package/templates/base/packages/stylus/scripts/utils/command.ts +38 -0
  19. package/templates/base/readme.md +2 -2
  20. package/templates/base/yarn.lock +6035 -3448
  21. package/templates/base/packages/nextjs/.eslintignore +0 -11
  22. package/templates/base/packages/nextjs/.eslintrc.json +0 -15
  23. package/templates/base/packages/nextjs/tailwind.config.js +0 -102
@@ -1,11 +0,0 @@
1
- # folders
2
- .next
3
- node_modules/
4
- # files
5
- **/*.less
6
- **/*.css
7
- **/*.scss
8
- **/*.json
9
- **/*.png
10
- **/*.svg
11
- **/generated/**/*
@@ -1,15 +0,0 @@
1
- {
2
- "parser": "@typescript-eslint/parser",
3
- "extends": ["next/core-web-vitals", "plugin:prettier/recommended", "plugin:@typescript-eslint/recommended"],
4
- "rules": {
5
- "@typescript-eslint/no-unused-vars": ["error"],
6
- "@typescript-eslint/no-explicit-any": ["off"],
7
- "@typescript-eslint/ban-ts-comment": ["off"],
8
- "prettier/prettier": [
9
- "warn",
10
- {
11
- "endOfLine": "auto"
12
- }
13
- ]
14
- }
15
- }
@@ -1,102 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- module.exports = {
3
- content: ["./app/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}", "./utils/**/*.{js,ts,jsx,tsx}"],
4
- plugins: [require("daisyui")],
5
- darkMode: "class",
6
- // DaisyUI theme colors
7
- daisyui: {
8
- themes: [
9
- {
10
- light: {
11
- primary: "#93BBFB",
12
- "primary-content": "#212638",
13
- secondary: "#DAE8FF",
14
- "secondary-content": "#212638",
15
- accent: "#93BBFB",
16
- "accent-content": "#212638",
17
- neutral: "#212638",
18
- "neutral-content": "#ffffff",
19
- "base-100": "#ffffff",
20
- "base-200": "#f4f8ff",
21
- "base-300": "#DAE8FF",
22
- "base-content": "#212638",
23
- info: "#93BBFB",
24
- success: "#34EEB6",
25
- warning: "#FFCF72",
26
- error: "#FF8863",
27
-
28
- "--surface": "rgba(0, 0, 0, 0.04)",
29
- "--bg-border": "#ffffff",
30
- "--round-color": "#000",
31
- "--rounded-btn": "9999rem",
32
- "--gradient-start": "#3283EB",
33
- "--gradient-end": "#E3066E",
34
- "--border-color": "rgba(0, 0, 0, 0.07)",
35
-
36
- ".tooltip": {
37
- "--tooltip-tail": "6px",
38
- },
39
- ".link": {
40
- textUnderlineOffset: "2px",
41
- },
42
- ".link:hover": {
43
- opacity: "80%",
44
- },
45
- },
46
- },
47
- {
48
- dark: {
49
- primary: "#212638",
50
- "primary-content": "#F9FBFF",
51
- secondary: "#323f61",
52
- "secondary-content": "#F9FBFF",
53
- accent: "#4969A6",
54
- "accent-content": "#F9FBFF",
55
- neutral: "#F9FBFF",
56
- "neutral-content": "#385183",
57
- "base-100": "#000",
58
- "base-200": "#2A3655",
59
- "base-300": "#212638",
60
- "base-content": "#F9FBFF",
61
- info: "#385183",
62
- success: "#34EEB6",
63
- warning: "#FFCF72",
64
- error: "#FF8863",
65
-
66
- "--surface": "rgba(255, 255, 255, 0.04)",
67
- "--bg-border": "#000000",
68
- "--round-color": "#E3066E",
69
- "--rounded-btn": "9999rem",
70
- "--gradient-start": "#3283EB",
71
- "--gradient-end": "#E3066E",
72
- "--border-color": "rgba(255, 255, 255, 0.20)",
73
-
74
- ".tooltip": {
75
- "--tooltip-tail": "6px",
76
- "--tooltip-color": "oklch(var(--p))",
77
- },
78
- ".link": {
79
- textUnderlineOffset: "2px",
80
- },
81
- ".link:hover": {
82
- opacity: "80%",
83
- },
84
- },
85
- },
86
- ],
87
- },
88
- theme: {
89
- extend: {
90
- fontFamily: {
91
- sans: ["var(--font-inter)", "system-ui", "sans-serif"],
92
- orbitron: ["var(--font-orbitron)", "sans-serif"],
93
- },
94
- boxShadow: {
95
- center: "0 0 12px -2px rgb(0 0 0 / 0.05)",
96
- },
97
- animation: {
98
- "pulse-fast": "pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite",
99
- },
100
- },
101
- },
102
- };