Skip to content

squirrel-bat/godot-syntax-themes-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godot Syntax Themes Demo!

This repository contains the source code for the website Godot Syntax Themes Demonstration1, which is a live demonstration of all themes currently available in the godot-syntax-themes repository!

Development

Prerequisites

Local Setup

This project relies on the contents of the godot-syntax-themes repository. For this purpose, we've got an importer written in python to fetch the latest version of all .tet files, translate them into CSS styles, save them as ./src/themes.css and generate a modified copy of ./src/dry_index.html as ./src/index.html, adding <option> tags for the themes to select from.

You must run the importer at least once in order to generate index.html and themes.css.

Warning

Any changes to index.html will be ignored by git on purpose as this is a generated file by the importer. Make sure to always work on and commit dry_index.html instead.

Using the Importer

To start the importer, run:

python ./import/importer.py

To just (re)build index.html and themes.css, run:

python ./import/importer.py build

Footnotes

  1. very catchy name, I know. 😜

About

A live demonstration of syntax themes for the Godot Engine's built-in script editor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Contributors