Skip to content

Commit

Permalink
Merge pull request #268 from MohamedRejeb/1.x
Browse files Browse the repository at this point in the history
Improve docs dark mode
  • Loading branch information
MohamedRejeb authored May 11, 2024
2 parents f89c812 + 58e1d2e commit efd9d58
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
4 changes: 0 additions & 4 deletions docs/css/site.css

This file was deleted.

26 changes: 15 additions & 11 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ site_url: 'https://github.com/MohamedRejeb/Compose-Rich-Editor'
remote_branch: gh-pages
edit_uri: ""

docs_dir: docs

# Repository
repo_name: 'Compose-Rich-Editor'
repo_url: 'https://github.com/MohamedRejeb/Compose-Rich-Editor'
Expand All @@ -19,19 +21,22 @@ theme:
palette:
- scheme: default
toggle:
icon: material/toggle-switch-off-outline
icon: material/weather-night
name: Switch to dark mode
primary: white
accent: white
accent: teal
- scheme: slate
toggle:
icon: material/toggle-switch
icon: material/weather-sunny
name: Switch to light mode
primary: teal
accent: lime
primary: black
accent: indigo
font:
text: 'Roboto'
code: 'Roboto Mono'
text: 'DM Sans'
code: 'DM Mono'
features:
- content.tabs.link
- content.code.copy

# Social
extra:
Expand Down Expand Up @@ -60,10 +65,8 @@ nav:
#- 'Change Log': changelog.md
#- 'Contributing': contributing.md
- 'Code of Conduct': code_of_conduct.md

# CSS
extra_css:
- 'css/site.css'
- 'Sample code': https://github.com/MohamedRejeb/Compose-Rich-Editor/blob/main/sample/common/src/commonMain/kotlin/com/mohamedrejeb/richeditor/sample/common
- '🕸️ Sample WASM app': https://compose-richeditor.netlify.app/

# Extensions
markdown_extensions:
Expand All @@ -90,6 +93,7 @@ plugins:
- search
- minify:
minify_html: true
- open-in-new-tab

# Copyright
copyright: |
Expand Down

0 comments on commit efd9d58

Please sign in to comment.