Giter Site home page Giter Site logo

degenesisfvtt-articss's Introduction

degenesisfvtt-artiCSS

Styling for the Degenesis system of Foundry VTT

About

I really love how customizable Foundry and the Degenesis system for it is, so I made a quick CSS hack because I love the Artifacts style as well. (shown with Harms Way module loaded). These changes do not touch your main Degenesis system at all, they are CSS overrides done by a module you need, Custom CSS.

chat image

How to install

  1. Install the Custom CSS Module in Foundry VTT ( https://foundryvtt.com/packages/custom-css )
  2. Go to the Module Settings of Custom CSS and click the Custom CSS Rules button
  3. Paste the content of the Degenesis Arti Style.css file for V9 or the degenesis-artifacts-styling-v10.css for V10 into the Custom CSS Rules window and click save.
  4. The Artifacts styling should now be applied to your Degenesis system.

This file contains the Artifacts styling for PC sheets and the Chat Card display. If you just want a part, look for the comment section "/* * Start of Sheet CSS */" and cut there.

Customizing - V10

It's possible to relatively easy change the main UI color to something different than the Artifacts Gold. All you need to do is look at the color definitions starting at the root code part of the code.

Change the first few values (the 45, 26% or 40%) in the :root declaration to change your style - either globally in the upper Custom CSS window or just for the current user if you add it into the lower one.

:root {
  /* Change the dgns-h number to change the hue of color */
  /* Hue        */ 
  --dgns-h: 45;
  /* Saturation */
  --dgns-s: 26%;
  /* Lightness  */
  --dgns-l: 40%;
  }

Customizing - V9

It's possible to relatively easy change the main UI color to something different than the Artifacts Gold. All you need to do is look at the color definitions starting at the root code part of the Degenesis Arti Style.css code. The Color Definitions comment in the CSS file explains how it works.

The only things currently not easily changeable are the Culture/Concept/Cult Icons and the sheet's lines at the borders. Examples of changing the main color:

recolor image Red style uses the following color codes for example:

    :root {
      --degenesis-red: hsl(0deg 65% 41%);
      --blackred: hsl(0deg 65% 21%);
      --lightred: hsl(0deg 65% 61%);
      --darkred: hsl(0deg 65% 10%);
    }

image This Chronicler blue style uses:

    :root {
      --degenesis-red: hsl(200deg 35% 41%);
      --blackred: hsl(200deg 35% 21%);
      --lightred: hsl(200deg 35% 61%);
      --darkred: hsl(200deg 35% 10%);
    }

Disclaimer

not 100% perfect. You can report any bugs or issues here on Github or directly to me on the Degenesis Discord.

To Do

  • Needs fixing: Text Editor field text displayed in black color when editing

Credits

License

Licensed under the MIT License terms https://mit-license.org

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.