-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix#2373 #3473
Fix#2373 #3473
Conversation
I'll test this when I get home |
@arcturus140 Looks cool, the CSS works but it doesn't get loaded for users who already have setting....how can we fix this issue? |
@ZeroX-DG hm, let me think about it. If I add it hard coded I am not sure if the user can override it with custom CSS. I'll try this first. Otherwise maybe add a reset button to override the current custom CSS, like in Boost Note. |
Maybe just leave it like that, if old user want to update their custom CSS, we can told them to paste these CSS in themselves? @Flexo013 do you have any idea on this? |
@ZeroX-DG issue 2373 is considered a bug, therefore the user most likely wants to have this change applied and this PR should be a bugfix. I'll make some changes, maybe even by applying some CSS to default and other to custom CSS. Not sure if I work on this this weekend. Do you think default look should be more decent or can it stay as is? |
how can I change this into WIP? |
@ZeroX-DG do you know where settings are stored on linux when using I know the packaged install is in |
the CSS styling is now in the code. Additionally, a sample has been added to the custom CSS so the user can simply make the modifications to his liking. 👍 ok, I think that's it, I'm done! 😸 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool, I think the users can still override your css using !important
if they want to. Thank you 👍
@arcturus140 Some people might not like this change. What should we do if people don't like this coloring? |
@Rokt33r they can simply override it using the custom CSS feature. CSS [data-theme="default"] p code,
[data-theme="default"] li code
{
background-color: black;
border-color: #d9d9d9;
color: red;
} |
Hmm... I see. But I still want to see more feedback before I merge this. |
@Rokt33r Additionally, an example is provided in the custom CSS text field in preferences so the user knows which elements to apply styling on. One can remove the border, the rounded edges, or add additional styling ... Of course we can also default to anything we want so feedback is much appreciated 😺 |
@arcturus140 can you resolve the conflict please? |
@arcturus140 PING |
@ZeroX-DG @arcturus140 I'll deal with this and merge it in this weekend. So you don't need to fix conflicts. |
@Rokt33r looks great, I like it. |
Description
This pull request provides additional styling for
code
elements.before
after
Disclaimer:
Issue fixed
This PR automatically closes #2373 .
Type of changes