Code Monkey home page Code Monkey logo

Comments (1)

seamia avatar seamia commented on July 28, 2024 1

Hi Nathan,

thank you for your interest.

here is how you can change the colors used:

  1. copy config.json into n8gray.config
  2. inside n8gray.config find section "colors", there you will find colors used and their "translation"
  3. let's say you want to change the background of the service block header - change
    "enum.header": "paired9:3",
    to
    "service.header": "#ffffff",
    (the result of your modifications needs to be a valid JSON file, ... kinda obvious =)
  4. run protodot with you configuration, e.g.
    protodot -config n8gray.config -src source.proto -output resulting.dot
  • when it comes to the names of the colors (used in the config.json), they are referring to names used in:
    https://www.graphviz.org/doc/info/colors.html

  • if you see something like "greys9:5" - it means color scheme "greys9" (see the link above) and color of index "5" in that scheme.

hope this helps

=)

from protodot.

Related Issues (13)

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.