mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Add a theme fixture
This commit is contained in:
3
spec/fixtures/packages/theme-with-multiple-imported-files/index.less
vendored
Normal file
3
spec/fixtures/packages/theme-with-multiple-imported-files/index.less
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@import "stylesheets/first";
|
||||
@import "stylesheets/second";
|
||||
@import "stylesheets/last";
|
||||
3
spec/fixtures/packages/theme-with-multiple-imported-files/package.json
vendored
Normal file
3
spec/fixtures/packages/theme-with-multiple-imported-files/package.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"theme": true
|
||||
}
|
||||
7
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/first.less
vendored
Normal file
7
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/first.less
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
.editor {
|
||||
padding-top: 101px;
|
||||
padding-right: 101px;
|
||||
padding-bottom: 101px;
|
||||
|
||||
color: red;
|
||||
}
|
||||
5
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/last.less
vendored
Normal file
5
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/last.less
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
.editor {
|
||||
/* padding-top: 103px;
|
||||
padding-right: 103px;*/
|
||||
padding-bottom: 103px;
|
||||
}
|
||||
9
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/second.less
vendored
Normal file
9
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/second.less
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
@import "ui-variables";
|
||||
|
||||
@number: 102px;
|
||||
|
||||
.editor {
|
||||
/* padding-top: 102px;*/
|
||||
padding-right: @number;
|
||||
padding-bottom: @number;
|
||||
}
|
||||
73
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/ui-variables.less
vendored
Normal file
73
spec/fixtures/packages/theme-with-multiple-imported-files/stylesheets/ui-variables.less
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
// Variables different from the original are marked 'Changed'
|
||||
|
||||
@text-color: #333;
|
||||
@text-color-subtle: #777;
|
||||
@text-color-highlight: #111;
|
||||
@text-color-selected: @text-color-highlight;
|
||||
|
||||
@text-color-info: #5293d8;
|
||||
@text-color-success: #1fe977;
|
||||
@text-color-warning: #f78a46;
|
||||
@text-color-error: #c00;
|
||||
|
||||
@background-color-info: #0098ff;
|
||||
@background-color-success: #17ca65;
|
||||
@background-color-warning: #ff4800;
|
||||
@background-color-error: #c00;
|
||||
@background-color-highlight: rgba(255, 255, 255, 0.10);
|
||||
@background-color-selected: @background-color-highlight;
|
||||
|
||||
@app-background-color: #00f; // Changed
|
||||
|
||||
@base-background-color: #fff;
|
||||
@base-border-color: #eee;
|
||||
|
||||
@pane-item-background-color: @base-background-color;
|
||||
@pane-item-border-color: @base-border-color;
|
||||
|
||||
@input-background-color: #f00; // Changed
|
||||
@input-border-color: @base-border-color;
|
||||
|
||||
@tool-panel-background-color: #f4f4f4;
|
||||
@tool-panel-border-color: @base-border-color;
|
||||
|
||||
@inset-panel-background-color: #eee;
|
||||
@inset-panel-border-color: @base-border-color;
|
||||
|
||||
@panel-heading-background-color: #ddd;
|
||||
@panel-heading-border-color: transparent;
|
||||
|
||||
@overlay-background-color: #f4f4f4;
|
||||
@overlay-border-color: @base-border-color;
|
||||
|
||||
@button-background-color: #ccc;
|
||||
@button-background-color-hover: lighten(@button-background-color, 5%);
|
||||
@button-background-color-selected: @button-background-color-hover;
|
||||
@button-border-color: #aaa;
|
||||
|
||||
@tab-bar-background-color: #fff;
|
||||
@tab-bar-border-color: darken(@tab-background-color-active, 10%);
|
||||
@tab-background-color: #f4f4f4;
|
||||
@tab-background-color-active: #fff;
|
||||
@tab-border-color: @base-border-color;
|
||||
|
||||
@tree-view-background-color: @tool-panel-background-color;
|
||||
@tree-view-border-color: @tool-panel-border-color;
|
||||
|
||||
@ui-site-color-1: @background-color-success; // green
|
||||
@ui-site-color-2: @background-color-info; // blue
|
||||
@ui-site-color-3: @background-color-warning; // orange
|
||||
@ui-site-color-4: #db2ff4; // purple
|
||||
@ui-site-color-5: #f5e11d; // yellow
|
||||
|
||||
@font-size: 12px;
|
||||
|
||||
@disclosure-arrow-size: 12px;
|
||||
|
||||
@component-padding: 150px;
|
||||
@component-icon-padding: 5px;
|
||||
@component-icon-size: 16px;
|
||||
@component-line-height: 25px;
|
||||
@component-border-radius: 2px;
|
||||
|
||||
@tab-height: 30px;
|
||||
Reference in New Issue
Block a user