Skip to content

Commit ca4366c

Browse files
author
Rajat Saxena
committed
Updated the docs about themes application
1 parent 7ae0b9b commit ca4366c

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

apps/docs/src/pages/en/website/themes.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ CourseLit's Theme Designer is a powerful tool that allows you to customize the l
88

99
Built on top of [shadcn's design system](https://ui.shadcn.com/), it provides a comprehensive set of options to create a unique and professional appearance for your website.
1010

11+
Every theme in CourseLit comes in two flavors - light and dark mode. This ensures your website looks great regardless of the user's system preferences or time of day.
12+
1113
![CourseLit Theme Builder](/assets/pages/themes/theme-builder-home.png)
1214

15+
Currently, themes are only applied to the public pages of your school. The dashboard uses the system theme to provide a consistent experience. If you'd like themes to be applied to the dashboard as well, please leave your upvote <a href="https://discord.com/channels/727630561895514212/1379041635811201125" target="_blank">here</a>. The system theme also includes a dark mode.
16+
1317
## Table of Contents
1418

1519
- [System Themes](#system-themes)
@@ -25,8 +29,6 @@ Built on top of [shadcn's design system](https://ui.shadcn.com/), it provides a
2529
- [Supported Tailwind Classes](#supported-tailwind-classes)
2630
- [Need Help?](#need-help)
2731

28-
Every theme in CourseLit comes in two flavors - light and dark mode. This ensures your website looks great regardless of the user's system preferences or time of day.
29-
3032
## System Themes
3133

3234
System themes are pre-built themes that come with CourseLit. These themes are professionally designed and ready to use. They serve as a great starting point for your website's appearance.
@@ -190,30 +192,30 @@ The typography editor lets you customize text styles across your website. These
190192
- Header 3: Smaller titles for subsections
191193
- Header 4: Small titles for minor sections
192194
- Preheader: Introductory text that appears above headers
193-
</details>
195+
</details>
194196

195197
<details>
196198
<summary>Subheaders</summary>
197199

198200
- Subheader 1: Primary subheaders for section introductions
199201
- Subheader 2: Secondary subheaders for supporting text
200-
</details>
202+
</details>
201203

202204
<details>
203205
<summary>Body Text</summary>
204206

205207
- Text 1: Main body text for content
206208
- Text 2: Secondary body text for supporting content
207209
- Caption: Small text for image captions and footnotes
208-
</details>
210+
</details>
209211

210212
<details>
211213
<summary>Interactive Elements</summary>
212214

213215
- Link: Text for clickable links
214216
- Button: Text for buttons and calls-to-action
215217
- Input: Text for form fields and search boxes
216-
</details>
218+
</details>
217219

218220
For each text style, you can customize:
219221

@@ -241,7 +243,7 @@ CourseLit provides a carefully curated selection of professional fonts, organize
241243
- **Mulish**: A geometric sans-serif with a modern feel
242244
- **Nunito**: A well-balanced font with rounded terminals
243245
- **Work Sans**: A clean, modern font with a geometric feel
244-
</details>
246+
</details>
245247

246248
<details>
247249
<summary>Serif Fonts</summary>
@@ -251,7 +253,7 @@ CourseLit provides a carefully curated selection of professional fonts, organize
251253
- **Playfair Display**: An elegant serif font for headings
252254
- **Roboto Slab**: A serif variant of Roboto
253255
- **Source Serif 4**: A serif font designed for digital reading
254-
</details>
256+
</details>
255257

256258
<details>
257259
<summary>Display Fonts</summary>
@@ -262,15 +264,15 @@ CourseLit provides a carefully curated selection of professional fonts, organize
262264
- **Rubik**: A sans-serif with a geometric feel
263265
- **Oswald**: A reworking of the classic style
264266
- **Bebas Neue**: A display font with a strong personality
265-
</details>
267+
</details>
266268

267269
<details>
268270
<summary>Modern Fonts</summary>
269271

270272
- **Lato**: A sans-serif font with a warm feel
271273
- **PT Sans**: A font designed for public use
272274
- **Quicksand**: A display sans-serif with rounded terminals
273-
</details>
275+
</details>
274276

275277
Each font is optimized for web use and includes multiple weights for flexibility in design. All fonts support Latin characters and are carefully selected for their readability and professional appearance.
276278

@@ -288,7 +290,7 @@ The interactives editor allows you to customize the appearance of interactive el
288290
- Shadow effects: From None to 2X Large
289291
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
290292
- Disabled state: How the button looks when it can't be clicked
291-
</details>
293+
</details>
292294

293295
<details>
294296
<summary>Link</summary>
@@ -298,7 +300,7 @@ The interactives editor allows you to customize the appearance of interactive el
298300
- Text shadow: Add depth to your links
299301
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
300302
- Disabled state: How the link looks when it can't be clicked
301-
</details>
303+
</details>
302304

303305
<details>
304306
<summary>Card</summary>
@@ -307,7 +309,7 @@ The interactives editor allows you to customize the appearance of interactive el
307309
- Border style: Choose from various border styles
308310
- Shadow effects: Add depth to your cards
309311
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
310-
</details>
312+
</details>
311313

312314
<details>
313315
<summary>Input</summary>
@@ -318,7 +320,7 @@ The interactives editor allows you to customize the appearance of interactive el
318320
- Shadow effects: Add depth to your input fields
319321
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
320322
- Disabled state: How the input looks when it can't be used
321-
</details>
323+
</details>
322324

323325
### 4. Structure
324326

@@ -335,14 +337,14 @@ The structure editor lets you customize the layout of your pages, like section p
335337
- 4XL (56rem): Wide layout
336338
- 5XL (64rem): Extra wide layout
337339
- 6XL (72rem): Full width layout
338-
</details>
340+
</details>
339341

340342
<details>
341343
<summary>Section</summary>
342344

343345
- Horizontal padding: Space on the left and right sides (None to 9X Large)
344346
- Vertical padding: Space on the top and bottom (None to 9X Large)
345-
</details>
347+
</details>
346348

347349
## Publishing Changes
348350

@@ -390,7 +392,7 @@ When adding custom styles to interactive elements, you can use the following Tai
390392
- `text-6xl`: 6X large text
391393
- `text-7xl`: 7X large text
392394
- `text-8xl`: 8X large text
393-
</details>
395+
</details>
394396

395397
<details>
396398
<summary>Padding</summary>
@@ -402,7 +404,7 @@ When adding custom styles to interactive elements, you can use the following Tai
402404
#### Horizontal Padding
403405

404406
- `px-4` to `px-20`: Horizontal padding from 1rem to 5rem
405-
</details>
407+
</details>
406408

407409
<details>
408410
<summary>Colors</summary>
@@ -457,7 +459,7 @@ Variants available: `hover`, `disabled`, `dark`
457459
- `ease-out`: Ease out
458460
- `ease-in-out`: Ease in and out
459461
- `ease-linear`: Linear
460-
</details>
462+
</details>
461463

462464
<details>
463465
<summary>Transforms</summary>
@@ -484,7 +486,7 @@ Variants available: `hover`, `disabled`, `dark`
484486
- `scale-110`: 110% scale
485487
- `scale-125`: 125% scale
486488
- `scale-150`: 150% scale
487-
</details>
489+
</details>
488490

489491
<details>
490492
<summary>Shadows</summary>

0 commit comments

Comments
 (0)