Skip to content

Commit f8899e9

Browse files
author
mkb
committed
change default theme
1 parent f742ebd commit f8899e9

File tree

8 files changed

+156
-111
lines changed

8 files changed

+156
-111
lines changed

.DS_Store

10 KB
Binary file not shown.

0.16.0 scss/_full-palette.scss

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
/*
2-
* Specific to full palette theme
3-
*/
4-
5-
.ctp-full-palette.ctp-full-palette {
1+
.theme-dark:not(.ctp-accent-blue, .ctp-accent-flamingo, .ctp-accent-green, .ctp-accent-lavender, .ctp-accent-maroon, .ctp-accent-mauve, .ctp-accent-peach, .ctp-accent-pink, .ctp-accent-red, .ctp-accent-rosewater, .ctp-accent-sapphire, .ctp-accent-sky, .ctp-accent-teal, .ctp-accent-yellow),
2+
.theme-light:not(.ctp-accent-blue, .ctp-accent-flamingo, .ctp-accent-green, .ctp-accent-lavender, .ctp-accent-maroon, .ctp-accent-mauve, .ctp-accent-peach, .ctp-accent-pink, .ctp-accent-red, .ctp-accent-rosewater, .ctp-accent-sapphire, .ctp-accent-sky, .ctp-accent-teal, .ctp-accent-yellow) {
63
--blockquote-border-color: rgb(var(--ctp-lavender));
74
--color-accent: var(--ctp-rosewater);
85
--divider-color-hover: rgb(var(--ctp-blue));

0.16.0 scss/base.scss

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@
99
@use "sidebar";
1010
@use "tabs";
1111
@use "typography";
12-

0.16.0 scss/ctp-style-settings.scss

+4-7
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,12 @@ settings:
199199
--ctp-crust: 17, 17, 27;
200200
}
201201

202-
.theme-dark,
203-
.theme-light {
204-
--ctp-accent: var(--ctp-rosewater);
205-
}
206-
207202
/* ------------------Selecting Accents------------------- */
208203

204+
.ctp-full-palette {
205+
--ctp-accent: var(--ctp-lavander);
206+
}
207+
209208
.ctp-accent-rosewater {
210209
--ctp-accent: var(--ctp-rosewater);
211210
}
@@ -304,8 +303,6 @@ settings:
304303
--scrollbar-active-thumb-bg: rgba(var(--ctp-text), 0.2);
305304
--scrollbar-bg: rgba(var(--ctp-text), 0.05);
306305
--scrollbar-thumb-bg: rgba(var(--ctp-text), 0.1);
307-
308-
/* changes to app.css variables */
309306
}
310307

311308
.theme-dark {

README.md

+5-19
Original file line numberDiff line numberDiff line change
@@ -15,44 +15,30 @@
1515
<img src="https://github.com/catppuccin/obsidian/blob/main/assets/screenshot.png"/>
1616
</p>
1717

18-
## Temporary note: Obsidian 0.16.0 and Catppuccin
19-
20-
Please see https://github.com/catppuccin/obsidian/issues/16#issue-1354963436 for information about how the current insider build and upcoming public release of Obsidian 0.16.0 will affect the Catppuccin theme. tl;dr, the theme will be considered deprecated in 0.16.0 until it is updated to work with the app's new default theme. In the meantime, if you are an insider and want to keep using Catppuccin, turn off insider builds to stay on 0.15.9. (But I think the new default theme is worth the update for insiders!) I will be working on getting Catppuccin 0.16.0 compliant and hopefully finished by the time of public release.
21-
2218
## About
2319

24-
This theme covers my use case for the app. That said! Part of what makes Obsidian so fantastic is its many features and extended universe of user-created plugins. As time goes on, I would like to add more compatibility between the theme and some of the more popular plugins. Additionally, Obsidian now has a legacy editor. There be dragons, but none too bad: Most of the css was written before the new editor's beta. Currently the theme uses some css from [Kepano's Hider](https://github.com/kepano/obsidian-hider) plugin. That will change soon, but you may need to do some cmd/ctrl+p-ing in the meantime if you are used to buttons. (:
20+
This is the initial version of the Catppuccin theme for version 1.0.0 of Obsidian. The Obsidian update came with big changes to the program's UI, so this theme is still a work in progress, with many tweaks and improvements to come.
2521

2622
## Usage
23+
This theme currently benefits most when used with the [Style Settings](https://github.com/mgmeyers/obsidian-style-settings#obsidian-style-settings-plugin) plugin. This plugin will allow users to pick from several variations of the Catppuccin theme, including accents for each color in the palette and one that features a broader selection of Catppuccin colors (the default). In time, more options will be exposed through the Style Settings plugin so that users can pick and choose what colors of the palette they prefer.
2724

2825
### Obsidian theme store
2926

3027
To install from the Obsidian theme store:
3128
Open Obisidian and go to `Preferences` >> `Appearance`, click `Manage` and scroll down to 'Community Themes.' Type 'Catppuccin' in the filter bar and then click 'Use' under the theme name.
3229

33-
### Manual
34-
35-
1. Download the [catppuccin.css](https://github.com/mbeckrich/obsidian/blob/main/obsidian.css) file
36-
2. Put it under your Vault's configuration folder (e.g. `<vault>/.obsidian/themes/`)
37-
3. Open Obisidian and go to `Preferences` >> `Appearance` >> `Manage`
38-
4. Select `Catppuccin`
39-
4030
## Development
4131

4232
See the [Releases](https://github.com/catppuccin/obsidian/releases) page for the latest news.
4333

44-
### The shape of things to come
45-
46-
+ [x] Style Settings plugin compatibility
47-
+ [x] Behind the scenes cleanup of scss/css
48-
+ [ ] Tweaks to improve theme consistency throughout UI
49-
+ [ ] Mobile version
34+
Please be aware that, due to the newness of the theme, there may be use cases I've not considered or inconsistencies I haven't yet noticed. If you find a problem, please open an issue.
5035

51-
PRs and constructive feedback more than welcome.
36+
Finally, as of the 0.2.0 release of this theme, the CSS is ugly to look at and disorganized. So, pardon the mess, but it will be cleaned up -- promise!
5237

5338
## 💝 Thanks to
5439

5540
+ [mbeckrich](https://github.com/mbeckrich)
41+
+ [AnubisNekhet](https://github.com/anubisnekhet)
5642
+ The talented and kindhearted people in the Obsidian discord's CSS channel. In particular:
5743
+ [Chetachi](https://github.com/chetachiezikeuzor/Yin-and-Yang-Theme/)
5844
+ [Kepano](https://github.com/kepano/obsidian-minimal)

assets/screenshot.png

11.2 KB
Loading

0 commit comments

Comments
 (0)