Skip to content

Commit

Permalink
feat: updated color of git diff in sidebar.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Dec 26, 2018
1 parent 7c31bca commit c69ec9b
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 73 deletions.
62 changes: 31 additions & 31 deletions Mariana-Theme-Dark.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -439,37 +439,6 @@
],
"layer0.opacity": 0.8
},
{
"class": "fold_button_control",
"layer0.texture": "mariana-theme/assets/light/fold_right.png",
"layer0.opacity": 1,
"layer0.inner_margin": 0,
"layer1.texture": "mariana-theme/assets/light/fold_right_hover.png",
"layer1.opacity": 0,
"layer1.inner_margin": 0,
"content_margin": [
9,
7,
8,
6
]
},
{
"class": "fold_button_control",
"attributes": [
"hover"
],
"layer0.opacity": 0,
"layer1.opacity": 1
},
{
"class": "fold_button_control",
"attributes": [
"expanded"
],
"layer0.texture": "mariana-theme/assets/light/fold_down.png",
"layer1.texture": "mariana-theme/assets/light/fold_down_hover.png"
},
{
"class": "dialog",
"layer0.tint": [
Expand Down Expand Up @@ -620,6 +589,37 @@
9
]
},
{
"class": "fold_button_control",
"layer0.texture": "mariana-theme/assets/light/fold_right.png",
"layer0.opacity": 1,
"layer0.inner_margin": 0,
"layer1.texture": "mariana-theme/assets/light/fold_right_hover.png",
"layer1.opacity": 0,
"layer1.inner_margin": 0,
"content_margin": [
9,
7,
8,
6
]
},
{
"class": "fold_button_control",
"attributes": [
"hover"
],
"layer0.opacity": 0,
"layer1.opacity": 1
},
{
"class": "fold_button_control",
"attributes": [
"expanded"
],
"layer0.texture": "mariana-theme/assets/light/fold_down.png",
"layer1.texture": "mariana-theme/assets/light/fold_down_hover.png"
},
{
"class": "text_line_control",
"layer0.tint": [
Expand Down
68 changes: 34 additions & 34 deletions Mariana-Theme-Light.sublime-theme
Original file line number Diff line number Diff line change
Expand Up @@ -721,38 +721,6 @@
}
]
},
{
"class": "close_button",
"layer0.texture": "mariana-theme/assets/light/close_icon.png",
"layer0.opacity": 1,
"content_margin": [
8,
8
]
},
{
"class": "close_button",
"attributes": [
"hover"
],
"layer0.texture": "mariana-theme/assets/light/close_icon_hover.png",
"layer0.opacity": 1
},
{
"class": "close_button",
"attributes": [
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon.png"
},
{
"class": "close_button",
"attributes": [
"hover",
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon_hover.png"
},
{
"class": "panel_control",
"layer0.tint": [
Expand Down Expand Up @@ -829,6 +797,38 @@
"interpolation": "smoothstep"
}
},
{
"class": "close_button",
"layer0.texture": "mariana-theme/assets/light/close_icon.png",
"layer0.opacity": 1,
"content_margin": [
8,
8
]
},
{
"class": "close_button",
"attributes": [
"hover"
],
"layer0.texture": "mariana-theme/assets/light/close_icon_hover.png",
"layer0.opacity": 1
},
{
"class": "close_button",
"attributes": [
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon.png"
},
{
"class": "close_button",
"attributes": [
"hover",
"dirty"
],
"layer0.texture": "mariana-theme/assets/light/dirty_icon_hover.png"
},
{
"class": "overlay_control",
"layer0.tint": [
Expand Down Expand Up @@ -1772,7 +1772,7 @@
]
}
],
"layer0.tint": "hsl(300, 30%, 68%)",
"layer0.tint": "hsl(88, 50%, 53%)",
"layer0.opacity": 1,
"content_margin": 6
},
Expand Down Expand Up @@ -1851,7 +1851,7 @@
]
}
],
"color": "hsl(300, 30%, 68%)"
"color": "hsl(88, 50%, 53%)"
},
{
"class": "sidebar_label",
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@

You can also manually activate this theme by adding these lines to your user settings (**Preferences > Settings - User**):

### Mariana Theme Light

```json
"color_scheme": "Packages/Mariana Theme/schemes/Mariana-Theme.tmTheme",
"theme": "Mariana-Theme.sublime-theme",
"color_scheme": "Packages/Mariana Theme/schemes/Mariana-Theme-Light.tmTheme",
"theme": "Mariana-Theme-Light.sublime-theme",
```

### Mariana Theme Dark

```json
"color_scheme": "Packages/Mariana Theme/schemes/Mariana-Theme-Dark.tmTheme",
"theme": "Mariana-Theme-Dark.sublime-theme",
```

### Theme options
#### Theme options

```json
"mariana_theme_titlebar": false,
Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ function scheme() {
console.log("▶️ - Start Scheme Build.");
console.log("===============================================================================");
let filePath;
fs.readdirSync("./src/scheme/").forEach(file => {
fs.readdirSync("./src/schemes/").forEach(file => {
console.log(`👁 - Reading ${file} file.`);
filePath = path.join(__dirname, "/src/scheme/" + file);
filePath = path.join(__dirname, "/src/schemes/" + file);
fs.readFile(filePath, "utf8", (err, data) => {
if (err) throw err;
fs.writeFile(`${file}.sublime-color-scheme`, data, (err) => {
fs.writeFile(`schemes/${file}.sublime-color-scheme`, data, (err) => {
if (err) {
console.log("===============================================================================");
console.log(`🆘 - Problme with ${file}.`);
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/themes/light/vsc_sidebar_diff.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"class": "vcs_status_badge",
"parents": [{"class": "file_system_entry", "attributes": ["staged"]}],
"layer0.tint": "hsl(300, 30%, 68%)",
"layer0.tint": "hsl(88, 50%, 53%)",
"layer0.opacity": 1.0,
"content_margin": 6
},
Expand Down Expand Up @@ -52,7 +52,7 @@
{
"class": "sidebar_label",
"parents": [{"class": "file_system_entry", "attributes": ["staged"]}],
"color": "hsl(300, 30%, 68%)"
"color": "hsl(88, 50%, 53%)"
},
{
"class": "sidebar_label",
Expand Down

0 comments on commit c69ec9b

Please sign in to comment.