Giter Club home page Giter Club logo

Comments (6)

jldohmann avatar jldohmann commented on June 8, 2024 1

@roiholtzman check out the file Dracula.nb which is the stylesheet that contains all the rules for which headings get certain colors. This is the file that would be edited to either change or include the cells you're interested in.

E.g., for Section cells:

Cell[
  StyleData["Section"], 
  FontColor -> RGBColor[
  0.8274509803921568, 0.8274509803921568, 0.8274509803921568
]]

from wolfram-notebooks.

roiholtzman avatar roiholtzman commented on June 8, 2024 1

@jldohmann thank you so much! I was able to do it now:)
I put my custom stylesheet in the appropriate folder (which is opened via SystemOpen[FileNameJoin[{$UserBaseDirectory,"SystemFiles","FrontEnd","StyleSheets"}]] as written in the installation instructions).
To make it my default stylesheet, I ran SetOptions[$FrontEnd, DefaultStyleDefinitions->"DraculaCustom.nb"], and everything is perfect.
Thanks!

from wolfram-notebooks.

jldohmann avatar jldohmann commented on June 8, 2024

Hi @roiholtzman no, there's nothing wrong with your setup. They're just cell styles that I don't use much

If you end up opening a PR for a change in color for these cell styles, here's the dracula color palette: https://draculatheme.com/contribute#color-palette

from wolfram-notebooks.

roiholtzman avatar roiholtzman commented on June 8, 2024

@jldohmann I didn't understand where I can change them. Can you point me to the right direction?

from wolfram-notebooks.

roiholtzman avatar roiholtzman commented on June 8, 2024

@jldohmann I tried to edit this file, but I do not succeed. Is the file "locked" somehow?
(Sorry for my beginner's questions, I just do not see how to edit this file).

from wolfram-notebooks.

jldohmann avatar jldohmann commented on June 8, 2024

@roiholtzman it's alright 🙂 The easiest way to change a style is to follow the workflow "Edit a Style in a Notebook's Stylesheet" which walks you thru the steps of editing stylesheets.

However, you will get more customization if you convert the cell in question to its expression form, and change any corresponding options to what you would like. For certain style defintions, like StyleData[Notebook], this is especially useful because there are many fine tuned options within.

from wolfram-notebooks.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.