├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── build.yml │ └── ci.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── MANIFEST.in ├── README.md ├── SECURITY.md ├── license.txt ├── requirements.txt ├── setup.py ├── sonar.projectKey=vineyrawat_Tekton-Theme_AYyHV0yEiErSpCFll2KN └── tekton_theme ├── __init__.py ├── config ├── __init__.py ├── desktop.py └── docs.py ├── hooks.py ├── modules.txt ├── overrides └── user │ └── user.py ├── patches.txt ├── public ├── .gitkeep ├── dist │ ├── css-rtl │ │ ├── tekton.bundle.UXC3QQJ5.css │ │ └── tekton.bundle.UXC3QQJ5.css.map │ ├── css │ │ ├── tekton.bundle.XC5WXIPC.css │ │ └── tekton.bundle.XC5WXIPC.css.map │ └── js │ │ ├── tekton.bundle.PJNQSDES.js │ │ └── tekton.bundle.PJNQSDES.js.map ├── js │ ├── tekton.bundle.js │ └── theme-switcher.js └── scss │ ├── tekton-blue.scss │ └── tekton.bundle.scss ├── tekton_theme └── __init__.py └── templates ├── __init__.py └── pages └── __init__.py /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | 9 | jobs: 10 | build: 11 | name: Build 12 | runs-on: ubuntu-latest 13 | permissions: read-all 14 | steps: 15 | - uses: actions/checkout@v2 16 | with: 17 | fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis 18 | - uses: sonarsource/sonarqube-scan-action@master 19 | env: 20 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} 21 | SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} 22 | # If you wish to fail your job when the Quality Gate is red, uncomment the 23 | # following lines. This would typically be used to fail a deployment. 24 | # - uses: sonarsource/sonarqube-quality-gate-action@master 25 | # timeout-minutes: 5 26 | # env: 27 | # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | 2 | name: CI 3 | 4 | on: 5 | push: 6 | branches: 7 | - develop 8 | pull_request: 9 | 10 | concurrency: 11 | group: develop-tekton_theme-${{ github.event.number }} 12 | cancel-in-progress: true 13 | 14 | jobs: 15 | tests: 16 | runs-on: ubuntu-latest 17 | strategy: 18 | fail-fast: false 19 | name: Server 20 | 21 | services: 22 | mariadb: 23 | image: mariadb:10.6 24 | env: 25 | MYSQL_ROOT_PASSWORD: root 26 | ports: 27 | - 3306:3306 28 | options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 29 | 30 | steps: 31 | - name: Clone 32 | uses: actions/checkout@v2 33 | 34 | - name: Setup Python 35 | uses: actions/setup-python@v2 36 | with: 37 | python-version: '3.10' 38 | 39 | - name: Setup Node 40 | uses: actions/setup-node@v2 41 | with: 42 | node-version: 14 43 | check-latest: true 44 | 45 | - name: Cache pip 46 | uses: actions/cache@v2 47 | with: 48 | path: ~/.cache/pip 49 | key: ${{ runner.os }}-pip-${{ hashFiles('**/*requirements.txt', '**/pyproject.toml', '**/setup.py', '**/setup.cfg') }} 50 | restore-keys: | 51 | ${{ runner.os }}-pip- 52 | ${{ runner.os }}- 53 | 54 | - name: Get yarn cache directory path 55 | id: yarn-cache-dir-path 56 | run: 'echo "::set-output name=dir::$(yarn cache dir)"' 57 | 58 | - uses: actions/cache@v2 59 | id: yarn-cache 60 | with: 61 | path: ${{ steps.yarn-cache-dir-path.outputs.dir }} 62 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} 63 | restore-keys: | 64 | ${{ runner.os }}-yarn- 65 | 66 | - name: Setup 67 | run: | 68 | pip install frappe-bench 69 | bench init --skip-redis-config-generation --skip-assets --python "$(which python)" ~/frappe-bench 70 | mysql --host 127.0.0.1 --port 3306 -u root -proot -e "SET GLOBAL character_set_server = 'utf8mb4'" 71 | mysql --host 127.0.0.1 --port 3306 -u root -proot -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'" 72 | 73 | - name: Install 74 | working-directory: /home/runner/frappe-bench 75 | run: | 76 | bench get-app tekton_theme $GITHUB_WORKSPACE 77 | bench setup requirements --dev 78 | bench new-site --db-root-password root --admin-password admin test_site 79 | bench --site test_site install-app tekton_theme 80 | bench build 81 | env: 82 | CI: 'Yes' 83 | 84 | - name: Run Tests 85 | working-directory: /home/runner/frappe-bench 86 | run: | 87 | bench --site test_site set-config allow_tests true 88 | bench --site test_site run-tests --app tekton_theme 89 | env: 90 | TYPE: server 91 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.pyc 3 | *.egg-info 4 | *.swp 5 | tags 6 | tekton_theme/docs/current 7 | node_modules/ -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | community a harassment-free experience for everyone, regardless of age, body 7 | size, visible or invisible disability, ethnicity, sex characteristics, gender 8 | identity and expression, level of experience, education, socio-economic status, 9 | nationality, personal appearance, race, religion, or sexual identity 10 | and orientation. 11 | 12 | We pledge to act and interact in ways that contribute to an open, welcoming, 13 | diverse, inclusive, and healthy community. 14 | 15 | ## Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our 18 | community include: 19 | 20 | * Demonstrating empathy and kindness toward other people 21 | * Being respectful of differing opinions, viewpoints, and experiences 22 | * Giving and gracefully accepting constructive feedback 23 | * Accepting responsibility and apologizing to those affected by our mistakes, 24 | and learning from the experience 25 | * Focusing on what is best not just for us as individuals, but for the 26 | overall community 27 | 28 | Examples of unacceptable behavior include: 29 | 30 | * The use of sexualized language or imagery, and sexual attention or 31 | advances of any kind 32 | * Trolling, insulting or derogatory comments, and personal or political attacks 33 | * Public or private harassment 34 | * Publishing others' private information, such as a physical or email 35 | address, without their explicit permission 36 | * Other conduct which could reasonably be considered inappropriate in a 37 | professional setting 38 | 39 | ## Enforcement Responsibilities 40 | 41 | Community leaders are responsible for clarifying and enforcing our standards of 42 | acceptable behavior and will take appropriate and fair corrective action in 43 | response to any behavior that they deem inappropriate, threatening, offensive, 44 | or harmful. 45 | 46 | Community leaders have the right and responsibility to remove, edit, or reject 47 | comments, commits, code, wiki edits, issues, and other contributions that are 48 | not aligned to this Code of Conduct, and will communicate reasons for moderation 49 | decisions when appropriate. 50 | 51 | ## Scope 52 | 53 | This Code of Conduct applies within all community spaces, and also applies when 54 | an individual is officially representing the community in public spaces. 55 | Examples of representing our community include using an official e-mail address, 56 | posting via an official social media account, or acting as an appointed 57 | representative at an online or offline event. 58 | 59 | ## Enforcement 60 | 61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 62 | reported to the community leaders responsible for enforcement at 63 | . 64 | All complaints will be reviewed and investigated promptly and fairly. 65 | 66 | All community leaders are obligated to respect the privacy and security of the 67 | reporter of any incident. 68 | 69 | ## Enforcement Guidelines 70 | 71 | Community leaders will follow these Community Impact Guidelines in determining 72 | the consequences for any action they deem in violation of this Code of Conduct: 73 | 74 | ### 1. Correction 75 | 76 | **Community Impact**: Use of inappropriate language or other behavior deemed 77 | unprofessional or unwelcome in the community. 78 | 79 | **Consequence**: A private, written warning from community leaders, providing 80 | clarity around the nature of the violation and an explanation of why the 81 | behavior was inappropriate. A public apology may be requested. 82 | 83 | ### 2. Warning 84 | 85 | **Community Impact**: A violation through a single incident or series 86 | of actions. 87 | 88 | **Consequence**: A warning with consequences for continued behavior. No 89 | interaction with the people involved, including unsolicited interaction with 90 | those enforcing the Code of Conduct, for a specified period of time. This 91 | includes avoiding interactions in community spaces as well as external channels 92 | like social media. Violating these terms may lead to a temporary or 93 | permanent ban. 94 | 95 | ### 3. Temporary Ban 96 | 97 | **Community Impact**: A serious violation of community standards, including 98 | sustained inappropriate behavior. 99 | 100 | **Consequence**: A temporary ban from any sort of interaction or public 101 | communication with the community for a specified period of time. No public or 102 | private interaction with the people involved, including unsolicited interaction 103 | with those enforcing the Code of Conduct, is allowed during this period. 104 | Violating these terms may lead to a permanent ban. 105 | 106 | ### 4. Permanent Ban 107 | 108 | **Community Impact**: Demonstrating a pattern of violation of community 109 | standards, including sustained inappropriate behavior, harassment of an 110 | individual, or aggression toward or disparagement of classes of individuals. 111 | 112 | **Consequence**: A permanent ban from any sort of public interaction within 113 | the community. 114 | 115 | ## Attribution 116 | 117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 118 | version 2.0, available at 119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. 120 | 121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct 122 | enforcement ladder](https://github.com/mozilla/diversity). 123 | 124 | [homepage]: https://www.contributor-covenant.org 125 | 126 | For answers to common questions about this code of conduct, see the FAQ at 127 | https://www.contributor-covenant.org/faq. Translations are available at 128 | https://www.contributor-covenant.org/translations. 129 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 2 | # Contributing to Tekton Theme 3 | 4 | First off, thanks for taking the time to contribute! ❤️ 5 | 6 | All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉 7 | 8 | > And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about: 9 | > - Star the project 10 | > - Tweet about it 11 | > - Refer this project in your project's readme 12 | > - Mention the project at local meetups and tell your friends/colleagues 13 | 14 | 15 | ## Table of Contents 16 | 17 | - [Code of Conduct](#code-of-conduct) 18 | - [I Have a Question](#i-have-a-question) 19 | - [I Want To Contribute](#i-want-to-contribute) 20 | - [Reporting Bugs](#reporting-bugs) 21 | - [Suggesting Enhancements](#suggesting-enhancements) 22 | - [Your First Code Contribution](#your-first-code-contribution) 23 | - [Improving The Documentation](#improving-the-documentation) 24 | - [Styleguides](#styleguides) 25 | - [Commit Messages](#commit-messages) 26 | - [Join The Project Team](#join-the-project-team) 27 | 28 | 29 | ## Code of Conduct 30 | 31 | This project and everyone participating in it is governed by the 32 | [Tekton Theme Code of Conduct](https://github.com/vineyrawat/Tekton-Themeblob/master/CODE_OF_CONDUCT.md). 33 | By participating, you are expected to uphold this code. Please report unacceptable behavior 34 | to <>. 35 | 36 | 37 | ## I Have a Question 38 | 39 | > If you want to ask a question, we assume that you have read the available [Documentation](https://github.com/vineyrawat/Tekton-Theme). 40 | 41 | Before you ask a question, it is best to search for existing [Issues](https://github.com/vineyrawat/Tekton-Theme/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first. 42 | 43 | If you then still feel the need to ask a question and need clarification, we recommend the following: 44 | 45 | - Open an [Issue](https://github.com/vineyrawat/Tekton-Theme/issues/new). 46 | - Provide as much context as you can about what you're running into. 47 | - Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant. 48 | 49 | We will then take care of the issue as soon as possible. 50 | 51 | 65 | 66 | ## I Want To Contribute 67 | 68 | > ### Legal Notice 69 | > When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license. 70 | 71 | ### Reporting Bugs 72 | 73 | 74 | #### Before Submitting a Bug Report 75 | 76 | A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible. 77 | 78 | - Make sure that you are using the latest version. 79 | - Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://github.com/vineyrawat/Tekton-Theme). If you are looking for support, you might want to check [this section](#i-have-a-question)). 80 | - To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/vineyrawat/Tekton-Themeissues?q=label%3Abug). 81 | - Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue. 82 | - Collect information about the bug: 83 | - Stack trace (Traceback) 84 | - OS, Platform and Version (Windows, Linux, macOS, x86, ARM) 85 | - Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant. 86 | - Possibly your input and the output 87 | - Can you reliably reproduce the issue? And can you also reproduce it with older versions? 88 | 89 | 90 | #### How Do I Submit a Good Bug Report? 91 | 92 | > You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <>. 93 | 94 | 95 | We use GitHub issues to track bugs and errors. If you run into an issue with the project: 96 | 97 | - Open an [Issue](https://github.com/vineyrawat/Tekton-Theme/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.) 98 | - Explain the behavior you would expect and the actual behavior. 99 | - Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case. 100 | - Provide the information you collected in the previous section. 101 | 102 | Once it's filed: 103 | 104 | - The project team will label the issue accordingly. 105 | - A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced. 106 | - If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution). 107 | 108 | 109 | 110 | 111 | ### Suggesting Enhancements 112 | 113 | This section guides you through submitting an enhancement suggestion for Tekton Theme, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions. 114 | 115 | 116 | #### Before Submitting an Enhancement 117 | 118 | - Make sure that you are using the latest version. 119 | - Read the [documentation](https://github.com/vineyrawat/Tekton-Theme) carefully and find out if the functionality is already covered, maybe by an individual configuration. 120 | - Perform a [search](https://github.com/vineyrawat/Tekton-Theme/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. 121 | - Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library. 122 | 123 | 124 | #### How Do I Submit a Good Enhancement Suggestion? 125 | 126 | Enhancement suggestions are tracked as [GitHub issues](https://github.com/vineyrawat/Tekton-Theme/issues). 127 | 128 | - Use a **clear and descriptive title** for the issue to identify the suggestion. 129 | - Provide a **step-by-step description of the suggested enhancement** in as many details as possible. 130 | - **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you. 131 | - You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. 132 | - **Explain why this enhancement would be useful** to most Tekton Theme users. You may also want to point out the other projects that solved it better and which could serve as inspiration. 133 | 134 | 135 | 136 | ### Your First Code Contribution 137 | 141 | 142 | ### Improving The Documentation 143 | 147 | 148 | ## Styleguides 149 | ### Commit Messages 150 | 153 | 154 | ## Join The Project Team 155 | 156 | 157 | 158 | ## Attribution 159 | This guide is based on the **contributing-gen**. [Make your own](https://github.com/bttger/contributing-gen)! 160 | -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include MANIFEST.in 2 | include requirements.txt 3 | include *.json 4 | include *.md 5 | include *.py 6 | include *.txt 7 | recursive-include tekton_theme *.css 8 | recursive-include tekton_theme *.csv 9 | recursive-include tekton_theme *.html 10 | recursive-include tekton_theme *.ico 11 | recursive-include tekton_theme *.js 12 | recursive-include tekton_theme *.json 13 | recursive-include tekton_theme *.md 14 | recursive-include tekton_theme *.png 15 | recursive-include tekton_theme *.py 16 | recursive-include tekton_theme *.svg 17 | recursive-include tekton_theme *.txt 18 | recursive-exclude tekton_theme *.pyc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tekton-Theme Frappe Custom App 2 | 3 | Tekton-Theme is a custom app for Frappe that enhances the theme switcher functionality by providing additional themes. As of now, it includes one theme called 'Tekton Blue'. 4 | 5 | ![image](https://github.com/vineyrawat/Tekton-Theme/assets/77631301/0923eb34-1232-4dc1-ab60-852ec66af2ef) 6 | 7 | 8 | ## Installation 9 | 10 | To install the Tekton-Theme custom app, follow the steps below: 11 | 12 | 1. Make sure you have Frappe installed and set up in your environment. 13 | 2. Clone the Tekton-Theme repository from GitHub into the `apps` directory of your Frappe instance: 14 | 15 | ``` 16 | cd /path/to/frappe-bench 17 | bench get-app tekton_theme https://github.com/vineyrawat/Tekton-Theme.git 18 | ``` 19 | 20 | 3. Install the app using the Frappe Bench: 21 | 22 | ``` 23 | cd /path/to/frappe-bench 24 | bench --site your-site-name install-app tekton_theme 25 | ``` 26 | 27 | 4. After successful installation, restart your Frappe instance to apply the changes. 28 | 29 | ## Available Themes 30 | 31 | As of now, the Tekton-Theme custom app provides the following theme: 32 | 33 | 1. Tekton Blue 34 | 35 | ## Usage 36 | 37 | Once you have installed the Tekton-Theme custom app, you can access the theme switcher in your Frappe instance and select 'Tekton Blue' from the list of available themes. The selected theme will be applied to your Frappe application. 38 | 39 | Please note that more themes may be added in future updates of the Tekton-Theme app. 40 | 41 | ## Contributing 42 | 43 | If you have ideas for additional themes or improvements to the Tekton-Theme app, we welcome contributions. Feel free to fork the repository, make changes, and submit a pull request. 44 | 45 | ## License 46 | 47 | This Frappe custom app is licensed under the [MIT License](LICENSE). Feel free to use, modify, and distribute it as per the terms of the license. 48 | 49 | ## Support 50 | 51 | For any issues, questions, or support related to the Tekton-Theme app, you can create an issue on the GitHub repository or contact the maintainers directly. 52 | 53 | Thank you for using Tekton-Theme for Frappe! We hope you enjoy the extra theme options it provides for your application. 54 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | | Version | Supported | 3 | | ------- | ------------------ | 4 | | 0.0.1 | :white_check_mark: | 5 | -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | License: MIT -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | # frappe -- https://github.com/frappe/frappe is installed via 'bench init' -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- 1 | from setuptools import setup, find_packages 2 | 3 | with open("requirements.txt") as f: 4 | install_requires = f.read().strip().split("\n") 5 | 6 | # get version from __version__ variable in tekton_theme/__init__.py 7 | from tekton_theme import __version__ as version 8 | 9 | setup( 10 | name="tekton_theme", 11 | version=version, 12 | description="Tekton", 13 | author="Vinay Rawat", 14 | author_email="vineyrawat@yahoo.com", 15 | packages=find_packages(), 16 | zip_safe=False, 17 | include_package_data=True, 18 | install_requires=install_requires 19 | ) 20 | -------------------------------------------------------------------------------- /sonar.projectKey=vineyrawat_Tekton-Theme_AYyHV0yEiErSpCFll2KN: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vineyrawat/Tekton-Theme/33cf86760eea12a299a7fb402c860a5815526835/sonar.projectKey=vineyrawat_Tekton-Theme_AYyHV0yEiErSpCFll2KN -------------------------------------------------------------------------------- /tekton_theme/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | __version__ = '0.0.1' 3 | 4 | -------------------------------------------------------------------------------- /tekton_theme/config/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vineyrawat/Tekton-Theme/33cf86760eea12a299a7fb402c860a5815526835/tekton_theme/config/__init__.py -------------------------------------------------------------------------------- /tekton_theme/config/desktop.py: -------------------------------------------------------------------------------- 1 | from frappe import _ 2 | 3 | def get_data(): 4 | return [ 5 | { 6 | "module_name": "Tekton Theme", 7 | "type": "module", 8 | "label": _("Tekton Theme") 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /tekton_theme/config/docs.py: -------------------------------------------------------------------------------- 1 | """ 2 | Configuration for docs 3 | """ 4 | 5 | # source_link = "https://github.com/[org_name]/tekton_theme" 6 | # headline = "App that does everything" 7 | # sub_heading = "Yes, you got that right the first time, everything" 8 | 9 | def get_context(context): 10 | context.brand_html = "Tekton Theme" 11 | -------------------------------------------------------------------------------- /tekton_theme/hooks.py: -------------------------------------------------------------------------------- 1 | from . import __version__ as app_version 2 | 3 | app_name = "tekton_theme" 4 | app_title = "Tekton Theme" 5 | app_publisher = "Vinay Rawat" 6 | app_description = "Tekton" 7 | app_email = "vineyrawat@yahoo.com" 8 | app_license = "MIT" 9 | 10 | # Includes in 11 | # ------------------ 12 | 13 | # include js, css files in header of desk.html 14 | app_include_js = ["tekton.bundle.js"] 15 | app_include_css = "tekton.bundle.css" 16 | 17 | # include js, css files in header of web template 18 | # web_include_css = "/assets/tekton_theme/css/tekton_theme.css" 19 | # web_include_js = "/assets/tekton_theme/js/tekton_theme.js" 20 | 21 | # include custom scss in every website theme (without file extension ".scss") 22 | # website_theme_scss = "tekton_theme/public/scss/website" 23 | 24 | # include js, css files in header of web form 25 | # webform_include_js = {"doctype": "public/js/doctype.js"} 26 | # webform_include_css = {"doctype": "public/css/doctype.css"} 27 | 28 | # include js in page 29 | # page_js = {"page" : "public/js/file.js"} 30 | 31 | # include js in doctype views 32 | # doctype_js = {"doctype" : "public/js/doctype.js"} 33 | # doctype_list_js = {"doctype" : "public/js/doctype_list.js"} 34 | # doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"} 35 | # doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"} 36 | 37 | # Home Pages 38 | # ---------- 39 | 40 | # application home page (will override Website Settings) 41 | # home_page = "login" 42 | 43 | # website user home page (by Role) 44 | # role_home_page = { 45 | # "Role": "home_page" 46 | # } 47 | 48 | # Generators 49 | # ---------- 50 | 51 | # automatically create page for each record of this doctype 52 | # website_generators = ["Web Page"] 53 | 54 | # Jinja 55 | # ---------- 56 | 57 | # add methods and filters to jinja environment 58 | # jinja = { 59 | # "methods": "tekton_theme.utils.jinja_methods", 60 | # "filters": "tekton_theme.utils.jinja_filters" 61 | # } 62 | 63 | # Installation 64 | # ------------ 65 | 66 | # before_install = "tekton_theme.install.before_install" 67 | # after_install = "tekton_theme.install.after_install" 68 | 69 | # Uninstallation 70 | # ------------ 71 | 72 | # before_uninstall = "tekton_theme.uninstall.before_uninstall" 73 | # after_uninstall = "tekton_theme.uninstall.after_uninstall" 74 | 75 | # Desk Notifications 76 | # ------------------ 77 | # See frappe.core.notifications.get_notification_config 78 | 79 | # notification_config = "tekton_theme.notifications.get_notification_config" 80 | 81 | # Permissions 82 | # ----------- 83 | # Permissions evaluated in scripted ways 84 | 85 | # permission_query_conditions = { 86 | # "Event": "frappe.desk.doctype.event.event.get_permission_query_conditions", 87 | # } 88 | # 89 | # has_permission = { 90 | # "Event": "frappe.desk.doctype.event.event.has_permission", 91 | # } 92 | 93 | # DocType Class 94 | # --------------- 95 | # Override standard doctype classes 96 | 97 | # override_doctype_class = { 98 | # "ToDo": "custom_app.overrides.CustomToDo" 99 | # } 100 | 101 | # Document Events 102 | # --------------- 103 | # Hook on document methods and events 104 | 105 | # doc_events = { 106 | # "*": { 107 | # "on_update": "method", 108 | # "on_cancel": "method", 109 | # "on_trash": "method" 110 | # } 111 | # } 112 | 113 | # Scheduled Tasks 114 | # --------------- 115 | 116 | # scheduler_events = { 117 | # "all": [ 118 | # "tekton_theme.tasks.all" 119 | # ], 120 | # "daily": [ 121 | # "tekton_theme.tasks.daily" 122 | # ], 123 | # "hourly": [ 124 | # "tekton_theme.tasks.hourly" 125 | # ], 126 | # "weekly": [ 127 | # "tekton_theme.tasks.weekly" 128 | # ], 129 | # "monthly": [ 130 | # "tekton_theme.tasks.monthly" 131 | # ], 132 | # } 133 | 134 | # Testing 135 | # ------- 136 | 137 | # before_tests = "tekton_theme.install.before_tests" 138 | 139 | # Overriding Methods 140 | # ------------------------------ 141 | # 142 | override_whitelisted_methods = { 143 | "frappe.core.doctype.user.user.switch_theme": "tekton_theme.overrides.user.user.switch_theme" 144 | } 145 | # 146 | # each overriding function accepts a `data` argument; 147 | # generated from the base implementation of the doctype dashboard, 148 | # along with any modifications made in other Frappe apps 149 | # override_doctype_dashboards = { 150 | # "Task": "tekton_theme.task.get_dashboard_data" 151 | # } 152 | 153 | # exempt linked doctypes from being automatically cancelled 154 | # 155 | # auto_cancel_exempted_doctypes = ["Auto Repeat"] 156 | 157 | # Ignore links to specified DocTypes when deleting documents 158 | # ----------------------------------------------------------- 159 | 160 | # ignore_links_on_delete = ["Communication", "ToDo"] 161 | 162 | # Request Events 163 | # ---------------- 164 | # before_request = ["tekton_theme.utils.before_request"] 165 | # after_request = ["tekton_theme.utils.after_request"] 166 | 167 | # Job Events 168 | # ---------- 169 | # before_job = ["tekton_theme.utils.before_job"] 170 | # after_job = ["tekton_theme.utils.after_job"] 171 | 172 | # User Data Protection 173 | # -------------------- 174 | 175 | # user_data_fields = [ 176 | # { 177 | # "doctype": "{doctype_1}", 178 | # "filter_by": "{filter_by}", 179 | # "redact_fields": ["{field_1}", "{field_2}"], 180 | # "partial": 1, 181 | # }, 182 | # { 183 | # "doctype": "{doctype_2}", 184 | # "filter_by": "{filter_by}", 185 | # "partial": 1, 186 | # }, 187 | # { 188 | # "doctype": "{doctype_3}", 189 | # "strict": False, 190 | # }, 191 | # { 192 | # "doctype": "{doctype_4}" 193 | # } 194 | # ] 195 | 196 | # Authentication and authorization 197 | # -------------------------------- 198 | 199 | # auth_hooks = [ 200 | # "tekton_theme.auth.validate" 201 | # ] 202 | -------------------------------------------------------------------------------- /tekton_theme/modules.txt: -------------------------------------------------------------------------------- 1 | Tekton Theme -------------------------------------------------------------------------------- /tekton_theme/overrides/user/user.py: -------------------------------------------------------------------------------- 1 | import frappe 2 | 3 | @frappe.whitelist() 4 | def switch_theme(theme): 5 | if theme in ["Dark", "Light", "Automatic", "Tekton-blue"]: 6 | frappe.db.set_value("User", frappe.session.user, "desk_theme", theme) -------------------------------------------------------------------------------- /tekton_theme/patches.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vineyrawat/Tekton-Theme/33cf86760eea12a299a7fb402c860a5815526835/tekton_theme/patches.txt -------------------------------------------------------------------------------- /tekton_theme/public/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vineyrawat/Tekton-Theme/33cf86760eea12a299a7fb402c860a5815526835/tekton_theme/public/.gitkeep -------------------------------------------------------------------------------- /tekton_theme/public/dist/css-rtl/tekton.bundle.UXC3QQJ5.css: -------------------------------------------------------------------------------- 1 | /* ../../../../../../var/folders/h6/7wfd9t454m1f53y53z4sl22h0000gn/T/tmp-6885-8syMER9G5LoY/tekton_theme/tekton_theme/public/scss/tekton.bundle.css */ 2 | [data-theme=tekton-blue] { 3 | --gray-50: #E8F5FE; 4 | --gray-100: #D0E7FA; 5 | --gray-200: #A1D0F7; 6 | --gray-300: #6DB9F1; 7 | --gray-400: #4091E0; 8 | --gray-500: #2567B5; 9 | --gray-600: #1C4F8D; 10 | --gray-700: #173F6E; 11 | --gray-800: #112F4F; 12 | --gray-900: #0B1E30; 13 | --text-muted: var(--gray-400); 14 | --text-light: var(--gray-300); 15 | --text-color: var(--gray-50); 16 | --heading-color: var(--gray-50); 17 | --btn-default-bg: var(--gray-700); 18 | --btn-default-hover-bg: var(--gray-500); 19 | --bg-blue: var(--gray-600); 20 | --bg-light-blue: var(--gray-400); 21 | --bg-dark-blue: var(--gray-800); 22 | --bg-green: var(--green-600); 23 | --bg-yellow: var(--yellow-500); 24 | --bg-orange: var(--orange-500); 25 | --bg-red: var(--red-600); 26 | --bg-gray: var(--gray-400); 27 | --bg-grey: var(--gray-400); 28 | --bg-darkgrey: var(--gray-700); 29 | --bg-dark-gray: var(--gray-700); 30 | --bg-light-gray: var(--gray-800); 31 | --bg-purple: var(--purple-700); 32 | --bg-pink: var(--pink-700); 33 | --bg-cyan: var(--cyan-800); 34 | --text-on-blue: var(--gray-50); 35 | --text-on-light-blue: var(--gray-50); 36 | --text-on-dark-blue: var(--gray-300); 37 | --text-on-green: var(--gray-50); 38 | --text-on-yellow: var(--gray-50); 39 | --text-on-orange: var(--gray-100); 40 | --text-on-red: var(--gray-50); 41 | --text-on-gray: var(--gray-50); 42 | --text-on-grey: var(--gray-50); 43 | --text-on-darkgrey: var(--gray-200); 44 | --text-on-dark-gray: var(--gray-200); 45 | --text-on-light-gray: var(--gray-100); 46 | --text-on-purple: var(--purple-100); 47 | --text-on-pink: var(--pink-100); 48 | --text-on-cyan: var(--cyan-100); 49 | --bg-color: var(--gray-900); 50 | --fg-color: var(--gray-800); 51 | --navbar-bg: var(--gray-800); 52 | --fg-hover-color: var(--gray-700); 53 | --card-bg: var(--gray-800); 54 | --disabled-text-color: var(--gray-400); 55 | --disabled-control-bg: var(--gray-700); 56 | --control-bg: var(--gray-700); 57 | --control-bg-on-gray: var(--gray-800); 58 | --awesomebar-focus-bg: var(--control-bg); 59 | --awesomplete-hover-bg: var(--gray-700); 60 | --modal-bg: var(--gray-700); 61 | --toast-bg: var(--modal-bg); 62 | --popover-bg: var(--bg-color); 63 | --error-bg: var(--red-70); 64 | --error-border: var(--red-400); 65 | --icon-fill: transparent; 66 | --icon-stroke: var(--gray-300); 67 | --alert-text-danger: var(--red-300); 68 | --alert-text-warning: var(--yellow-300); 69 | --alert-text-info: var(--blue-300); 70 | --alert-text-success: var(--green-300); 71 | --alert-bg-danger: var(--red-900); 72 | --alert-bg-warning: var(--yellow-900); 73 | --alert-bg-info: var(--blue-900); 74 | --alert-bg-success: var(--green-900); 75 | --sidebar-select-color: var(--gray-800); 76 | --scrollbar-thumb-color: var(--gray-600); 77 | --scrollbar-track-color: var(--gray-700); 78 | --shadow-inset: var(--fg-color); 79 | --border-color: var(--gray-700); 80 | --dark-border-color: var(--gray-600); 81 | --table-border-color: var(--gray-600); 82 | --highlight-color: var(--gray-700); 83 | --yellow-highlight-color: var(--yellow-700); 84 | --btn-group-border-color: var(--gray-800); 85 | --highlight-shadow: 1px 1px 10px var(--gray-900), 0px 0px 4px var(--gray-500); 86 | --shadow-base: 0px 4px 8px rgba(114, 176, 233, 0.06), 0px 0px 4px rgba(112, 172, 228, 0.12); 87 | --diff-added: var(--green-800); 88 | --diff-removed: var(--red-800); 89 | --input-disabled-bg: none; 90 | --checkbox-focus-shadow: 0 0 0 2px var(--gray-600); 91 | color-scheme: dark; 92 | } 93 | [data-theme=tekton-blue] .chart-container { 94 | --charts-label-color: var(--gray-300); 95 | --charts-axis-line-color: var(--gray-500); 96 | --charts-stroke-width: 5px; 97 | --charts-dataset-circle-stroke: #ffffff; 98 | --charts-dataset-circle-stroke-width: var(--charts-stroke-width); 99 | --charts-tooltip-title: var(--charts-label-color); 100 | --charts-tooltip-label: var(--charts-label-color); 101 | --charts-tooltip-value: white; 102 | --charts-tooltip-bg: var(--gray-900); 103 | --charts-legend-label: var(--charts-label-color); 104 | } 105 | [data-theme=tekton-blue] .heatmap-chart g > rect[fill="#ebedf0"] { 106 | fill: var(--gray-700); 107 | } 108 | [data-theme=tekton-blue] .rating { 109 | --star-fill: var(--gray-500); 110 | } 111 | [data-theme=tekton-blue] .rating .star-hover { 112 | --star-fill: var(--gray-400); 113 | } 114 | [data-theme=tekton-blue] .skeleton { 115 | --skeleton-bg: var(--gray-800); 116 | } 117 | [data-theme=tekton-blue] ::-moz-selection { 118 | color: var(--text-color); 119 | background: var(--gray-500); 120 | } 121 | [data-theme=tekton-blue] ::selection { 122 | color: var(--text-color); 123 | background: var(--gray-500); 124 | } 125 | [data-theme=tekton-blue] .indicator { 126 | --indicator-dot-blue: var(--bg-blue); 127 | } 128 | [data-theme=tekton-blue] .indicator { 129 | --indicator-dot-light-blue: var(--bg-light-blue); 130 | } 131 | [data-theme=tekton-blue] .indicator { 132 | --indicator-dot-dark-blue: var(--bg-dark-blue); 133 | } 134 | [data-theme=tekton-blue] .indicator { 135 | --indicator-dot-green: var(--bg-green); 136 | } 137 | [data-theme=tekton-blue] .indicator { 138 | --indicator-dot-yellow: var(--bg-yellow); 139 | } 140 | [data-theme=tekton-blue] .indicator { 141 | --indicator-dot-orange: var(--bg-orange); 142 | } 143 | [data-theme=tekton-blue] .indicator { 144 | --indicator-dot-red: var(--bg-red); 145 | } 146 | [data-theme=tekton-blue] .indicator { 147 | --indicator-dot-gray: var(--bg-gray); 148 | } 149 | [data-theme=tekton-blue] .indicator { 150 | --indicator-dot-grey: var(--bg-grey); 151 | } 152 | [data-theme=tekton-blue] .indicator { 153 | --indicator-dot-darkgrey: var(--bg-darkgrey); 154 | } 155 | [data-theme=tekton-blue] .indicator { 156 | --indicator-dot-purple: var(--bg-purple); 157 | } 158 | [data-theme=tekton-blue] .indicator { 159 | --indicator-dot-pink: var(--bg-pink); 160 | } 161 | [data-theme=tekton-blue] .indicator { 162 | --indicator-dot-cyan: var(--bg-cyan); 163 | } 164 | /*# sourceMappingURL=tekton.bundle.UXC3QQJ5.css.map */ 165 | -------------------------------------------------------------------------------- /tekton_theme/public/dist/css-rtl/tekton.bundle.UXC3QQJ5.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "sources": ["../../../../../../../../../var/folders/h6/7wfd9t454m1f53y53z4sl22h0000gn/T/tmp-6885-8syMER9G5LoY/tekton_theme/tekton_theme/public/scss/tekton.bundle.css"], 4 | "sourcesContent": ["[data-theme=tekton-blue] {\n /* Background Colors */\n --gray-50: #E8F5FE;\n --gray-100: #D0E7FA;\n --gray-200: #A1D0F7;\n --gray-300: #6DB9F1;\n --gray-400: #4091E0;\n --gray-500: #2567B5;\n --gray-600: #1C4F8D;\n --gray-700: #173F6E;\n --gray-800: #112F4F;\n --gray-900: #0B1E30;\n /* Primary Text Colors */\n --text-muted: var(--gray-400);\n --text-light: var(--gray-300);\n --text-color: var(--gray-50);\n --heading-color: var(--gray-50);\n /* Button Colors */\n --btn-default-bg: var(--gray-700);\n --btn-default-hover-bg: var(--gray-500);\n /* Background Text Color Pairs */\n --bg-blue: var(--gray-600);\n --bg-light-blue: var(--gray-400);\n --bg-dark-blue: var(--gray-800);\n --bg-green: var(--green-600);\n --bg-yellow: var(--yellow-500);\n --bg-orange: var(--orange-500);\n --bg-red: var(--red-600);\n --bg-gray: var(--gray-400);\n --bg-grey: var(--gray-400);\n --bg-darkgrey: var(--gray-700);\n --bg-dark-gray: var(--gray-700);\n --bg-light-gray: var(--gray-800);\n --bg-purple: var(--purple-700);\n --bg-pink: var(--pink-700);\n --bg-cyan: var(--cyan-800);\n /* Text on Background Colors */\n --text-on-blue: var(--gray-50);\n --text-on-light-blue: var(--gray-50);\n --text-on-dark-blue: var(--gray-300);\n --text-on-green: var(--gray-50);\n --text-on-yellow: var(--gray-50);\n --text-on-orange: var(--gray-100);\n --text-on-red: var(--gray-50);\n --text-on-gray: var(--gray-50);\n --text-on-grey: var(--gray-50);\n --text-on-darkgrey: var(--gray-200);\n --text-on-dark-gray: var(--gray-200);\n --text-on-light-gray: var(--gray-100);\n --text-on-purple: var(--purple-100);\n --text-on-pink: var(--pink-100);\n --text-on-cyan: var(--cyan-100);\n /* Layout Colors */\n --bg-color: var(--gray-900);\n --fg-color: var(--gray-800);\n --navbar-bg: var(--gray-800);\n --fg-hover-color: var(--gray-700);\n --card-bg: var(--gray-800);\n --disabled-text-color: var(--gray-400);\n --disabled-control-bg: var(--gray-700);\n --control-bg: var(--gray-700);\n --control-bg-on-gray: var(--gray-800);\n --awesomebar-focus-bg: var(--control-bg);\n --awesomplete-hover-bg: var(--gray-700);\n --modal-bg: var(--gray-700);\n --toast-bg: var(--modal-bg);\n --popover-bg: var(--bg-color);\n /* Additional Colors */\n --error-bg: var(--red-70);\n --error-border: var(--red-400);\n --icon-fill: transparent;\n --icon-stroke: var(--gray-300);\n --alert-text-danger: var(--red-300);\n --alert-text-warning: var(--yellow-300);\n --alert-text-info: var(--blue-300);\n --alert-text-success: var(--green-300);\n --alert-bg-danger: var(--red-900);\n --alert-bg-warning: var(--yellow-900);\n --alert-bg-info: var(--blue-900);\n --alert-bg-success: var(--green-900);\n --sidebar-select-color: var(--gray-800);\n --scrollbar-thumb-color: var(--gray-600);\n --scrollbar-track-color: var(--gray-700);\n --shadow-inset: var(--fg-color);\n --border-color: var(--gray-700);\n --dark-border-color: var(--gray-600);\n --table-border-color: var(--gray-600);\n --highlight-color: var(--gray-700);\n --yellow-highlight-color: var(--yellow-700);\n --btn-group-border-color: var(--gray-800);\n --highlight-shadow: 1px 1px 10px var(--gray-900), 0px 0px 4px var(--gray-500);\n --shadow-base: 0px 4px 8px rgba(114, 176, 233, 0.06), 0px 0px 4px rgba(112, 172, 228, 0.12);\n --diff-added: var(--green-800);\n --diff-removed: var(--red-800);\n --input-disabled-bg: none;\n --checkbox-focus-shadow: 0 0 0 2px var(--gray-600);\n color-scheme: dark;\n /* Frappe Charts Colors */\n}\n[data-theme=tekton-blue] .chart-container {\n --charts-label-color: var(--gray-300);\n --charts-axis-line-color: var(--gray-500);\n --charts-stroke-width: 5px;\n --charts-dataset-circle-stroke: #ffffff;\n --charts-dataset-circle-stroke-width: var(--charts-stroke-width);\n --charts-tooltip-title: var(--charts-label-color);\n --charts-tooltip-label: var(--charts-label-color);\n --charts-tooltip-value: white;\n --charts-tooltip-bg: var(--gray-900);\n --charts-legend-label: var(--charts-label-color);\n}\n[data-theme=tekton-blue] .heatmap-chart g > rect[fill=\"#ebedf0\"] {\n fill: var(--gray-700);\n}\n[data-theme=tekton-blue] .rating {\n --star-fill: var(--gray-500);\n}\n[data-theme=tekton-blue] .rating .star-hover {\n --star-fill: var(--gray-400);\n}\n[data-theme=tekton-blue] .skeleton {\n --skeleton-bg: var(--gray-800);\n}\n[data-theme=tekton-blue] ::-moz-selection {\n color: var(--text-color);\n background: var(--gray-500);\n}\n[data-theme=tekton-blue] ::selection {\n color: var(--text-color);\n background: var(--gray-500);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-blue: var(--bg-blue);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-light-blue: var(--bg-light-blue);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-dark-blue: var(--bg-dark-blue);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-green: var(--bg-green);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-yellow: var(--bg-yellow);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-orange: var(--bg-orange);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-red: var(--bg-red);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-gray: var(--bg-gray);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-grey: var(--bg-grey);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-darkgrey: var(--bg-darkgrey);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-purple: var(--bg-purple);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-pink: var(--bg-pink);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-cyan: var(--bg-cyan);\n}"], 5 | "mappings": ";AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AACA;AAAA;AAEF;AACE;AACA;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;", 6 | "names": [] 7 | } 8 | -------------------------------------------------------------------------------- /tekton_theme/public/dist/css/tekton.bundle.XC5WXIPC.css: -------------------------------------------------------------------------------- 1 | /* ../../../../../../var/folders/h6/7wfd9t454m1f53y53z4sl22h0000gn/T/tmp-6885-kgsIfsGZtlqi/tekton_theme/tekton_theme/public/scss/tekton.bundle.css */ 2 | [data-theme=tekton-blue] { 3 | --gray-50: #E8F5FE; 4 | --gray-100: #D0E7FA; 5 | --gray-200: #A1D0F7; 6 | --gray-300: #6DB9F1; 7 | --gray-400: #4091E0; 8 | --gray-500: #2567B5; 9 | --gray-600: #1C4F8D; 10 | --gray-700: #173F6E; 11 | --gray-800: #112F4F; 12 | --gray-900: #0B1E30; 13 | --text-muted: var(--gray-400); 14 | --text-light: var(--gray-300); 15 | --text-color: var(--gray-50); 16 | --heading-color: var(--gray-50); 17 | --btn-default-bg: var(--gray-700); 18 | --btn-default-hover-bg: var(--gray-500); 19 | --bg-blue: var(--gray-600); 20 | --bg-light-blue: var(--gray-400); 21 | --bg-dark-blue: var(--gray-800); 22 | --bg-green: var(--green-600); 23 | --bg-yellow: var(--yellow-500); 24 | --bg-orange: var(--orange-500); 25 | --bg-red: var(--red-600); 26 | --bg-gray: var(--gray-400); 27 | --bg-grey: var(--gray-400); 28 | --bg-darkgrey: var(--gray-700); 29 | --bg-dark-gray: var(--gray-700); 30 | --bg-light-gray: var(--gray-800); 31 | --bg-purple: var(--purple-700); 32 | --bg-pink: var(--pink-700); 33 | --bg-cyan: var(--cyan-800); 34 | --text-on-blue: var(--gray-50); 35 | --text-on-light-blue: var(--gray-50); 36 | --text-on-dark-blue: var(--gray-300); 37 | --text-on-green: var(--gray-50); 38 | --text-on-yellow: var(--gray-50); 39 | --text-on-orange: var(--gray-100); 40 | --text-on-red: var(--gray-50); 41 | --text-on-gray: var(--gray-50); 42 | --text-on-grey: var(--gray-50); 43 | --text-on-darkgrey: var(--gray-200); 44 | --text-on-dark-gray: var(--gray-200); 45 | --text-on-light-gray: var(--gray-100); 46 | --text-on-purple: var(--purple-100); 47 | --text-on-pink: var(--pink-100); 48 | --text-on-cyan: var(--cyan-100); 49 | --bg-color: var(--gray-900); 50 | --fg-color: var(--gray-800); 51 | --navbar-bg: var(--gray-800); 52 | --fg-hover-color: var(--gray-700); 53 | --card-bg: var(--gray-800); 54 | --disabled-text-color: var(--gray-400); 55 | --disabled-control-bg: var(--gray-700); 56 | --control-bg: var(--gray-700); 57 | --control-bg-on-gray: var(--gray-800); 58 | --awesomebar-focus-bg: var(--control-bg); 59 | --awesomplete-hover-bg: var(--gray-700); 60 | --modal-bg: var(--gray-700); 61 | --toast-bg: var(--modal-bg); 62 | --popover-bg: var(--bg-color); 63 | --error-bg: var(--red-70); 64 | --error-border: var(--red-400); 65 | --icon-fill: transparent; 66 | --icon-stroke: var(--gray-300); 67 | --alert-text-danger: var(--red-300); 68 | --alert-text-warning: var(--yellow-300); 69 | --alert-text-info: var(--blue-300); 70 | --alert-text-success: var(--green-300); 71 | --alert-bg-danger: var(--red-900); 72 | --alert-bg-warning: var(--yellow-900); 73 | --alert-bg-info: var(--blue-900); 74 | --alert-bg-success: var(--green-900); 75 | --sidebar-select-color: var(--gray-800); 76 | --scrollbar-thumb-color: var(--gray-600); 77 | --scrollbar-track-color: var(--gray-700); 78 | --shadow-inset: var(--fg-color); 79 | --border-color: var(--gray-700); 80 | --dark-border-color: var(--gray-600); 81 | --table-border-color: var(--gray-600); 82 | --highlight-color: var(--gray-700); 83 | --yellow-highlight-color: var(--yellow-700); 84 | --btn-group-border-color: var(--gray-800); 85 | --highlight-shadow: 1px 1px 10px var(--gray-900), 0px 0px 4px var(--gray-500); 86 | --shadow-base: 0px 4px 8px rgba(114, 176, 233, 0.06), 0px 0px 4px rgba(112, 172, 228, 0.12); 87 | --diff-added: var(--green-800); 88 | --diff-removed: var(--red-800); 89 | --input-disabled-bg: none; 90 | --checkbox-focus-shadow: 0 0 0 2px var(--gray-600); 91 | color-scheme: dark; 92 | } 93 | [data-theme=tekton-blue] .chart-container { 94 | --charts-label-color: var(--gray-300); 95 | --charts-axis-line-color: var(--gray-500); 96 | --charts-stroke-width: 5px; 97 | --charts-dataset-circle-stroke: #ffffff; 98 | --charts-dataset-circle-stroke-width: var(--charts-stroke-width); 99 | --charts-tooltip-title: var(--charts-label-color); 100 | --charts-tooltip-label: var(--charts-label-color); 101 | --charts-tooltip-value: white; 102 | --charts-tooltip-bg: var(--gray-900); 103 | --charts-legend-label: var(--charts-label-color); 104 | } 105 | [data-theme=tekton-blue] .heatmap-chart g > rect[fill="#ebedf0"] { 106 | fill: var(--gray-700); 107 | } 108 | [data-theme=tekton-blue] .rating { 109 | --star-fill: var(--gray-500); 110 | } 111 | [data-theme=tekton-blue] .rating .star-hover { 112 | --star-fill: var(--gray-400); 113 | } 114 | [data-theme=tekton-blue] .skeleton { 115 | --skeleton-bg: var(--gray-800); 116 | } 117 | [data-theme=tekton-blue] ::-moz-selection { 118 | color: var(--text-color); 119 | background: var(--gray-500); 120 | } 121 | [data-theme=tekton-blue] ::selection { 122 | color: var(--text-color); 123 | background: var(--gray-500); 124 | } 125 | [data-theme=tekton-blue] .indicator { 126 | --indicator-dot-blue: var(--bg-blue); 127 | } 128 | [data-theme=tekton-blue] .indicator { 129 | --indicator-dot-light-blue: var(--bg-light-blue); 130 | } 131 | [data-theme=tekton-blue] .indicator { 132 | --indicator-dot-dark-blue: var(--bg-dark-blue); 133 | } 134 | [data-theme=tekton-blue] .indicator { 135 | --indicator-dot-green: var(--bg-green); 136 | } 137 | [data-theme=tekton-blue] .indicator { 138 | --indicator-dot-yellow: var(--bg-yellow); 139 | } 140 | [data-theme=tekton-blue] .indicator { 141 | --indicator-dot-orange: var(--bg-orange); 142 | } 143 | [data-theme=tekton-blue] .indicator { 144 | --indicator-dot-red: var(--bg-red); 145 | } 146 | [data-theme=tekton-blue] .indicator { 147 | --indicator-dot-gray: var(--bg-gray); 148 | } 149 | [data-theme=tekton-blue] .indicator { 150 | --indicator-dot-grey: var(--bg-grey); 151 | } 152 | [data-theme=tekton-blue] .indicator { 153 | --indicator-dot-darkgrey: var(--bg-darkgrey); 154 | } 155 | [data-theme=tekton-blue] .indicator { 156 | --indicator-dot-purple: var(--bg-purple); 157 | } 158 | [data-theme=tekton-blue] .indicator { 159 | --indicator-dot-pink: var(--bg-pink); 160 | } 161 | [data-theme=tekton-blue] .indicator { 162 | --indicator-dot-cyan: var(--bg-cyan); 163 | } 164 | /*# sourceMappingURL=tekton.bundle.XC5WXIPC.css.map */ 165 | -------------------------------------------------------------------------------- /tekton_theme/public/dist/css/tekton.bundle.XC5WXIPC.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "sources": ["../../../../../../../../../var/folders/h6/7wfd9t454m1f53y53z4sl22h0000gn/T/tmp-6885-kgsIfsGZtlqi/tekton_theme/tekton_theme/public/scss/tekton.bundle.css"], 4 | "sourcesContent": ["[data-theme=tekton-blue] {\n /* Background Colors */\n --gray-50: #E8F5FE;\n --gray-100: #D0E7FA;\n --gray-200: #A1D0F7;\n --gray-300: #6DB9F1;\n --gray-400: #4091E0;\n --gray-500: #2567B5;\n --gray-600: #1C4F8D;\n --gray-700: #173F6E;\n --gray-800: #112F4F;\n --gray-900: #0B1E30;\n /* Primary Text Colors */\n --text-muted: var(--gray-400);\n --text-light: var(--gray-300);\n --text-color: var(--gray-50);\n --heading-color: var(--gray-50);\n /* Button Colors */\n --btn-default-bg: var(--gray-700);\n --btn-default-hover-bg: var(--gray-500);\n /* Background Text Color Pairs */\n --bg-blue: var(--gray-600);\n --bg-light-blue: var(--gray-400);\n --bg-dark-blue: var(--gray-800);\n --bg-green: var(--green-600);\n --bg-yellow: var(--yellow-500);\n --bg-orange: var(--orange-500);\n --bg-red: var(--red-600);\n --bg-gray: var(--gray-400);\n --bg-grey: var(--gray-400);\n --bg-darkgrey: var(--gray-700);\n --bg-dark-gray: var(--gray-700);\n --bg-light-gray: var(--gray-800);\n --bg-purple: var(--purple-700);\n --bg-pink: var(--pink-700);\n --bg-cyan: var(--cyan-800);\n /* Text on Background Colors */\n --text-on-blue: var(--gray-50);\n --text-on-light-blue: var(--gray-50);\n --text-on-dark-blue: var(--gray-300);\n --text-on-green: var(--gray-50);\n --text-on-yellow: var(--gray-50);\n --text-on-orange: var(--gray-100);\n --text-on-red: var(--gray-50);\n --text-on-gray: var(--gray-50);\n --text-on-grey: var(--gray-50);\n --text-on-darkgrey: var(--gray-200);\n --text-on-dark-gray: var(--gray-200);\n --text-on-light-gray: var(--gray-100);\n --text-on-purple: var(--purple-100);\n --text-on-pink: var(--pink-100);\n --text-on-cyan: var(--cyan-100);\n /* Layout Colors */\n --bg-color: var(--gray-900);\n --fg-color: var(--gray-800);\n --navbar-bg: var(--gray-800);\n --fg-hover-color: var(--gray-700);\n --card-bg: var(--gray-800);\n --disabled-text-color: var(--gray-400);\n --disabled-control-bg: var(--gray-700);\n --control-bg: var(--gray-700);\n --control-bg-on-gray: var(--gray-800);\n --awesomebar-focus-bg: var(--control-bg);\n --awesomplete-hover-bg: var(--gray-700);\n --modal-bg: var(--gray-700);\n --toast-bg: var(--modal-bg);\n --popover-bg: var(--bg-color);\n /* Additional Colors */\n --error-bg: var(--red-70);\n --error-border: var(--red-400);\n --icon-fill: transparent;\n --icon-stroke: var(--gray-300);\n --alert-text-danger: var(--red-300);\n --alert-text-warning: var(--yellow-300);\n --alert-text-info: var(--blue-300);\n --alert-text-success: var(--green-300);\n --alert-bg-danger: var(--red-900);\n --alert-bg-warning: var(--yellow-900);\n --alert-bg-info: var(--blue-900);\n --alert-bg-success: var(--green-900);\n --sidebar-select-color: var(--gray-800);\n --scrollbar-thumb-color: var(--gray-600);\n --scrollbar-track-color: var(--gray-700);\n --shadow-inset: var(--fg-color);\n --border-color: var(--gray-700);\n --dark-border-color: var(--gray-600);\n --table-border-color: var(--gray-600);\n --highlight-color: var(--gray-700);\n --yellow-highlight-color: var(--yellow-700);\n --btn-group-border-color: var(--gray-800);\n --highlight-shadow: 1px 1px 10px var(--gray-900), 0px 0px 4px var(--gray-500);\n --shadow-base: 0px 4px 8px rgba(114, 176, 233, 0.06), 0px 0px 4px rgba(112, 172, 228, 0.12);\n --diff-added: var(--green-800);\n --diff-removed: var(--red-800);\n --input-disabled-bg: none;\n --checkbox-focus-shadow: 0 0 0 2px var(--gray-600);\n color-scheme: dark;\n /* Frappe Charts Colors */\n}\n[data-theme=tekton-blue] .chart-container {\n --charts-label-color: var(--gray-300);\n --charts-axis-line-color: var(--gray-500);\n --charts-stroke-width: 5px;\n --charts-dataset-circle-stroke: #ffffff;\n --charts-dataset-circle-stroke-width: var(--charts-stroke-width);\n --charts-tooltip-title: var(--charts-label-color);\n --charts-tooltip-label: var(--charts-label-color);\n --charts-tooltip-value: white;\n --charts-tooltip-bg: var(--gray-900);\n --charts-legend-label: var(--charts-label-color);\n}\n[data-theme=tekton-blue] .heatmap-chart g > rect[fill=\"#ebedf0\"] {\n fill: var(--gray-700);\n}\n[data-theme=tekton-blue] .rating {\n --star-fill: var(--gray-500);\n}\n[data-theme=tekton-blue] .rating .star-hover {\n --star-fill: var(--gray-400);\n}\n[data-theme=tekton-blue] .skeleton {\n --skeleton-bg: var(--gray-800);\n}\n[data-theme=tekton-blue] ::-moz-selection {\n color: var(--text-color);\n background: var(--gray-500);\n}\n[data-theme=tekton-blue] ::selection {\n color: var(--text-color);\n background: var(--gray-500);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-blue: var(--bg-blue);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-light-blue: var(--bg-light-blue);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-dark-blue: var(--bg-dark-blue);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-green: var(--bg-green);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-yellow: var(--bg-yellow);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-orange: var(--bg-orange);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-red: var(--bg-red);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-gray: var(--bg-gray);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-grey: var(--bg-grey);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-darkgrey: var(--bg-darkgrey);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-purple: var(--bg-purple);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-pink: var(--bg-pink);\n}\n[data-theme=tekton-blue] .indicator {\n --indicator-dot-cyan: var(--bg-cyan);\n}"], 5 | "mappings": ";AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAGF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AACA;AAAA;AAEF;AACE;AACA;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;AAEF;AACE;AAAA;", 6 | "names": [] 7 | } 8 | -------------------------------------------------------------------------------- /tekton_theme/public/dist/js/tekton.bundle.PJNQSDES.js: -------------------------------------------------------------------------------- 1 | (()=>{frappe.provide("frappe.ui");frappe.ui.ThemeSwitcher=class extends frappe.ui.ThemeSwitcher{constructor(){super()}fetch_themes(){return new Promise(e=>{this.themes=[{name:"light",label:"Frappe Light",info:"Light Theme"},{name:"dark",label:"Timeless Night",info:"Dark Theme"},{name:"automatic",label:"Automatic",info:"Uses system's theme to switch between light and dark mode"},{name:"tekton-blue",label:"Tekton-Blue",info:"Tekton Blue"}],e(this.themes)})}};console.log("INJECTED FILE");})(); 2 | //# sourceMappingURL=tekton.bundle.PJNQSDES.js.map 3 | -------------------------------------------------------------------------------- /tekton_theme/public/dist/js/tekton.bundle.PJNQSDES.js.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "sources": ["../../../../../apps/tekton_theme/tekton_theme/public/js/theme-switcher.js", "../../../../../apps/tekton_theme/tekton_theme/public/js/tekton.bundle.js"], 4 | "sourcesContent": ["frappe.provide(\"frappe.ui\");\n\nfrappe.ui.ThemeSwitcher = class CustomThemeSwitcher extends frappe.ui.ThemeSwitcher {\n constructor() {\n super()\n }\n\n fetch_themes() {\n\t\treturn new Promise((resolve) => {\n\t\t\tthis.themes = [\n\t\t\t\t{\n\t\t\t\t\tname: \"light\",\n\t\t\t\t\tlabel:(\"Frappe Light\"),\n\t\t\t\t\tinfo:(\"Light Theme\"),\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"dark\",\n\t\t\t\t\tlabel:\"Timeless Night\",\n\t\t\t\t\tinfo:\"Dark Theme\",\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tname: \"automatic\",\n\t\t\t\t\tlabel:\"Automatic\",\n\t\t\t\t\tinfo:\"Uses system's theme to switch between light and dark mode\",\n\t\t\t\t},\n {\n name:\"tekton-blue\",\n label: \"Tekton-Blue\",\n info: \"Tekton Blue\"\n }\n\t\t\t];\n\n\t\t\tresolve(this.themes);\n\t\t});\n\t}\n}", "import \"./theme-switcher.js\"\nconsole.log(\"INJECTED FILE\")"], 5 | "mappings": "MAAA,OAAO,QAAQ,WAAW,EAE1B,OAAO,GAAG,cAAgB,cAAkC,OAAO,GAAG,aAAc,CAChF,aAAc,CACV,MAAM,CACV,CAEA,cAAe,CACjB,OAAO,IAAI,QAASA,GAAY,CAC/B,KAAK,OAAS,CACb,CACC,KAAM,QACN,MAAO,eACP,KAAM,aACP,EACA,CACC,KAAM,OACN,MAAM,iBACN,KAAK,YACN,EACA,CACC,KAAM,YACN,MAAM,YACN,KAAK,2DACN,EACY,CACI,KAAK,cACL,MAAO,cACP,KAAM,aACV,CACb,EAEAA,EAAQ,KAAK,MAAM,CACpB,CAAC,CACF,CACD,EClCA,QAAQ,IAAI,eAAe", 6 | "names": ["resolve"] 7 | } 8 | -------------------------------------------------------------------------------- /tekton_theme/public/js/tekton.bundle.js: -------------------------------------------------------------------------------- 1 | import "./theme-switcher.js" 2 | console.log("INJECTED FILE") -------------------------------------------------------------------------------- /tekton_theme/public/js/theme-switcher.js: -------------------------------------------------------------------------------- 1 | frappe.provide("frappe.ui"); 2 | 3 | frappe.ui.ThemeSwitcher = class CustomThemeSwitcher extends frappe.ui.ThemeSwitcher { 4 | constructor() { 5 | super() 6 | } 7 | 8 | fetch_themes() { 9 | return new Promise((resolve) => { 10 | this.themes = [ 11 | { 12 | name: "light", 13 | label:("Frappe Light"), 14 | info:("Light Theme"), 15 | }, 16 | { 17 | name: "dark", 18 | label:"Timeless Night", 19 | info:"Dark Theme", 20 | }, 21 | { 22 | name: "automatic", 23 | label:"Automatic", 24 | info:"Uses system's theme to switch between light and dark mode", 25 | }, 26 | { 27 | name:"tekton-blue", 28 | label: "Tekton-Blue", 29 | info: "Tekton Blue" 30 | } 31 | ]; 32 | 33 | resolve(this.themes); 34 | }); 35 | } 36 | } -------------------------------------------------------------------------------- /tekton_theme/public/scss/tekton-blue.scss: -------------------------------------------------------------------------------- 1 | [data-theme="tekton-blue"] { 2 | /* Background Colors */ 3 | --gray-50: #E8F5FE; 4 | --gray-100: #D0E7FA; 5 | --gray-200: #A1D0F7; 6 | --gray-300: #6DB9F1; 7 | --gray-400: #4091E0; 8 | --gray-500: #2567B5; 9 | --gray-600: #1C4F8D; 10 | --gray-700: #173F6E; 11 | --gray-800: #112F4F; 12 | --gray-900: #0B1E30; 13 | 14 | /* Primary Text Colors */ 15 | --text-muted: var(--gray-400); 16 | --text-light: var(--gray-300); 17 | --text-color: var(--gray-50); 18 | --heading-color: var(--gray-50); 19 | 20 | /* Button Colors */ 21 | --btn-default-bg: var(--gray-700); 22 | --btn-default-hover-bg: var(--gray-500); 23 | 24 | /* Background Text Color Pairs */ 25 | --bg-blue: var(--gray-600); 26 | --bg-light-blue: var(--gray-400); 27 | --bg-dark-blue: var(--gray-800); 28 | --bg-green: var(--green-600); 29 | --bg-yellow: var(--yellow-500); 30 | --bg-orange: var(--orange-500); 31 | --bg-red: var(--red-600); 32 | --bg-gray: var(--gray-400); 33 | --bg-grey: var(--gray-400); 34 | --bg-darkgrey: var(--gray-700); 35 | --bg-dark-gray: var(--gray-700); 36 | --bg-light-gray: var(--gray-800); 37 | --bg-purple: var(--purple-700); 38 | --bg-pink: var(--pink-700); 39 | --bg-cyan: var(--cyan-800); 40 | 41 | /* Text on Background Colors */ 42 | --text-on-blue: var(--gray-50); 43 | --text-on-light-blue: var(--gray-50); 44 | --text-on-dark-blue: var(--gray-300); 45 | --text-on-green: var(--gray-50); 46 | --text-on-yellow: var(--gray-50); 47 | --text-on-orange: var(--gray-100); 48 | --text-on-red: var(--gray-50); 49 | --text-on-gray: var(--gray-50); 50 | --text-on-grey: var(--gray-50); 51 | --text-on-darkgrey: var(--gray-200); 52 | --text-on-dark-gray: var(--gray-200); 53 | --text-on-light-gray: var(--gray-100); 54 | --text-on-purple: var(--purple-100); 55 | --text-on-pink: var(--pink-100); 56 | --text-on-cyan: var(--cyan-100); 57 | 58 | /* Layout Colors */ 59 | --bg-color: var(--gray-900); 60 | --fg-color: var(--gray-800); 61 | --navbar-bg: var(--gray-800); 62 | --fg-hover-color: var(--gray-700); 63 | --card-bg: var(--gray-800); 64 | --disabled-text-color: var(--gray-400); 65 | --disabled-control-bg: var(--gray-700); 66 | --control-bg: var(--gray-700); 67 | --control-bg-on-gray: var(--gray-800); 68 | --awesomebar-focus-bg: var(--control-bg); 69 | --awesomplete-hover-bg: var(--gray-700); 70 | --modal-bg: var(--gray-700); 71 | --toast-bg: var(--modal-bg); 72 | --popover-bg: var(--bg-color); 73 | 74 | /* Additional Colors */ 75 | --error-bg: var(--red-70); 76 | --error-border: var(--red-400); 77 | --icon-fill: transparent; 78 | --icon-stroke: var(--gray-300); 79 | --alert-text-danger: var(--red-300); 80 | --alert-text-warning: var(--yellow-300); 81 | --alert-text-info: var(--blue-300); 82 | --alert-text-success: var(--green-300); 83 | --alert-bg-danger: var(--red-900); 84 | --alert-bg-warning: var(--yellow-900); 85 | --alert-bg-info: var(--blue-900); 86 | --alert-bg-success: var(--green-900); 87 | --sidebar-select-color: var(--gray-800); 88 | --scrollbar-thumb-color: var(--gray-600); 89 | --scrollbar-track-color: var(--gray-700); 90 | --shadow-inset: var(--fg-color); 91 | --border-color: var(--gray-700); 92 | --dark-border-color: var(--gray-600); 93 | --table-border-color: var(--gray-600); 94 | --highlight-color: var(--gray-700); 95 | --yellow-highlight-color: var(--yellow-700); 96 | --btn-group-border-color: var(--gray-800); 97 | --highlight-shadow: 1px 1px 10px var(--gray-900), 0px 0px 4px var(--gray-500); 98 | --shadow-base: 0px 4px 8px rgba(114, 176, 233, 0.06), 0px 0px 4px rgba(112, 172, 228, 0.12); 99 | --diff-added: var(--green-800); 100 | --diff-removed: var(--red-800); 101 | --input-disabled-bg: none; 102 | --checkbox-focus-shadow: 0 0 0 2px var(--gray-600); 103 | color-scheme: dark; 104 | 105 | /* Frappe Charts Colors */ 106 | .chart-container { 107 | --charts-label-color: var(--gray-300); 108 | --charts-axis-line-color: var(--gray-500); 109 | --charts-stroke-width: 5px; 110 | --charts-dataset-circle-stroke: #ffffff; 111 | --charts-dataset-circle-stroke-width: var(--charts-stroke-width); 112 | --charts-tooltip-title: var(--charts-label-color); 113 | --charts-tooltip-label: var(--charts-label-color); 114 | --charts-tooltip-value: white; 115 | --charts-tooltip-bg: var(--gray-900); 116 | --charts-legend-label: var(--charts-label-color); 117 | } 118 | 119 | .heatmap-chart { 120 | g > rect[fill="#ebedf0"] { 121 | fill: var(--gray-700); 122 | } 123 | } 124 | 125 | .rating { 126 | --star-fill: var(--gray-500); 127 | .star-hover { 128 | --star-fill: var(--gray-400); 129 | } 130 | } 131 | 132 | .skeleton { 133 | --skeleton-bg: var(--gray-800); 134 | } 135 | 136 | ::selection { 137 | color: var(--text-color); 138 | background: var(--gray-500); 139 | } 140 | 141 | $indicator-colors: blue, light-blue, dark-blue, green, yellow, orange, red, gray, grey, darkgrey, purple, pink, cyan; 142 | @each $color in $indicator-colors { 143 | .indicator { 144 | --indicator-dot-#{"" + $color}: var(--bg-#{$color}); 145 | } 146 | } 147 | } 148 | -------------------------------------------------------------------------------- /tekton_theme/public/scss/tekton.bundle.scss: -------------------------------------------------------------------------------- 1 | @import "./tekton-blue.scss" -------------------------------------------------------------------------------- /tekton_theme/tekton_theme/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vineyrawat/Tekton-Theme/33cf86760eea12a299a7fb402c860a5815526835/tekton_theme/tekton_theme/__init__.py -------------------------------------------------------------------------------- /tekton_theme/templates/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vineyrawat/Tekton-Theme/33cf86760eea12a299a7fb402c860a5815526835/tekton_theme/templates/__init__.py -------------------------------------------------------------------------------- /tekton_theme/templates/pages/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vineyrawat/Tekton-Theme/33cf86760eea12a299a7fb402c860a5815526835/tekton_theme/templates/pages/__init__.py --------------------------------------------------------------------------------