From 700645919c99af44b4cfac4042e5a99cae79a969 Mon Sep 17 00:00:00 2001 From: SamidyFR <168582143+SamidyFR@users.noreply.github.com> Date: Mon, 23 Feb 2026 22:58:08 +0000 Subject: [PATCH] style: auto-fix linting issues --- THEME_GUIDE.md | 52 +++---- index.html | 352 +++++++++++++++++++++++++++++++++++++---------- js/api.js | 11 +- js/settings.js | 4 +- js/themeStore.js | 130 +++++++++-------- js/ui.js | 24 ++-- styles.css | 4 +- 7 files changed, 408 insertions(+), 169 deletions(-) diff --git a/THEME_GUIDE.md b/THEME_GUIDE.md index 11ed14f..6ec7d38 100644 --- a/THEME_GUIDE.md +++ b/THEME_GUIDE.md @@ -13,22 +13,22 @@ Themes in Monochrome are essentially CSS snippets that override the default CSS /* Base Colors */ --background: #0a0a0a; --foreground: #ededed; - + /* UI Elements */ --card: #1a1a1a; --card-foreground: #ededed; --border: #2a2a2a; - + /* Accents */ --primary: #3b82f6; --primary-foreground: #ffffff; --secondary: #2a2a2a; --secondary-foreground: #ededed; - + /* Text */ --muted: #2a2a2a; --muted-foreground: #a0a0a0; - + /* Special */ --highlight: #3b82f6; --ring: #3b82f6; @@ -39,39 +39,39 @@ Themes in Monochrome are essentially CSS snippets that override the default CSS ## CSS Variables Reference -| Variable | Description | -| :--- | :--- | -| `--background` | The main background color for your theme. | -| `--foreground` | The main text color. | -| `--card` | Background color for cards, modals, and panels. | -| `--card-foreground` | Text color inside cards. | -| `--border` | Color for borders and separators. | -| `--primary` | Main accent color (buttons, active states). | -| `--primary-foreground` | Text color on top of primary elements. | -| `--secondary` | Secondary background (hover states, secondary buttons). | -| `--secondary-foreground` | Text color on secondary elements. | -| `--muted` | Muted background color (placeholders, skeletons). | -| `--muted-foreground` | Muted text color (subtitles, metadata). | -| `--highlight` | Color used for text highlighting and focus rings. | -| `--radius` | Border radius for cards and buttons (e.g., `8px`, `0px`). | -| `--font-family` | Font stack for the theme. | +| Variable | Description | +| :----------------------- | :-------------------------------------------------------- | +| `--background` | The main background color for your theme. | +| `--foreground` | The main text color. | +| `--card` | Background color for cards, modals, and panels. | +| `--card-foreground` | Text color inside cards. | +| `--border` | Color for borders and separators. | +| `--primary` | Main accent color (buttons, active states). | +| `--primary-foreground` | Text color on top of primary elements. | +| `--secondary` | Secondary background (hover states, secondary buttons). | +| `--secondary-foreground` | Text color on secondary elements. | +| `--muted` | Muted background color (placeholders, skeletons). | +| `--muted-foreground` | Muted text color (subtitles, metadata). | +| `--highlight` | Color used for text highlighting and focus rings. | +| `--radius` | Border radius for cards and buttons (e.g., `8px`, `0px`). | +| `--font-family` | Font stack for the theme. | ## Using the Theme Editor 1. **Open the Theme Store**: Go to Settings > Appearance > Open Theme Store. 2. **Go to Upload Tab**: Click on the "Upload" tab. 3. **Use the Toolbar**: - * **Colors**: Use the color pickers to quickly set the main colors. - * **Styles**: Use the dropdowns to set font and border radius. - * **Template**: Click "Template" to insert a starter CSS block. - * **Preview**: Click "Preview" to see your changes in real-time on a sample card. + - **Colors**: Use the color pickers to quickly set the main colors. + - **Styles**: Use the dropdowns to set font and border radius. + - **Template**: Click "Template" to insert a starter CSS block. + - **Preview**: Click "Preview" to see your changes in real-time on a sample card. 4. **Manual Editing**: You can manually edit the CSS in the text area for fine-grained control. ## Uploading Your Theme 1. **Name & Description**: Give your theme a unique name and a brief description. 2. **Author Website**: Optionally provide a link to your website. - * *Note:* If you have a Monochrome profile, your name will automatically link to it. + - _Note:_ If you have a Monochrome profile, your name will automatically link to it. 3. **Submit**: Click "Upload Theme". -Once uploaded, your theme will be available for everyone to browse and apply! \ No newline at end of file +Once uploaded, your theme will be available for everyone to browse and apply! diff --git a/index.html b/index.html index b9acf8d..8b404a4 100644 --- a/index.html +++ b/index.html @@ -1260,92 +1260,233 @@