Skip to content

Commit e2df05a

Browse files
committed
Styles change on Derivative Playground
1 parent 7486e7e commit e2df05a

3 files changed

Lines changed: 623 additions & 1100 deletions

File tree

‎src/app.css‎

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,71 @@ input[type='range']::-moz-range-thumb {
190190
@apply w-4 h-4 rounded-full bg-white border-2 border-blue-600 shadow-sm transition-transform hover:scale-110;
191191
}
192192

193+
@import "tailwindcss";
194+
195+
@theme {
196+
--font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
197+
--font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
198+
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
199+
--color-brut-bg: #E4E3E0;
200+
--color-brut-ink: #141414;
201+
--color-brut-orange: #F27D26;
202+
--color-brut-card: #FFFFFF;
203+
}
204+
205+
@layer base {
206+
body {
207+
@apply bg-brut-bg text-brut-ink;
208+
}
209+
}
210+
211+
/* Custom range slider styling matching Neo-Brutalist offsets */
212+
input[type='range'] {
213+
-webkit-appearance: none;
214+
appearance: none;
215+
width: 100%;
216+
height: 6px;
217+
background: #141414;
218+
outline: none;
219+
border: 1px solid #141414;
220+
}
221+
222+
input[type='range']::-webkit-slider-thumb {
223+
-webkit-appearance: none;
224+
appearance: none;
225+
width: 16px;
226+
height: 16px;
227+
background-color: #F27D26;
228+
border: 2px solid #141414;
229+
border-radius: 0px; /* Square / sharp offset thumb */
230+
box-shadow: 1px 1px 0px #141414;
231+
transition: transform 0.1s ease, background-color 0.1s ease;
232+
}
233+
234+
input[type='range']::-webkit-slider-thumb:hover {
235+
@apply bg-white;
236+
transform: scale(1.1);
237+
}
238+
239+
input[type='range']::-webkit-slider-thumb:active {
240+
@apply bg-brut-bg;
241+
}
242+
243+
input[type='range']::-moz-range-thumb {
244+
width: 16px;
245+
height: 16px;
246+
background-color: #F27D26;
247+
border: 2px solid #141414;
248+
border-radius: 0px;
249+
box-shadow: 1px 1px 0px #141414;
250+
transition: transform 0.1s ease, background-color 0.1s ease;
251+
}
252+
253+
input[type='range']::-moz-range-thumb:hover {
254+
@apply bg-white;
255+
transform: scale(1.1);
256+
}
257+
258+
input[type='range']::-moz-range-thumb:active {
259+
@apply bg-brut-bg;
260+
}

0 commit comments

Comments
 (0)