@ltht-react/styles
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -6,4 +6,12 @@ # Change Log | ||
## [0.0.3](https://github.com/ltht-epr/ltht-react/compare/@ltht-react/styles@0.0.2...@ltht-react/styles@0.0.3) (2020-01-20) | ||
**Note:** Version bump only for package @ltht-react/styles | ||
## 0.0.1 (2020-01-03) | ||
**Note:** Version bump only for package @ltht-react/styles |
@@ -5,2 +5,3 @@ export declare const PRIMARY_TEXT_COLOUR = "#231f20"; | ||
export declare const INFO_TEXT_COLOUR = "#003087"; | ||
export declare const ICON_PRIMARY_COLOUR = "#231f20"; | ||
export declare const ICON_RED_COLOUR = "#DA291C"; | ||
@@ -7,0 +8,0 @@ export declare const ICON_AMBER_COLOUR = "#ED8B00"; |
@@ -15,2 +15,3 @@ "use strict"; | ||
exports.INFO_TEXT_COLOUR = colours.NHS_DARK_BLUE; | ||
exports.ICON_PRIMARY_COLOUR = colours.NHS_BLACK; | ||
exports.ICON_RED_COLOUR = colours.NHS_EMERGENCY_SERVICES_RED; | ||
@@ -17,0 +18,0 @@ exports.ICON_AMBER_COLOUR = colours.NHS_ORANGE; |
export declare const ICON_SIZE_SMALL = "1rem"; | ||
export declare const ICON_SIZE_MEDIUM = "1rem"; | ||
export declare const ICON_SIZE_LARGE = "1rem"; | ||
declare type FontAwesomeIconSize = 'xs' | 'lg' | 'sm' | '1x' | '2x' | '3x' | '4x' | '5x' | '6x' | '7x' | '8x' | '9x' | '10x'; | ||
export declare type IconSize = 'small' | 'medium' | 'large'; | ||
export declare const calculateIconSize: (input: IconSize) => FontAwesomeIconSize; | ||
export {}; |
@@ -6,2 +6,14 @@ "use strict"; | ||
exports.ICON_SIZE_LARGE = '1rem'; | ||
exports.calculateIconSize = function (input) { | ||
switch (input) { | ||
case 'large': | ||
return 'lg'; | ||
case 'medium': | ||
return 'sm'; | ||
case 'small': | ||
return 'xs'; | ||
default: | ||
return '1x'; | ||
} | ||
}; | ||
//# sourceMappingURL=icons.js.map |
export * from './colours'; | ||
export * from './css-reset'; | ||
export * from './icons'; | ||
export * from './media-queries'; | ||
export * from './widget'; |
@@ -8,4 +8,5 @@ "use strict"; | ||
__export(require("./css-reset")); | ||
__export(require("./icons")); | ||
__export(require("./media-queries")); | ||
__export(require("./widget")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ltht-react/styles", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "> TODO: description", | ||
@@ -31,3 +31,3 @@ "author": "Jonny Smith <jonny.asmith@gmail.com>", | ||
}, | ||
"gitHead": "5fd8016ae3d0996170492f82a2e0d60df41e4229" | ||
"gitHead": "19893cfe90b7d8ce2364187526e8694f822ed1d7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13060
162