Skip to content

Commit baee144

Browse files
committed
Updated Theme and Contrast
1 parent a9761cf commit baee144

23 files changed

Lines changed: 3144 additions & 224 deletions

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Static site for [codefrydev.in](https://codefrydev.in/) — free online tools, g
44

55
## Features
66

7-
- **Modern homepage** — category grids, search palette, scroll sections, dark/light theme
7+
- **Modern site shell** — category grids, search palette, scroll sections, **light / glass / dark** themes
88
- **Browse**`/browse/` index plus category pages (`creative-assets`, `tools-utilities`, `games-fun`, `site-links`, `containers-packages`)
99
- **Hubs** — Games, AI, Design Lab, Store, Search
1010
- **CFDDC** — year-by-year “developer conference” pages at `/cfddc/` fed from [`data/history.yaml`](data/history.yaml)
@@ -18,7 +18,7 @@ Static site for [codefrydev.in](https://codefrydev.in/) — free online tools, g
1818
|--------|--------|
1919
| Site generator | Hugo Extended **0.160.1** (see [`.github/workflows/hugo.yaml`](.github/workflows/hugo.yaml)) |
2020
| Styling | Tailwind CSS 3 → `static/css/home-tailwind.css` |
21-
| Dark theme | `assets/css/modern-dark-theme.css` (copied to `static/css/` on build) |
21+
| Themes | `light`, `glass`, `dark` — tokens in `assets/css/theme-tokens.css`; overrides in `modern-dark-theme.css` and `modern-glass-theme.css` (copied to `static/css/` on build) |
2222
| Icons | Phosphor Icons (CDN) |
2323
| Deploy | GitHub Actions → GitHub Pages |
2424

@@ -33,7 +33,7 @@ Static site for [codefrydev.in](https://codefrydev.in/) — free online tools, g
3333
# Install JS dependencies (first time)
3434
npm install
3535

36-
# Build Tailwind + dark theme CSS
36+
# Build Tailwind + theme CSS
3737
npm run build:css
3838

3939
# Watch CSS while editing (optional, second terminal)
@@ -108,7 +108,9 @@ When [`data/history.yaml`](data/history.yaml) includes dates for a new year:
108108
## CSS notes
109109

110110
- Edit Tailwind utilities and components in [`assets/css/tailwind-input.css`](assets/css/tailwind-input.css).
111+
- Edit shared color tokens in [`assets/css/theme-tokens.css`](assets/css/theme-tokens.css).
111112
- Edit dark-mode overrides in [`assets/css/modern-dark-theme.css`](assets/css/modern-dark-theme.css).
113+
- Edit glass-mode overrides in [`assets/css/modern-glass-theme.css`](assets/css/modern-glass-theme.css).
112114
- Always run `npm run build:css` before committing CSS-related changes (CI runs this on deploy).
113115

114116
## Deployment

0 commit comments

Comments
 (0)