How do i change ATOM theme (im noob in css)

I watched this video about Obsidian and I really want to give it a shot.
At 6:08 there is a snippet I want to add to my atom theme
I installed an app called Atom, but I don’t know where to put it.

I don’t know where to put this snippet he showed us in video.
Please help guys.

https://www.youtube.com/watch?v=E6ySG7xYgjY (VIDEO)

You’ll have to get the snippet from somewhere, but how to use CSS snippets is detailed here:

Isn’t this snippet I should use?

h1 {

background: rgb(198,255,221);
background: radial-gradient(circle, rgba(198,255,221,1) 0%, rgba(255,224,155,1) 53%, rgba(255,200,202,1) 100%); -webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
h2 {

background: radial-gradient(circle, rgba(255, 239, 186,1) 0%, rgba(255,255,255,1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

This was shown in the video above.

Never mind, found it.

I was just in editing mode, when I switched to viewing it appeared.

Thank you man!

Got it. Yeah, I wasn’t sure if you had the snippet or not.

For next time, keep in mind simple selectors like h1, p, code etc., only cover rendered/reading modes. Easy to spot.

Live Preview is a lot more messy :face_with_spiral_eyes:.

Can I make it so I can also see it in editing mode?

Might be doable. Generally heading selectors look something like .HyperMD-header-1 for editing mode.

There’s a great guide here:

Man, I am too smart, thank you for giving me .HyperMD-header-1 sentence.

I just made different snippet with same code, I just changed tittle.

Now I have 2 snippets, one for editing and one for viewing.

Thanks so much dude.

Totally up to you, but you could put both of those in the same .css file as they are related and naturally go together.

Yeah, that was my first instinct, but I didn’t work for some reason.

Fuck, my heading 2 doesn’t work.

What do you think the problem is?

I’m not really sure what the headings should look like (I haven’t watched the video), but with some with some copying, pasting, and random adjustments, I ended up with this:

h1 {
    background: rgb(198,255,221);
    background: radial-gradient(circle, rgba(198,255,221,1) 0%, rgba(255,224,155,1) 53%, rgba(255,200,202,1) 100%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    background: rgb(198,255,221);
    background: radial-gradient(circle, rgba(75,255,221,1) 0%, rgba(255,100,155,1) 53%, rgba(255,200,202,200) 100%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

Thanks man, you helped me a lot. Really appreciate it G

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.