Skip to content

Commit

Permalink
Fix sublime UI textfields.
Browse files Browse the repository at this point in the history
  • Loading branch information
daylerees committed Feb 22, 2014
1 parent f1f24f8 commit aac4908
Show file tree
Hide file tree
Showing 265 changed files with 3,093 additions and 89 deletions.
4 changes: 4 additions & 0 deletions build/resources/patterns/sublimeui/settings.pattern
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/{{ theme.slug }}/Widget - {{ theme.slug }}.stTheme",
"draw_shadows": false
}
12 changes: 12 additions & 0 deletions build/resources/patterns/sublimeui/sublimeui.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@
"name": "",
"directory": "",
"extension": ".sublime-theme"
},
{
"file": "widget.pattern",
"name": "%theme.slug%/Widget - %theme.slug%",
"directory": "",
"extension": ".stTheme"
},
{
"file": "settings.pattern",
"name": "%theme.slug%/Widget - %theme.slug%",
"directory": "",
"extension": ".sublime-settings"
}
]
}
4 changes: 2 additions & 2 deletions build/resources/patterns/sublimeui/sublimeui.pattern
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [{{ colour.first('ui_bg', 'background').rgb(-40) }}], // -01
"layer0.tint": [{{ colour.first('ui_bg', 'background').rgb() }}], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down Expand Up @@ -1755,7 +1755,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [{{ colour.first('ui_bg', 'background').rgb(10) }}], // -01
"layer0.tint": [{{ colour.first('ui_bg', 'background').rgb() }}], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
30 changes: 30 additions & 0 deletions build/resources/patterns/sublimeui/widget.pattern
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>{{ theme.name }}</string>
<key>name</key>
<string>{{ theme.name }}</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>{{ background }}</string>
<key>caret</key>
<string>{{ caret }}</string>
<key>foreground</key>
<string>{{ foreground }}</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>{{ selection_background }}</string>
</dict>
</dict>
</array>
</dict>
</plist>
2 changes: 1 addition & 1 deletion build/src/Raincolour/Core/Processor.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ protected function buildFileName($name, $theme)
}

// Find variable substitution matches...
preg_match('/%(.+)%/i', $name, $matches);
preg_match('/%(.*?)%/i', $name, $matches);

// Iterate the matches...
foreach ($matches as $match) {
Expand Down
2 changes: 1 addition & 1 deletion sublimeui/arstotzka.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [43, 41, 40], // -01
"layer0.tint": [33, 31, 30], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
30 changes: 30 additions & 0 deletions sublimeui/arstotzka/Widget - arstotzka.stTheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>Arstotzka</string>
<key>name</key>
<string>Arstotzka</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#211f1e</string>
<key>caret</key>
<string>#f8f8f0</string>
<key>foreground</key>
<string>#EDEBE6</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>#516B6B</string>
</dict>
</dict>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions sublimeui/arstotzka/Widget - arstotzka.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/arstotzka/Widget - arstotzka.stTheme",
"draw_shadows": false
}
2 changes: 1 addition & 1 deletion sublimeui/azure.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [34, 39, 48], // -01
"layer0.tint": [24, 29, 38], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
30 changes: 30 additions & 0 deletions sublimeui/azure/Widget - azure.stTheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>Azure</string>
<key>name</key>
<string>Azure</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#181D26</string>
<key>caret</key>
<string>#f8f8f0</string>
<key>foreground</key>
<string>#ffffff</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>#47959a</string>
</dict>
</dict>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions sublimeui/azure/Widget - azure.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/azure/Widget - azure.stTheme",
"draw_shadows": false
}
2 changes: 1 addition & 1 deletion sublimeui/bold.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [52, 48, 48], // -01
"layer0.tint": [42, 38, 38], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
30 changes: 30 additions & 0 deletions sublimeui/bold/Widget - bold.stTheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>Bold</string>
<key>name</key>
<string>Bold</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#2a2626</string>
<key>caret</key>
<string>#f8f8f0</string>
<key>foreground</key>
<string>#ffffff</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>#3D8E91</string>
</dict>
</dict>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions sublimeui/bold/Widget - bold.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/bold/Widget - bold.stTheme",
"draw_shadows": false
}
30 changes: 30 additions & 0 deletions sublimeui/boxuk/Widget - boxuk.stTheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>Box UK</string>
<key>name</key>
<string>Box UK</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#ffffff</string>
<key>caret</key>
<string>#222222</string>
<key>foreground</key>
<string>#414f5c</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>#017c9d</string>
</dict>
</dict>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions sublimeui/boxuk/Widget - boxuk.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/boxuk/Widget - boxuk.stTheme",
"draw_shadows": false
}
2 changes: 1 addition & 1 deletion sublimeui/carbonight.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [56, 54, 53], // -01
"layer0.tint": [46, 44, 43], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
30 changes: 30 additions & 0 deletions sublimeui/carbonight/Widget - carbonight.stTheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>Carbonight</string>
<key>name</key>
<string>Carbonight</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#2E2C2B</string>
<key>caret</key>
<string>#f8f8f0</string>
<key>foreground</key>
<string>#B0B0B0</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>#8C8C8C</string>
</dict>
</dict>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions sublimeui/carbonight/Widget - carbonight.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/carbonight/Widget - carbonight.stTheme",
"draw_shadows": false
}
2 changes: 1 addition & 1 deletion sublimeui/chocolate.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [31, 25, 18], // -01
"layer0.tint": [21, 15, 8], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
30 changes: 30 additions & 0 deletions sublimeui/chocolate/Widget - chocolate.stTheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>Chocolate</string>
<key>name</key>
<string>Chocolate</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#150f08</string>
<key>caret</key>
<string>#f8f8f0</string>
<key>foreground</key>
<string>#ffffff</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>#8B6E46</string>
</dict>
</dict>
</array>
</dict>
</plist>
4 changes: 4 additions & 0 deletions sublimeui/chocolate/Widget - chocolate.sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/chocolate/Widget - chocolate.stTheme",
"draw_shadows": false
}
2 changes: 1 addition & 1 deletion sublimeui/contrast/carbonight-contrast.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [10, 10, 10], // -01
"layer0.tint": [0, 0, 0], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Dayle Rees</string>
<key>comment</key>
<string>Carbonight Contrast</string>
<key>name</key>
<string>Carbonight Contrast</string>
<key>settings</key>
<array>
<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#000000</string>
<key>caret</key>
<string>#f8f8f0</string>
<key>foreground</key>
<string>#ffffff</string>
<key>invisibles</key>
<string>#65737e</string>
<key>selection</key>
<string>#8C8C8C</string>
</dict>
</dict>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"color_scheme": "Packages/sublimeui/carbonight-contrast/Widget - carbonight-contrast.stTheme",
"draw_shadows": false
}
2 changes: 1 addition & 1 deletion sublimeui/contrast/darkside-contrast.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@
{
"class": "text_line_control",
// "layer0.texture": "",
"layer0.tint": [10, 10, 10], // -01
"layer0.tint": [0, 0, 0], // -01
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down
Loading

0 comments on commit aac4908

Please sign in to comment.