This document was written to guide you in creating a new theme for our web app and contributing to our project.
The first thing you need to do is clone our repository:
git clone https://github.com/aqerd/CVbuilder.gitThen, create a new branch.
Create a new CSS file in themes directory. Name it whatever you want in lowercase and add colors in :root:
:root {
--bg-color: #ffffff;
--main-color: #ffffff;
--accent-color: #ffffff;
--interaction-color: #ffffff;
--hover-color: #ffffff;
--neutral-color: #ffffff;
--border-color: #ffffff;
}--bg-coloris the background color.--main-coloris the color used for text, activated buttons, and inputs.--accent-coloris the color used for bold text and references.--interaction-coloris the color used for buttons.--hover-coloris the color used for hovered buttons.--neutral-coloris for placeholders.--border-coloris for input borders.
Go to themes.json and add this to the end of the file:
"light": {
"background": "#ffffff",
"main": "#000000",
"interaction": "#888888",
"accent": "#fde910"
}Replace key with your theme name in lowercase. Also, you need to add 4 colors to make them visible from other themes.
You are ready to create new pull request. Label it with new theme tag and wait for owner's review.