Allowing themes overriding by each project needs

This commit is contained in:
Bruno Alves de Faria committed 2017-03-21 10:16:46 -03:00
1 parent c7f31ddb0a
commit 04e9a85def
14 files changed
+90 -49

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
Package.describe({
name: 'ohif:themes-common',
summary: 'OHIF Common Themes',
version: '0.0.1'
});
Package.onUse(function(api) {
api.versionsFrom('1.4.2.3');
api.use('stylus');
// Importable themes
api.addFiles([
'themes.styl',
'themes/theme-tide.styl',
'themes/theme-tigerlily.styl',
'themes/theme-crickets.styl',
'themes/theme-honeycomb.styl',
'themes/theme-mint.styl',
'themes/theme-overcast.styl',
'themes/theme-quartz.styl'
], 'client', {
isImport: true
});
});
+10
View File
@@ -0,0 +1,10 @@
$ohifThemesCommon = {}
// Import the theme variables
@import "{ohif:themes-common}/themes/theme-tide.styl"
@import "{ohif:themes-common}/themes/theme-tigerlily.styl"
@import "{ohif:themes-common}/themes/theme-crickets.styl"
@import "{ohif:themes-common}/themes/theme-honeycomb.styl"
@import "{ohif:themes-common}/themes/theme-mint.styl"
@import "{ohif:themes-common}/themes/theme-overcast.styl"
@import "{ohif:themes-common}/themes/theme-quartz.styl"
@@ -0,0 +1,35 @@
$ohifThemesCommon['crickets'] = {
// Common palette
$uiYellow: #E29E4A
$uiSkyBlue: #6FBDE2
// State palette
$uiStateError: #FFCCCC
$uiStateErrorBorder: #993333
$uiStateErrorText: #661111
$uiGrayLight: #516873
$uiGray: #263340
$uiGrayDark: #2B141B
$uiGrayDarker: #231C1E
$uiGrayDarkest: #14191E
// Interface UI Colors
$defaultColor: #92C2DA
$hoverColor: #ffffff
$activeColor: #D4C3C1
$uiBorderColor: #537B76
$uiBorderColorDark: #3C5D80
$uiBorderColorActive: #d4aaa5
$primaryBackgroundColor: #000000
$boxBackgroundColor: #344a61
// Text Colors
$textColorActive: #000000
$textPrimaryColor: #ffffff
$textSecondaryColor: #8BE7B5
$largeNumbersColor: #D47C66
// Other Colors
$imageSliderColor: #163239
}
@@ -0,0 +1,35 @@
$ohifThemesCommon['honeycomb'] = {
// Common palette
$uiYellow: #E29E4A
$uiSkyBlue: #6FBDE2
// State palette
$uiStateError: #FFCCCC
$uiStateErrorBorder: #993333
$uiStateErrorText: #661111
$uiGrayLight: #516873
$uiGray: #263340
$uiGrayDark: #252228
$uiGrayDarker: #18161A
$uiGrayDarkest: #14191E
// Interface UI Colors
$defaultColor: #B5B5B5
$hoverColor: #ffffff
$activeColor: #CDA56B
$uiBorderColor: #623337
$uiBorderColorDark: #3C5D80
$uiBorderColorActive: #ce9e59
$primaryBackgroundColor: #000000
$boxBackgroundColor: #344a61
// Text Colors
$textColorActive: #000000
$textPrimaryColor: #ffffff
$textSecondaryColor: #FAB797
$largeNumbersColor: #D47C66
// Other Colors
$imageSliderColor: #163239
}
@@ -0,0 +1,35 @@
$ohifThemesCommon['mint'] = {
// Common palette
$uiYellow: #E29E4A
$uiSkyBlue: #6FBDE2
// State palette
$uiStateError: #FFCCCC
$uiStateErrorBorder: #993333
$uiStateErrorText: #661111
$uiGrayLight: #516873
$uiGray: #263340
$uiGrayDark: #1D232A
$uiGrayDarker: #15191E
$uiGrayDarkest: #14191E
// Interface UI Colors
$defaultColor: #A7E9B3
$hoverColor: #ffffff
$activeColor: #31B166
$uiBorderColor: #214529
$uiBorderColorDark: #3C5D80
$uiBorderColorActive: #23b15d
$primaryBackgroundColor: #000000
$boxBackgroundColor: #344a61
// Text Colors
$textColorActive: #000000
$textPrimaryColor: #ffffff
$textSecondaryColor: #A7E9B3
$largeNumbersColor: #76D27D
// Other Colors
$imageSliderColor: #163239
}
@@ -0,0 +1,35 @@
$ohifThemesCommon['overcast'] = {
// Common palette
$uiYellow: #E29E4A
$uiSkyBlue: #6FBDE2
// State palette
$uiStateError: #FFCCCC
$uiStateErrorBorder: #993333
$uiStateErrorText: #661111
$uiGrayLight: #516873
$uiGray: #263340
$uiGrayDark: #252228
$uiGrayDarker: #15191E
$uiGrayDarkest: #14191E
// Interface UI Colors
$defaultColor: #9CBECF
$hoverColor: #ffffff
$activeColor: #507D80
$uiBorderColor: #404040
$uiBorderColorDark: #3C5D80
$uiBorderColorActive: #467c80
$primaryBackgroundColor: #000000
$boxBackgroundColor: #344a61
// Text Colors
$textColorActive: #000000
$textPrimaryColor: #ffffff
$textSecondaryColor: #73F2FC
$largeNumbersColor: #74F1FA
// Other Colors
$imageSliderColor: #163239
}
@@ -0,0 +1,35 @@
$ohifThemesCommon['quartz'] = {
// Common palette
$uiYellow: #E29E4A
$uiSkyBlue: #6FBDE2
// State palette
$uiStateError: #FFCCCC
$uiStateErrorBorder: #993333
$uiStateErrorText: #661111
$uiGrayLight: #516873
$uiGray: #263340
$uiGrayDark: #2B2E3F
$uiGrayDarker: #151A1F
$uiGrayDarkest: #14191E
// Interface UI Colors
$defaultColor: #8EA2A4
$hoverColor: #ffffff
$activeColor: #7858CE
$uiBorderColor: #885B86
$uiBorderColorDark: #3C5D80
$uiBorderColorActive: #6843cc
$primaryBackgroundColor: #000000
$boxBackgroundColor: #344a61
// Text Colors
$textColorActive: #000000
$textPrimaryColor: #ffffff
$textSecondaryColor: #D7E8FE
$largeNumbersColor: #ABCDF6
// Other Colors
$imageSliderColor: #163239
}
@@ -0,0 +1,35 @@
$ohifThemesCommon['tide'] = {
// Common palette
$uiYellow: #E29E4A
$uiSkyBlue: #6FBDE2
// State palette
$uiStateError: #FFCCCC
$uiStateErrorBorder: #993333
$uiStateErrorText: #661111
$uiGrayLight: #516873
$uiGray: #263340
$uiGrayDark: #16202B
$uiGrayDarker: #151A1F
$uiGrayDarkest: #14191E
// Interface UI Colors
$defaultColor: #9CCEF9
$hoverColor: #ffffff
$activeColor: #20A5D6
$uiBorderColor: #44626F
$uiBorderColorDark: #3C5D80
$uiBorderColorActive: #00a4d9
$primaryBackgroundColor: #000000
$boxBackgroundColor: #344a61
// Text Colors
$textColorActive: #000000
$textPrimaryColor: #ffffff
$textSecondaryColor: #91B9CD
$largeNumbersColor: #6FBDE2
// Other Colors
$imageSliderColor: #163239
}
@@ -0,0 +1,35 @@
$ohifThemesCommon['tigerlily'] = {
// Common palette
$uiYellow: #E29E4A
$uiSkyBlue: #6FBDE2
// State palette
$uiStateError: #FFCCCC
$uiStateErrorBorder: #CC6666
$uiStateErrorText: #661111
$uiGrayLight: #516873
$uiGray: #263340
$uiGrayDark: #26333F
$uiGrayDarker: #151A1F
$uiGrayDarkest: #14191E
// Interface UI Colors
$defaultColor: #9ACFFD
$hoverColor: #ffffff
$activeColor: #fa8947
$uiBorderColor: #875a86
$uiBorderColorDark: #744b71
$uiBorderColorActive: #ff8a3d
$primaryBackgroundColor: #000000
$boxBackgroundColor: #5b3a59
// Text Colors
$textColorActive: #000000
$textPrimaryColor: #ffffff
$textSecondaryColor: #9CCDF8
$largeNumbersColor: #D47C66
// Other Colors
$imageSliderColor: #4b2c3c //#163239
}