Closed fenilgmehta closed 1 year ago
Hey @fenilgmehta ! Thanks for the PR!
The background color for the inline code is a bit too dark and doesn't match the spec colors, i think it would look better if we use a color from the specs instead, would the light-background
or the lighter-background
colors work?
Yes, I understand that. Is it that the color used by the Obsidian Dracula theme (#1a1e24
source) not conformant with the original Dracula theme ?
light-background
does not work as pointed in the below image
lighter-background
also does not seem to look good
Using single color do not look pleasant since 4 different backgrounds are possible. Hence, updated the code to use different colors based on the background, and the screenshots too. Can you please check now.
Fixes https://github.com/dracula/logseq/issues/15
The color used is
#1a1e24
Source: https://github.com/dracula/obsidian/blob/main/obsidian.css#L4Before
![image](https://user-images.githubusercontent.com/42742240/214802287-c988d90e-e2cc-408e-8e65-b812163a1ea7.png)
After
![image](https://user-images.githubusercontent.com/42742240/214802114-0f796763-2da8-4599-a5ce-13a6c973c24a.png)
Before
![image](https://user-images.githubusercontent.com/42742240/214776440-d7b33ed5-2527-4c16-ac4a-b9ce0fc97a2d.png)
After
![image](https://user-images.githubusercontent.com/42742240/214776698-e6a7465d-4799-48f2-b0eb-8ca1b21a36bb.png)