You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/src/pages/en/website/themes.md
+22-20Lines changed: 22 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,12 @@ CourseLit's Theme Designer is a powerful tool that allows you to customize the l
8
8
9
9
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.
10
10
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.
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 <ahref="https://discord.com/channels/727630561895514212/1379041635811201125"target="_blank">here</a>. The system theme also includes a dark mode.
16
+
13
17
## Table of Contents
14
18
15
19
-[System Themes](#system-themes)
@@ -25,8 +29,6 @@ Built on top of [shadcn's design system](https://ui.shadcn.com/), it provides a
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
-
30
32
## System Themes
31
33
32
34
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
190
192
- Header 3: Smaller titles for subsections
191
193
- Header 4: Small titles for minor sections
192
194
- Preheader: Introductory text that appears above headers
193
-
</details>
195
+
</details>
194
196
195
197
<details>
196
198
<summary>Subheaders</summary>
197
199
198
200
- Subheader 1: Primary subheaders for section introductions
199
201
- Subheader 2: Secondary subheaders for supporting text
200
-
</details>
202
+
</details>
201
203
202
204
<details>
203
205
<summary>Body Text</summary>
204
206
205
207
- Text 1: Main body text for content
206
208
- Text 2: Secondary body text for supporting content
207
209
- Caption: Small text for image captions and footnotes
208
-
</details>
210
+
</details>
209
211
210
212
<details>
211
213
<summary>Interactive Elements</summary>
212
214
213
215
- Link: Text for clickable links
214
216
- Button: Text for buttons and calls-to-action
215
217
- Input: Text for form fields and search boxes
216
-
</details>
218
+
</details>
217
219
218
220
For each text style, you can customize:
219
221
@@ -241,7 +243,7 @@ CourseLit provides a carefully curated selection of professional fonts, organize
241
243
-**Mulish**: A geometric sans-serif with a modern feel
242
244
-**Nunito**: A well-balanced font with rounded terminals
243
245
-**Work Sans**: A clean, modern font with a geometric feel
244
-
</details>
246
+
</details>
245
247
246
248
<details>
247
249
<summary>Serif Fonts</summary>
@@ -251,7 +253,7 @@ CourseLit provides a carefully curated selection of professional fonts, organize
251
253
-**Playfair Display**: An elegant serif font for headings
252
254
-**Roboto Slab**: A serif variant of Roboto
253
255
-**Source Serif 4**: A serif font designed for digital reading
254
-
</details>
256
+
</details>
255
257
256
258
<details>
257
259
<summary>Display Fonts</summary>
@@ -262,15 +264,15 @@ CourseLit provides a carefully curated selection of professional fonts, organize
262
264
-**Rubik**: A sans-serif with a geometric feel
263
265
-**Oswald**: A reworking of the classic style
264
266
-**Bebas Neue**: A display font with a strong personality
265
-
</details>
267
+
</details>
266
268
267
269
<details>
268
270
<summary>Modern Fonts</summary>
269
271
270
272
-**Lato**: A sans-serif font with a warm feel
271
273
-**PT Sans**: A font designed for public use
272
274
-**Quicksand**: A display sans-serif with rounded terminals
273
-
</details>
275
+
</details>
274
276
275
277
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.
276
278
@@ -288,7 +290,7 @@ The interactives editor allows you to customize the appearance of interactive el
288
290
- Shadow effects: From None to 2X Large
289
291
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
290
292
- Disabled state: How the button looks when it can't be clicked
291
-
</details>
293
+
</details>
292
294
293
295
<details>
294
296
<summary>Link</summary>
@@ -298,7 +300,7 @@ The interactives editor allows you to customize the appearance of interactive el
298
300
- Text shadow: Add depth to your links
299
301
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
300
302
- Disabled state: How the link looks when it can't be clicked
301
-
</details>
303
+
</details>
302
304
303
305
<details>
304
306
<summary>Card</summary>
@@ -307,7 +309,7 @@ The interactives editor allows you to customize the appearance of interactive el
307
309
- Border style: Choose from various border styles
308
310
- Shadow effects: Add depth to your cards
309
311
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
310
-
</details>
312
+
</details>
311
313
312
314
<details>
313
315
<summary>Input</summary>
@@ -318,7 +320,7 @@ The interactives editor allows you to customize the appearance of interactive el
318
320
- Shadow effects: Add depth to your input fields
319
321
- Custom styles: Add your own custom styles using [supported Tailwind classes](#supported-tailwind-classes)
320
322
- Disabled state: How the input looks when it can't be used
321
-
</details>
323
+
</details>
322
324
323
325
### 4. Structure
324
326
@@ -335,14 +337,14 @@ The structure editor lets you customize the layout of your pages, like section p
335
337
- 4XL (56rem): Wide layout
336
338
- 5XL (64rem): Extra wide layout
337
339
- 6XL (72rem): Full width layout
338
-
</details>
340
+
</details>
339
341
340
342
<details>
341
343
<summary>Section</summary>
342
344
343
345
- Horizontal padding: Space on the left and right sides (None to 9X Large)
344
346
- Vertical padding: Space on the top and bottom (None to 9X Large)
345
-
</details>
347
+
</details>
346
348
347
349
## Publishing Changes
348
350
@@ -390,7 +392,7 @@ When adding custom styles to interactive elements, you can use the following Tai
390
392
-`text-6xl`: 6X large text
391
393
-`text-7xl`: 7X large text
392
394
-`text-8xl`: 8X large text
393
-
</details>
395
+
</details>
394
396
395
397
<details>
396
398
<summary>Padding</summary>
@@ -402,7 +404,7 @@ When adding custom styles to interactive elements, you can use the following Tai
402
404
#### Horizontal Padding
403
405
404
406
-`px-4` to `px-20`: Horizontal padding from 1rem to 5rem
0 commit comments