@ornikar/kitt-universal 7.1.1 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definitions/themes/default.d.ts +2 -0
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/colors.d.ts +2 -0
- package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -1
- package/dist/definitions/typography/Typography.d.ts.map +1 -1
- package/dist/index-browser-all.es.android.js +14 -11
- package/dist/index-browser-all.es.android.js.map +1 -1
- package/dist/index-browser-all.es.ios.js +14 -11
- package/dist/index-browser-all.es.ios.js.map +1 -1
- package/dist/index-browser-all.es.js +14 -11
- package/dist/index-browser-all.es.js.map +1 -1
- package/dist/index-browser-all.es.web.js +14 -11
- package/dist/index-browser-all.es.web.js.map +1 -1
- package/dist/index-node-14.17.cjs.js +15 -13
- package/dist/index-node-14.17.cjs.js.map +1 -1
- package/dist/index-node-14.17.cjs.web.js +15 -13
- package/dist/index-node-14.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.android.js +11 -9
- package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.ios.js +11 -9
- package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.js +11 -9
- package/dist/linaria-themes-browser-all.es.js.map +1 -1
- package/dist/linaria-themes-browser-all.es.web.js +11 -9
- package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.js +11 -9
- package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-14.17.cjs.web.js +11 -9
- package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -150,10 +150,10 @@ const StyledTypography = /*#__PURE__*/styled__default(BabelPluginStyledComponent
|
|
|
150
150
|
}, ({
|
|
151
151
|
theme,
|
|
152
152
|
$color
|
|
153
|
-
}) =>
|
|
154
|
-
color
|
|
155
|
-
text-decoration-color: $
|
|
156
|
-
|
|
153
|
+
}) => {
|
|
154
|
+
if (!$color) return '';
|
|
155
|
+
return styled.css(["color:", ";text-decoration-color:", ";"], theme.kitt.typography.colors[$color], theme.kitt.typography.colors[$color]);
|
|
156
|
+
});
|
|
157
157
|
function useTypographyTypeForCurrentWindowSize(base, small, medium, large) {
|
|
158
158
|
const {
|
|
159
159
|
width
|
|
@@ -911,7 +911,9 @@ const colors = {
|
|
|
911
911
|
warning: lateOceanColorPalette.goldCrayola,
|
|
912
912
|
separator: lateOceanColorPalette.black100,
|
|
913
913
|
hover: lateOceanColorPalette.black100,
|
|
914
|
+
white: lateOceanColorPalette.white,
|
|
914
915
|
black: lateOceanColorPalette.black1000,
|
|
916
|
+
blackAnthracite: lateOceanColorPalette.black800,
|
|
915
917
|
uiBackground: lateOceanColorPalette.black25,
|
|
916
918
|
uiBackgroundLight: lateOceanColorPalette.white,
|
|
917
919
|
transparent: lateOceanColorPalette.transparent,
|
|
@@ -1100,16 +1102,16 @@ const createTypographyTypeConfig = (lineHeightMultiplier, baseAndSmallFontSize,
|
|
|
1100
1102
|
});
|
|
1101
1103
|
const typography = {
|
|
1102
1104
|
colors: {
|
|
1103
|
-
black:
|
|
1104
|
-
'black-anthracite':
|
|
1105
|
+
black: colors.black,
|
|
1106
|
+
'black-anthracite': colors.blackAnthracite,
|
|
1105
1107
|
'black-light': lateOceanColorPalette.black555,
|
|
1106
|
-
white:
|
|
1107
|
-
'white-light':
|
|
1108
|
-
primary:
|
|
1109
|
-
'primary-light':
|
|
1110
|
-
accent:
|
|
1111
|
-
success:
|
|
1112
|
-
danger:
|
|
1108
|
+
white: colors.white,
|
|
1109
|
+
'white-light': colors.white,
|
|
1110
|
+
primary: colors.primary,
|
|
1111
|
+
'primary-light': colors.primaryLight,
|
|
1112
|
+
accent: colors.accent,
|
|
1113
|
+
success: colors.success,
|
|
1114
|
+
danger: colors.danger
|
|
1113
1115
|
},
|
|
1114
1116
|
types: {
|
|
1115
1117
|
headers: {
|