Skip to content

Commit

Permalink
GHI-#36 Implement the LESSCSS styles and variables
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Oct 22, 2016
1 parent a99fc98 commit 6f3748d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ copyright Copyright (C) 2016 +
> Package Support
Community
Core
> Theme Settings
[References]
Nord
Expand Down Expand Up @@ -70,3 +71,8 @@ LESSCSS
@import "styles/package-support/minimap";
@import "styles/package-support/project-manager";
@import "styles/package-support/timecop";

/*+----------------+
+ Theme Settings +
+----------------+*/
@import "styles/ui-theme-settings";
43 changes: 43 additions & 0 deletions styles/ui-theme-settings.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
title UI Theme Settings +
project nord-atom-ui +
version +
repository https://github.com/arcticicestudio/nord-atom-ui +
author Arctic Ice Studio +
email [email protected] +
copyright Copyright (C) 2016 +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[Index]
> Variables
> User Interface
Full-Width Tab Sizing
*/
/*+-----------+
+ Variables +
+-----------+*/
@theme-setting-tabsizing: ~'theme-@{ui-theme-name}-tabsizing';

/*+----------------+
+ User Interface +
+----------------+*/
/*+--- Full Width Tab Sizing ---+*/
[@{theme-setting-tabsizing}="nofullwidth"] {
.theme-setting-tabsizing-nofullwidth();
}

.theme-setting-tabsizing-nofullwidth() {
.tab-bar {
width: auto;

.tab {
width: inherit;
}

.tab.active,
.tab:hover.active {
width: inherit;
}
}
}
1 change: 1 addition & 0 deletions styles/ui-variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ copyright Copyright (C) 2016 +
/*+------------+
+ Animations +
+------------+*/
@ui-theme-name: nord-atom-ui;
@transition-time: 400ms;

/*+------+
Expand Down

0 comments on commit 6f3748d

Please sign in to comment.