|
1 | 1 | @import "tailwindcss"; |
2 | 2 |
|
| 3 | +@custom-variant dark (&:where(.dark, .dark *)); |
| 4 | + |
3 | 5 | :root { |
4 | 6 | --background: #ffffff; |
5 | 7 | --foreground: #171717; |
|
8 | 10 | @theme inline { |
9 | 11 | --color-background: var(--background); |
10 | 12 | --color-foreground: var(--foreground); |
11 | | - --font-sans: var(--font-geist-sans); |
12 | | - --font-mono: var(--font-geist-mono); |
| 13 | + --font-sans: var(--font-inter); |
| 14 | + --font-display: var(--font-anton); |
| 15 | + |
| 16 | + /* Custom Colors */ |
| 17 | + --color-primary: #3B82F6; |
| 18 | + --color-background-light: #FDFDFD; |
| 19 | + --color-background-dark: #050505; |
| 20 | + --color-slush-yellow: #FFD600; |
| 21 | + --color-slush-orange: #FF5C00; |
| 22 | + --color-slush-purple: #9747FF; |
| 23 | + --color-slush-green: #00D68F; |
| 24 | + --color-slush-dark: #1A1A1A; |
| 25 | + |
| 26 | + /* Border Radius */ |
| 27 | + --radius: 0.5rem; |
| 28 | + --radius-large: 2rem; |
| 29 | + |
| 30 | + /* Animations */ |
| 31 | + --animate-marquee: marquee 25s linear infinite; |
| 32 | + --animate-marquee-reverse: marquee-reverse 25s linear infinite; |
| 33 | + --animate-float: float 6s ease-in-out infinite; |
| 34 | +} |
| 35 | + |
| 36 | +@keyframes marquee { |
| 37 | + 0% { |
| 38 | + transform: translateX(0%); |
| 39 | + } |
| 40 | + 100% { |
| 41 | + transform: translateX(-100%); |
| 42 | + } |
| 43 | +} |
| 44 | + |
| 45 | +@keyframes marquee-reverse { |
| 46 | + 0% { |
| 47 | + transform: translateX(-100%); |
| 48 | + } |
| 49 | + 100% { |
| 50 | + transform: translateX(0%); |
| 51 | + } |
| 52 | +} |
| 53 | + |
| 54 | +@keyframes float { |
| 55 | + 0%, 100% { |
| 56 | + transform: translateY(0); |
| 57 | + } |
| 58 | + 50% { |
| 59 | + transform: translateY(-20px); |
| 60 | + } |
13 | 61 | } |
14 | 62 |
|
15 | 63 | @media (prefers-color-scheme: dark) { |
|
22 | 70 | body { |
23 | 71 | background: var(--background); |
24 | 72 | color: var(--foreground); |
25 | | - font-family: Arial, Helvetica, sans-serif; |
| 73 | + font-family: var(--font-inter), Arial, Helvetica, sans-serif; |
| 74 | +} |
| 75 | + |
| 76 | +.text-outline-light { |
| 77 | + -webkit-text-stroke: 2px black; |
| 78 | + color: transparent; |
| 79 | +} |
| 80 | + |
| 81 | +.text-outline-dark { |
| 82 | + -webkit-text-stroke: 2px white; |
| 83 | + color: transparent; |
| 84 | +} |
| 85 | + |
| 86 | +::-webkit-scrollbar { |
| 87 | + width: 8px; |
| 88 | +} |
| 89 | + |
| 90 | +::-webkit-scrollbar-track { |
| 91 | + background: transparent; |
| 92 | +} |
| 93 | + |
| 94 | +::-webkit-scrollbar-thumb { |
| 95 | + background: #888; |
| 96 | + border-radius: 4px; |
| 97 | +} |
| 98 | + |
| 99 | +::-webkit-scrollbar-thumb:hover { |
| 100 | + background: #555; |
| 101 | +} |
| 102 | + |
| 103 | +/* Custom Sui Wallet Button Styles */ |
| 104 | +.sui-wallet-button button { |
| 105 | + background-color: #000; |
| 106 | + color: #fff; |
| 107 | + padding: 0.5rem 1.25rem; |
| 108 | + border-radius: 9999px; |
| 109 | + font-weight: 700; |
| 110 | + font-size: 0.875rem; |
| 111 | + text-transform: uppercase; |
| 112 | + transition: transform 0.2s; |
| 113 | + border: none; |
| 114 | + cursor: pointer; |
| 115 | +} |
| 116 | + |
| 117 | +.sui-wallet-button button:hover { |
| 118 | + transform: scale(1.05); |
| 119 | +} |
| 120 | + |
| 121 | +:is(.dark *) .sui-wallet-button button { |
| 122 | + background-color: #fff; |
| 123 | + color: #000; |
| 124 | +} |
| 125 | + |
| 126 | +/* Style cho account menu dropdown */ |
| 127 | +[data-radix-popper-content-wrapper] { |
| 128 | + z-index: 9999 !important; |
| 129 | +} |
| 130 | + |
| 131 | +/* Style cho các nút trong account menu (Copy, Disconnect, v.v.) */ |
| 132 | +.dapp-kit-account-dropdown-menu-item, |
| 133 | +[role="menuitem"] { |
| 134 | + padding: 0.75rem 1rem !important; |
| 135 | + font-size: 0.875rem !important; |
| 136 | + font-weight: 600 !important; |
| 137 | + text-transform: uppercase !important; |
| 138 | + transition: all 0.2s !important; |
| 139 | + border-radius: 0.5rem !important; |
| 140 | + margin: 0.25rem !important; |
| 141 | +} |
| 142 | + |
| 143 | +.dapp-kit-account-dropdown-menu-item:hover, |
| 144 | +[role="menuitem"]:hover { |
| 145 | + background-color: #f3f4f6 !important; |
| 146 | + transform: translateX(4px) !important; |
| 147 | +} |
| 148 | + |
| 149 | +:is(.dark *) .dapp-kit-account-dropdown-menu-item:hover, |
| 150 | +:is(.dark *) [role="menuitem"]:hover { |
| 151 | + background-color: #374151 !important; |
| 152 | +} |
| 153 | + |
| 154 | +/* Style cho dropdown menu container */ |
| 155 | +[role="menu"] { |
| 156 | + background: white !important; |
| 157 | + border: 2px solid #e5e7eb !important; |
| 158 | + border-radius: 1rem !important; |
| 159 | + padding: 0.5rem !important; |
| 160 | + box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1) !important; |
| 161 | + min-width: 200px !important; |
| 162 | +} |
| 163 | + |
| 164 | +:is(.dark *) [role="menu"] { |
| 165 | + background: #1f2937 !important; |
| 166 | + border-color: #374151 !important; |
26 | 167 | } |
0 commit comments