Skip to content

Commit 0df1903

Browse files
committed
Update design page
1 parent 5dc12ff commit 0df1903

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/content/pages/about/design.html.mdrb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,4 @@ The design leans heavily into CSS grid. I’m a relatively new student of CSS gr
99

1010
Speaking of, the color theme of the site is also driven by CSS variables. Taking a cue from Tailwind’s default color palettes, I liked the idea of building the color theme off a monochromatic scale. This led me to [`chroma-js` ](https://www.npmjs.com/package/chroma-js) which can generate a scale given seed colors. Joy of Rails can now swap out its color theme given a recognized color name. It’s currently hard-coded but a future release will allow readers to swap out the color themselves.
1111

12-
The first iteration of this site’s design was built with Tailwind. With the new design taking shape, I’ve decided to remove Tailwind. I want to Joy of Rails to "own more" of its dependencies—part of why I implemented [Authentication from Scratch](https://github.com/joyofrails/joyofrails.com/pull/149). I love Tailwind, but in moving in this direction, it felt freeing to realize I [don’t need a CSS framework](https://www.smashingmagazine.com/2022/05/you-dont-need-ui-framework/). This does mean a more work is required in HTML and CSS to make styles and accessibility work better for readers.
13-
14-
Even though I’ve removed Tailwind as a dependency, I copied many of the Tailwind utility classes I was using directly into my application styles help with the transition. Over time, I may be able to pare down this set of classes, but I can see how many of them will continue to be useful in the future.
12+
I‘m not directly using a UI framework. The first iteration of this site’s design was built with Tailwind which has now been removed. I have copied over a number of Tailwind utility classes I used in that first iteration as well as the generated Utopia CSS variables for layout, spacing, and typograpy. I want to Joy of Rails to "own more" of its dependencies—part of why I implemented [Authentication from Scratch](https://github.com/joyofrails/joyofrails.com/pull/149). I love Tailwind, but in moving in this direction, it felt freeing to realize I [don’t need a CSS framework](https://www.smashingmagazine.com/2022/05/you-dont-need-ui-framework/). This does mean a more work is required in HTML and CSS to make styles and accessibility work better for readers.

0 commit comments

Comments
 (0)