Skip to content

Commit 8326ae4

Browse files
improve pastebin styles
1 parent b50efad commit 8326ae4

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

pastebin.html

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
extend: {
1212
colors: {
1313
'light-blue': '#8ecae6',
14-
blue: '#219ebc',
14+
blue: '#4a6fa5',
15+
primary: '#4a6fa5',
16+
'primary-dark': '#3a5683',
17+
'primary-light': '#c5d5e5',
18+
secondary: '#8fb8de',
19+
accent: '#63c0f5',
1520
purple: '#a78bfa',
1621
'light-purple': '#c4b5fd'
1722
}
@@ -21,7 +26,11 @@
2126
</script>
2227
<style>
2328
.gradient-bg {
24-
background: linear-gradient(135deg, #8ecae6 0%, #a78bfa 100%);
29+
background: linear-gradient(
30+
135deg,
31+
var(--primary-light, #c5d5e5) 0%,
32+
var(--primary, #4a6fa5) 100%
33+
);
2534
}
2635
.paste-container {
2736
transition: all 0.3s ease;
@@ -31,14 +40,14 @@
3140
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
3241
0 4px 6px -2px rgba(0, 0, 0, 0.05);
3342
}
34-
/* Add navbar styling */
35-
nav {
43+
/* Remove old navbar styling */
44+
/* nav {
3645
background-color: #219ebc;
3746
color: white;
3847
}
3948
nav a {
4049
color: white;
41-
}
50+
} */
4251
</style>
4352
</head>
4453
<body class="bg-gray-50 min-h-screen">
@@ -79,7 +88,7 @@
7988
return html`
8089
<div class="paste-container bg-white rounded-lg shadow-md p-4 mb-4">
8190
<textarea
82-
class="w-full h-32 p-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-light-purple"
91+
class="w-full h-32 p-2 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-primary-light"
8392
value=${content}
8493
onInput=${this.handleChange}
8594
placeholder="Enter your text here..."
@@ -259,7 +268,7 @@
259268
</div>`}
260269
<button
261270
onClick=${this.addPaste}
262-
class="bg-gradient-to-r from-light-blue to-purple text-white px-6 py-2 rounded-full hover:opacity-90 transition-opacity shadow-md"
271+
class="bg-gradient-to-r from-primary-light to-primary text-white px-6 py-2 rounded-full hover:opacity-90 transition-opacity shadow-md"
263272
>
264273
Add New Paste
265274
</button>

0 commit comments

Comments
 (0)