-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b4be25
commit 8ea71a0
Showing
5 changed files
with
120 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
/** | ||
* Define or overwrite your theme variables here. | ||
* | ||
* Check for @humhub/static/less/variables.less file for all available variables. | ||
* | ||
* You can also access your variables within your view files by calling Yii::$app->view->theme->variable('myVariable'); | ||
* | ||
* You can disable the import of humhub theme components by using variables of the format @prev-{component} e.g.: | ||
* This will prevent comment.less component from beeing imported. | ||
* e.g.: | ||
* @prev-comment: true; | ||
* | ||
**/ | ||
|
||
// Workaround because css-color-extractor would remove it | ||
// JPlayer Audio | ||
.jp-audio { | ||
filter: invert(1) hue-rotate(180deg); | ||
} | ||
// UI Icons (e.g. date picker arrows) | ||
.ui-icon, .ui-widget-content .ui-icon, .ui-widget-header .ui-icon, { | ||
filter: invert(100%); | ||
} | ||
|
||
// | ||
// Colors for buttons status etc. | ||
// -------------------------------------------------- | ||
@default: #0d0d0d; | ||
// | ||
// Text colors | ||
// -------------------------------------------------- | ||
|
||
// Default body text color. | ||
@text-color-main: #ddd; | ||
|
||
// used for some icons and buttons etc. - former @font2 | ||
@text-color-secondary: #bbb; | ||
|
||
// highlighted text like some active links hovered links etc. - former @font3 | ||
@text-color-highlight: #fff; | ||
|
||
// side information like dates, placeholder, some dropdown headers - former @font4 | ||
@text-color-soft: #dddddd; | ||
|
||
// also side information wall entry links (like/comment), help blocks in forms etc. - former @font5 | ||
@text-color-soft2: #ccc; | ||
|
||
// used in gridview summary and installer - former @font1 | ||
@text-color-soft3: #7b7773; | ||
|
||
// used as contrast color for @primary, @info, @success, @warning, @danger backgrounds for buttons etc. | ||
// Note that @default does not use a contrast color @default is normally combined with @text-color-secondary | ||
@text-color-contrast: #000; | ||
|
||
|
||
// | ||
// Background colors | ||
// -------------------------------------------------- | ||
|
||
// main content background color should be in contrast with @text-color-main, @text-color-secondary and other text colors | ||
@background-color-main: #222; | ||
|
||
// used beside others for tabs - former @background1 | ||
@background-color-secondary: #333; | ||
|
||
// page background which is also used for other ui components as comment box etc. - former @background2 | ||
@background-color-page: #000; | ||
|
||
// Informative highlighting color | ||
// (e.g. Comment Permalink, Shared Item, Calendar CurDay, Wiki Active Page Nav, Mail Module Speech Bubble) | ||
@background-color-highlight: #2e393a; | ||
|
||
// Informative highlighting soft color | ||
// (e.g. Wiki Active Category) | ||
@background-color-highlight-soft: darken(@background-color-highlight, 10); | ||
|
||
// Additional background colors | ||
@background3: #393939; | ||
@background4: #5e5e5e; | ||
|
||
// | ||
// Bootstrap Alert boxes | ||
// -------------------------------------------------- | ||
// Alert box success (used in forms) | ||
@background-color-success: #3e423b; | ||
@text-color-success: #84be5e; | ||
@border-color-success: #97d271; | ||
|
||
// Alert box warning (used in forms) | ||
@background-color-warning: #4d443b; | ||
@text-color-warning: #e9b168; | ||
@border-color-warning: #fdd198; | ||
|
||
// Alert box danger (used in forms) | ||
@background-color-danger: #372a2a; | ||
@text-color-danger: #ff8989; | ||
@border-color-danger: #ff8989; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Import CSS variable declarations again after css-color-extractor has removed them | ||
@import '../css/dark_temporary.less'; | ||
@import 'humhub/variables.less'; | ||
@import 'dark/variables.less'; | ||
@import 'variables.less'; |