Skip to content

About

The Dark Theme, Google "Forgot"

Topics

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

62 Commits

Folders and files

Repository files navigation

Dark Docs 2.0

Enhanced dark theme for Google Docs with customizable accent colors, plus a beautiful website.

CI License: MIT Chrome Web Store Website

🌟 Features

Chrome Extension

  • πŸŒ™ Dark Mode: Modern dark theme for Google Docs
  • 🎨 Customizable Colors: Adjustable accent colors
  • ⚑ Fast Performance: Lightweight and efficient
  • πŸ”§ Easy Configuration: User-friendly popup interface
  • 🌐 Multi-Browser: Support for Chrome, Firefox, Edge, and Opera

Website

  • 🎯 Minimalist Design: Clean, professional aesthetic
  • πŸ“± Responsive: Works on all devices
  • ⚑ Fast: Built with Next.js 15
  • 🎨 Animated: Smooth Framer Motion animations

πŸš€ Quick Start

For Users

  1. Install the extension from the Chrome Web Store
  2. Visit Google Docs and enjoy the dark theme
  3. Customize colors using the extension popup

For Developers

# Clone the repository
git clone https://github.com/ameyalambat128/dark-docs-2.0.git
cd dark-docs-2.0

# Install dependencies
pnpm install

# Start development
pnpm dev

πŸ—οΈ Monorepo Structure

This project uses Turborepo with pnpm for optimal performance and developer experience.

docs-dark-chrome/
β”œβ”€β”€ apps/
β”‚   β”œβ”€β”€ extension/          # Chrome Extension
β”‚   β”‚   β”œβ”€β”€ src/           # Extension source files
β”‚   β”‚   β”œβ”€β”€ build_config.json
β”‚   β”‚   β”œβ”€β”€ package.js     # Build script
β”‚   β”‚   └── releases/      # Built ZIP packages
β”‚   └── www/               # Next.js Website
β”‚       β”œβ”€β”€ src/           # Website source
β”‚       └── public/        # Static assets
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ shared/            # Shared constants & utilities
β”‚   └── ui/                # Shared UI components
β”œβ”€β”€ turbo.json             # Turborepo configuration
β”œβ”€β”€ pnpm-workspace.yaml    # pnpm workspace config
└── package.json           # Root dependencies

πŸ› οΈ Development

Prerequisites

  • Node.js >= 18.0.0
  • pnpm (recommended) or npm

Setup

  1. Clone the repository:
git clone https://github.com/ameyalambat128/dark-docs-2.0.git
cd dark-docs-2.0
  1. Install dependencies:
pnpm install

Build Commands

All Projects

pnpm turbo build        # Build all apps
pnpm turbo dev          # Run all apps in dev mode
pnpm turbo lint         # Lint all apps
pnpm turbo clean        # Clean all build artifacts

Chrome Extension Only

pnpm build:extension    # Build extension
pnpm dev:extension      # Build extension (same as build)

Website Only

pnpm build:www          # Build website
pnpm dev:www            # Run website dev server

Development Workflow

  1. Start development servers:
pnpm turbo dev
  1. For extension development:

    • Make changes in apps/extension/src/
    • Run pnpm build:extension
    • Load apps/extension/dist/chrome/ in Chrome developer mode
  2. For website development:

    • Make changes in apps/www/src/
    • Visit http://localhost:3000 (auto-reloads)

🌐 Multi-Browser Support

The extension build system creates browser-specific packages:

  • Chrome: Manifest V3 with separate host permissions
  • Firefox: Manifest V2 with combined permissions
  • Edge: Manifest V3 (same as Chrome)
  • Opera: Manifest V3 (same as Chrome)

Built packages are available in apps/extension/releases/:

  • dark-docs-2.0-chrome-v2.0.2.zip
  • dark-docs-2.0-firefox-v2.0.2.zip
  • dark-docs-2.0-edge-v2.0.2.zip
  • dark-docs-2.0-opera-v2.0.2.zip

πŸš€ Deployment

Chrome Extension

pnpm build:extension

Upload the appropriate ZIP from apps/extension/releases/ to browser stores.

Website

pnpm build:www

Deploy apps/www/.next/ to your hosting provider (Vercel, Netlify, etc.).

πŸ“¦ Packages

  • @dark-docs/shared: Shared constants, utilities, and brand colors
  • @dark-docs/ui: Shared UI components (BackgroundLines, etc.)

πŸ”§ Tech Stack

  • Monorepo: Turborepo + pnpm
  • Extension: Vanilla JS + CSS
  • Website: Next.js 15 + TypeScript + Tailwind CSS + Framer Motion
  • Shared: TypeScript + React

🀝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Quick Contribution Steps

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes
  4. Test your changes: pnpm build && pnpm lint
  5. Commit your changes: git commit -m 'Add amazing feature'
  6. Push to your fork: git push origin feature/amazing-feature
  7. Create a Pull Request

πŸ“‹ Roadmap

  • Additional theme variants
  • Advanced customization options
  • Performance optimizations
  • Enhanced accessibility features
  • Mobile app companion

πŸ› Bug Reports & Feature Requests

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Google Docs for the amazing platform
  • Turborepo for the excellent monorepo tooling
  • Next.js for the powerful React framework
  • All contributors who help make Dark Docs 2.0 better!

πŸ“Š Project Stats

GitHub stars GitHub forks GitHub issues GitHub pull requests


Made with ❀️ by Ameya Lambat

About

The Dark Theme, Google "Forgot"

Topics

Resources

Code of conduct

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages