├── .github
└── ISSUE_TEMPLATE
│ └── bug_report.md
├── .gitignore
├── FUNDING.yml
├── LICENSE
├── README.md
├── build.py
├── colors
├── dark.yaml
└── light.yaml
├── requirements.txt
└── theme
└── jetbrains
├── .idea
├── .gitignore
├── .name
├── misc.xml
└── modules.xml
├── LICENSE
├── README.md
├── build.py
├── foundation-jetbrains.iml
├── resources
├── META-INF
│ ├── plugin.xml
│ ├── pluginIcon.svg
│ └── pluginIcon_dark.svg
└── schemes
│ ├── dark.xml
│ └── light.xml
├── screenshots
├── foundation-dark-small.png
├── foundation-dark.png
├── foundation-light-small.png
└── foundation-light.png
└── src
├── dark.theme.json
└── light.theme.json
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug Report
3 | about: Create a report
4 | title: ''
5 | labels: ''
6 | assignees: jontaydev
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. Clone this repository
16 | 2. Open this file
17 | 3. Select this text...
18 |
19 | **Screenshots**
20 | If applicable, add screenshots to help explain your problem.
21 |
22 | **Application:**
23 | PyCharm, IntelliJ, etc
24 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | __pycache__
2 | /.idea
3 | /output
4 | .DS_Store
--------------------------------------------------------------------------------
/FUNDING.yml:
--------------------------------------------------------------------------------
1 | github: espositocode
2 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Foundation
2 |
3 | A modern design with a dark and light theme.
4 |
5 | Supported apps:
6 | - [JetBrains](theme/jetbrains)
7 |
8 | To build, first install [sublate](https://github.com/espositocode/sublate):
9 |
10 | $ pip install sublate
11 |
12 | Then, run the build script:
13 |
14 | $ ./build.py
15 |
--------------------------------------------------------------------------------
/build.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python3
2 | import sublate as sub
3 |
4 | sub.data.update({
5 | "date": sub.date_iso(),
6 | "colors": sub.read("colors/*.yaml").values(),
7 | })
8 |
9 | sub.rm("output")
10 | sub.cp("theme", "output")
11 | sub.run("output/*/build.py")
12 |
--------------------------------------------------------------------------------
/colors/dark.yaml:
--------------------------------------------------------------------------------
1 | id: dark
2 | name: Foundation Dark
3 | colors:
4 | base03: "#131517"
5 | base02: "#1c1e20"
6 | base01: "#252729"
7 | base00: "#323436"
8 | base0: "#dddddd"
9 | base1: "#e9e9e9"
10 | base2: "#f6f6f6"
11 | base3: "#ffffff"
12 | blue: "#3485f7"
13 | none: "#00000000"
--------------------------------------------------------------------------------
/colors/light.yaml:
--------------------------------------------------------------------------------
1 | id: light
2 | name: Foundation Light
3 | colors:
4 | base03: "#ffffff"
5 | base02: "#f6f6f6"
6 | base01: "#e9e9e9"
7 | base00: "#dddddd"
8 | blue: "#3485f7"
9 | none: "#00000000"
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | sublate==0.3
--------------------------------------------------------------------------------
/theme/jetbrains/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 | # Datasource local storage ignored files
5 | /dataSources/
6 | /dataSources.local.xml
7 | # Editor-based HTTP Client requests
8 | /httpRequests/
9 |
--------------------------------------------------------------------------------
/theme/jetbrains/.idea/.name:
--------------------------------------------------------------------------------
1 | foundation-jetbrains
--------------------------------------------------------------------------------
/theme/jetbrains/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/theme/jetbrains/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/theme/jetbrains/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License (MIT)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 | SOFTWARE.
--------------------------------------------------------------------------------
/theme/jetbrains/README.md:
--------------------------------------------------------------------------------
1 | # Foundation for JetBrains
2 |
3 | ## Build
4 |
5 | To build the plugin for IntelliJ, follow these steps:
6 |
7 | 1. Build this project with sublate From the project root: `sublate`.
8 | 2. Open the `build` directory with IntelliJ.
9 | 3. From the menubar, select Build -> Prepare Plugin Module For Deployment.
10 | 4. The plugin jar file will be exported to the `build` directory.
11 |
12 | ## Screenshots
13 |
14 | ### Foundation Dark:
15 |
16 | 
17 |
18 | ### Foundation Light:
19 |
20 | 
21 |
--------------------------------------------------------------------------------
/theme/jetbrains/build.py:
--------------------------------------------------------------------------------
1 | import sublate as sub
2 |
3 | print("[+] JetBrains")
4 |
5 | for theme in sub.data["colors"]:
6 | sub.render(f"resources/schemes/{theme['id']}.xml", data={
7 | "theme": theme,
8 | })
9 | sub.render(f"src/{theme['id']}.theme.json", data={
10 | "theme": theme
11 | })
12 |
13 | sub.rm("build.py")
14 |
--------------------------------------------------------------------------------
/theme/jetbrains/foundation-jetbrains.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/theme/jetbrains/resources/META-INF/plugin.xml:
--------------------------------------------------------------------------------
1 |
2 | foundation
3 | Foundation Theme
4 | Subtheme
5 | 1.4
6 |
7 | com.intellij.modules.lang
8 |
9 |
10 | 1.4
12 |