├── app ├── front │ ├── public │ │ ├── robots.txt │ │ ├── favicon.ico │ │ ├── images │ │ │ ├── nob.png │ │ │ ├── picker.png │ │ │ ├── palette.png │ │ │ ├── sliders.png │ │ │ ├── checkboard.png │ │ │ ├── editor-st.png │ │ │ ├── icon │ │ │ │ ├── favicon.ico │ │ │ │ ├── tmtheme-128.png │ │ │ │ ├── tmtheme-16.png │ │ │ │ ├── tmtheme-256.png │ │ │ │ ├── tmtheme-32.png │ │ │ │ ├── tmtheme-512.png │ │ │ │ └── tmtheme-1024.png │ │ │ ├── icons │ │ │ │ ├── TMTheme128.png │ │ │ │ ├── TMTheme16.png │ │ │ │ ├── TMTheme32.png │ │ │ │ └── TMTheme48.png │ │ │ └── screenshots │ │ │ │ ├── tmte-screenshot.png │ │ │ │ ├── tte-edit-popover.png │ │ │ │ └── tte-color-adjustments.png │ │ ├── fonts │ │ │ ├── tmthemeeditor.eot │ │ │ ├── tmthemeeditor.ttf │ │ │ ├── tmthemeeditor.woff │ │ │ └── tmthemeeditor.svg │ │ ├── humans.txt │ │ └── files │ │ │ ├── samples │ │ │ └── raw │ │ │ │ ├── latex.txt │ │ │ │ ├── perl.txt │ │ │ │ ├── css.txt │ │ │ │ ├── ruby.txt │ │ │ │ ├── js.txt │ │ │ │ ├── c-sharp.txt │ │ │ │ ├── coffee.txt │ │ │ │ ├── c.txt │ │ │ │ ├── java.txt │ │ │ │ ├── go.txt │ │ │ │ ├── html.txt │ │ │ │ ├── python.txt │ │ │ │ ├── haskell.txt │ │ │ │ ├── ocaml.txt │ │ │ │ ├── lua.txt │ │ │ │ ├── erlang.txt │ │ │ │ ├── c++.txt │ │ │ │ └── r.txt │ │ │ └── themes │ │ │ └── default.tmtheme │ ├── js │ │ ├── template │ │ │ ├── editor.html │ │ │ ├── modal │ │ │ │ ├── backdrop.html │ │ │ │ └── window.html │ │ │ ├── alert │ │ │ │ └── alert.html │ │ │ ├── preview │ │ │ │ ├── scope_hunter.html │ │ │ │ └── custom_code.html │ │ │ ├── modalOpenURL.html │ │ │ ├── main.html │ │ │ ├── sidebar.html │ │ │ ├── stats │ │ │ │ ├── general_tab.html │ │ │ │ ├── scopes_tab.html │ │ │ │ └── themes_tab.html │ │ │ ├── table_info.html │ │ │ ├── header_links.html │ │ │ ├── stats.html │ │ │ ├── preview.html │ │ │ ├── table_general.html │ │ │ ├── scope_hunter │ │ │ │ └── scope_hunter.html │ │ │ ├── header.html │ │ │ ├── action_bar.html │ │ │ ├── color_picker.html │ │ │ ├── dialog_general_colors.html │ │ │ ├── hud_colors.html │ │ │ ├── table_scopes.html │ │ │ ├── dialog_new.html │ │ │ ├── dialog_edit.html │ │ │ ├── gallery.html │ │ │ └── color_picker_sliders.html │ │ ├── services │ │ │ ├── tinycolor_service.coffee │ │ │ ├── filters.coffee │ │ │ ├── popover_new_service.coffee │ │ │ ├── color_picker_service.coffee │ │ │ ├── editor_service.coffee │ │ │ ├── popover_edit_service.coffee │ │ │ ├── popover_general_colors_service.coffee │ │ │ ├── theme_loader_service.coffee │ │ │ ├── scope_matcher_service.coffee │ │ │ ├── throbber_service.coffee │ │ │ ├── plist_to_json.coffee │ │ │ ├── json_to_plist.coffee │ │ │ ├── hud_adjustments_service.coffee │ │ │ ├── file_manager_service.coffee │ │ │ └── color_service.coffee │ │ ├── application.coffee │ │ ├── directives │ │ │ ├── range.coffee │ │ │ ├── draggable.coffee │ │ │ ├── focusme.coffee │ │ │ ├── shortcut.coffee │ │ │ ├── dropzone.coffee │ │ │ ├── inline_edit.coffee │ │ │ └── scopebar.coffee │ │ ├── controllers │ │ │ ├── modal_openURL_controller.coffee │ │ │ ├── page_controller.coffee │ │ │ ├── gallery_controller.coffee │ │ │ ├── color_picker_controller.coffee │ │ │ ├── stats_controller.coffee │ │ │ └── preview_controller.coffee │ │ ├── config │ │ │ ├── boot.coffee │ │ │ ├── resolves.coffee │ │ │ └── routes.coffee │ │ └── libs.js │ └── css │ │ ├── lib │ │ ├── variables.less │ │ ├── bootstrap.less │ │ ├── mixins.less │ │ └── buttons.less │ │ ├── app.less │ │ └── app │ │ ├── stats.less │ │ ├── scope_hunter.less │ │ ├── header.less │ │ ├── preview.less │ │ ├── global.less │ │ └── icons.less └── back │ ├── views │ ├── partials │ │ ├── meta.html │ │ └── analytics.html │ ├── errors │ │ ├── 404.html │ │ └── 500.html │ └── index.html │ ├── config.coffee │ ├── lib │ └── ngtemplate.coffee │ ├── controllers │ └── pages_controller.coffee │ └── app.coffee ├── Procfile ├── .gitignore ├── test └── services │ ├── filters_spec.coffee │ ├── theme_service_spec.coffee │ └── color_service_spec.coffee ├── bower.json ├── README.md ├── package.json ├── gulpfile.js └── coffeelint.json /app/front/public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: coffee app/back/app.coffee 2 | -------------------------------------------------------------------------------- /app/front/js/template/editor.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | -------------------------------------------------------------------------------- /app/front/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/favicon.ico -------------------------------------------------------------------------------- /app/front/js/services/tinycolor_service.coffee: -------------------------------------------------------------------------------- 1 | Application.factory 'tinycolor', [ -> 2 | window.tinycolor 3 | ] 4 | -------------------------------------------------------------------------------- /app/front/public/images/nob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/nob.png -------------------------------------------------------------------------------- /app/front/public/images/picker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/picker.png -------------------------------------------------------------------------------- /app/front/public/images/palette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/palette.png -------------------------------------------------------------------------------- /app/front/public/images/sliders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/sliders.png -------------------------------------------------------------------------------- /app/front/public/images/checkboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/checkboard.png -------------------------------------------------------------------------------- /app/front/public/images/editor-st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/editor-st.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | bower_components 3 | tmp 4 | log/*.log 5 | app/front/public/assets 6 | test/**/*.js 7 | dist 8 | *.log 9 | -------------------------------------------------------------------------------- /app/front/public/fonts/tmthemeeditor.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/fonts/tmthemeeditor.eot -------------------------------------------------------------------------------- /app/front/public/fonts/tmthemeeditor.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/fonts/tmthemeeditor.ttf -------------------------------------------------------------------------------- /app/front/public/fonts/tmthemeeditor.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/fonts/tmthemeeditor.woff -------------------------------------------------------------------------------- /app/front/public/images/icon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icon/favicon.ico -------------------------------------------------------------------------------- /app/front/public/images/icon/tmtheme-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icon/tmtheme-128.png -------------------------------------------------------------------------------- /app/front/public/images/icon/tmtheme-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icon/tmtheme-16.png -------------------------------------------------------------------------------- /app/front/public/images/icon/tmtheme-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icon/tmtheme-256.png -------------------------------------------------------------------------------- /app/front/public/images/icon/tmtheme-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icon/tmtheme-32.png -------------------------------------------------------------------------------- /app/front/public/images/icon/tmtheme-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icon/tmtheme-512.png -------------------------------------------------------------------------------- /app/front/public/images/icons/TMTheme128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icons/TMTheme128.png -------------------------------------------------------------------------------- /app/front/public/images/icons/TMTheme16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icons/TMTheme16.png -------------------------------------------------------------------------------- /app/front/public/images/icons/TMTheme32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icons/TMTheme32.png -------------------------------------------------------------------------------- /app/front/public/images/icons/TMTheme48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icons/TMTheme48.png -------------------------------------------------------------------------------- /app/front/public/images/icon/tmtheme-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/icon/tmtheme-1024.png -------------------------------------------------------------------------------- /app/front/public/images/screenshots/tmte-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/screenshots/tmte-screenshot.png -------------------------------------------------------------------------------- /app/front/public/images/screenshots/tte-edit-popover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/screenshots/tte-edit-popover.png -------------------------------------------------------------------------------- /app/front/js/services/filters.coffee: -------------------------------------------------------------------------------- 1 | Application.factory "removeExtensionFilter", [ -> 2 | (filename) -> 3 | filename.replace(/\.(hidden-)?[tT]m[Tt]heme/,"") 4 | ] 5 | -------------------------------------------------------------------------------- /app/front/public/images/screenshots/tte-color-adjustments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aziz/tmTheme-Editor/HEAD/app/front/public/images/screenshots/tte-color-adjustments.png -------------------------------------------------------------------------------- /app/front/public/humans.txt: -------------------------------------------------------------------------------- 1 | /* TEAM */ 2 | Allen Bargi 3 | Twitter: http://twitter.com/aziz 4 | Github: http://github.com/aziz 5 | 6 | Github Repo: https://github.com/aziz/tmTheme-Editor -------------------------------------------------------------------------------- /app/front/js/template/modal/backdrop.html: -------------------------------------------------------------------------------- 1 | 5 | -------------------------------------------------------------------------------- /app/front/js/application.coffee: -------------------------------------------------------------------------------- 1 | #= require config/boot 2 | #= require_tree template 3 | #= require config/resolves 4 | #= require config/routes 5 | #= require_tree directives 6 | #= require_tree services 7 | #= require_tree controllers 8 | -------------------------------------------------------------------------------- /app/front/js/directives/range.coffee: -------------------------------------------------------------------------------- 1 | Application.directive 'input', -> 2 | restrict: 'E' 3 | require: '?ngModel' 4 | link: (scope, element, attrs, ngModel) -> 5 | if 'type' of attrs and attrs.type.toLowerCase() == 'range' 6 | ngModel.$parsers.push parseFloat 7 | return 8 | -------------------------------------------------------------------------------- /app/front/css/lib/variables.less: -------------------------------------------------------------------------------- 1 | @systemFontFamily: 'lucida grande', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; 2 | @monoFontFamily: 'Source Code Pro', 'Consolas', 'Monaco', 'Menlo','Ubuntu Mono', 'Courier New', monospace; 3 | @sidebar_width: 400px; 4 | @header_height: 36px; 5 | -------------------------------------------------------------------------------- /app/front/js/directives/draggable.coffee: -------------------------------------------------------------------------------- 1 | Application.directive "draggable", ['$timeout', ($timeout) -> 2 | restrict: "A" 3 | link: (scope, element, attrs) -> 4 | draggable = -> 5 | options = scope.$eval(attrs.draggable) || {} 6 | element.draggable(options) 7 | $timeout draggable, 0, false 8 | ] 9 | -------------------------------------------------------------------------------- /test/services/filters_spec.coffee: -------------------------------------------------------------------------------- 1 | describe 'Filters', -> 2 | 3 | beforeEach(module('ThemeEditor')) 4 | 5 | describe 'filter: removeExtension', -> 6 | it 'removes extension from theme\'s file name', inject (removeExtensionFilter) -> 7 | expect(removeExtensionFilter("theme.tmTheme")).toEqual("theme") 8 | expect(removeExtensionFilter("theme2.tmtheme")).toEqual("theme2") 9 | 10 | -------------------------------------------------------------------------------- /app/front/js/template/alert/alert.html: -------------------------------------------------------------------------------- 1 |
5 | The page you were looking for isn't where you thought it was.
6 | You may have followed a bad external link, or mis-typed a URL.
7 |
9 | 10 | Take Me Home 11 | 12 |
13 |5 | We track these errors automatically, but if the problem persists feel free to contact us. 6 | In the meantime, try refreshing. 7 |
8 |9 | Take Me Home 10 |
11 || # | 4 |Key | 5 |Values | 6 |7 | | Count | 8 | 9 | 10 |
|---|---|---|---|---|
| {{::$index+1 }} | 12 |{{::scope.name }} | 13 |
14 |
15 | "{{ val }}"[{{ repeats.length }}]
16 |
17 | |
18 | {{ scope.count }} | 19 |20 | 21 | | 22 |
| Property | 5 |Value | 6 |7 | |
|---|---|---|
| UUID | 12 |{{::Theme.json.uuid}} | 13 |14 | |
| Name | 18 |19 | | 20 | |
| Author | 23 |24 | | 25 | |
| Comment | 29 |30 | | 31 | |
Paste your code below and press Save button.
10 || # | 4 |5 | Scope 6 | ▼ 7 | ▲ 8 | | 9 |10 | | 11 | Count 12 | ▼ 13 | ▲ 14 | | 15 | 16 | 17 |
|---|---|---|---|
| {{::$index+1 }} | 19 |{{::scope.name }} | 20 |{{ scope.count }} | 21 |22 | 23 | | 24 |
| General Colors | 5 |Color | 6 |7 | | |
|---|---|---|---|
| {{gcolor.name}} | 19 | 20 |21 | 22 | | 23 | 24 |25 | 29 | | 30 |31 | |
14 |
15 |
16 |
Sleek, intuitive, and powerful mobile-first front-end framework for faster and easier web development.
59 |60 | Download Bootstrap 61 |
62 || Scope Name | 5 |FG | 6 |BG | 7 |B | 8 |I | 9 |U | 10 |11 | |
|---|---|---|---|---|---|---|
| 30 | {{ rule.name || rule.scope }} 31 | | 32 | 33 |34 | 38 | | 39 | 40 |41 | 45 | | 46 | 47 |48 | | 49 | | 50 | | 51 | |
| 14 | 15 | 19 | 23 | 27 | | 28 |
29 |
30 |
32 |
36 | Reset
37 |
38 |
39 |
40 |
41 |
43 |
47 | Reset
48 |
49 |
50 | |
51 |
| 13 | 14 | 18 | 22 | 26 | | 27 |
28 |
29 |
31 |
35 | Reset
36 |
37 |
38 |
39 |
40 |
42 |
46 | Reset
47 |
48 |
49 | |
50 |
| # | 4 |5 | Name 6 | ▼ 7 | ▲ 8 | | 9 |10 | Author 11 | ▼ 12 | ▲ 13 | | 14 |15 | Scopes 16 | ▼ 17 | ▲ 18 | | 19 |20 | General 21 | ▼ 22 | ▲ 23 | | 24 |25 | BG 26 | ▼ 27 | ▲ 28 | | 29 |30 | light/dark 31 | ▼ 32 | ▲ 33 | | 34 | 35 | 36 |
|---|---|---|---|---|---|---|
| {{::$index + 1 }} | 38 |{{::theme.name }} | 39 |{{::theme.jsonTheme.author.truncate(22) }} | 40 |{{::theme.jsonTheme.settings.length }} | 41 |{{::theme.general_settings_count }} | 42 |43 | 44 | {{::theme.bgcolor }} 45 | | 46 |47 | 48 | 49 | | 50 |