@covalent/core 0.0.0-COVALENT
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/README.md +42 -0
- package/breadcrumbs/README.md +93 -0
- package/breadcrumbs/_breadcrumbs-theme.scss +10 -0
- package/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +37 -0
- package/breadcrumbs/breadcrumbs.component.d.ts +37 -0
- package/breadcrumbs/breadcrumbs.module.d.ts +10 -0
- package/breadcrumbs/covalent-core-breadcrumbs.d.ts +5 -0
- package/breadcrumbs/package.json +10 -0
- package/breadcrumbs/public_api.d.ts +3 -0
- package/common/README.md +3 -0
- package/common/_common-theme.scss +35 -0
- package/common/animations/bounce/bounce.animation.d.ts +14 -0
- package/common/animations/collapse/collapse.animation.d.ts +20 -0
- package/common/animations/common/interfaces.d.ts +5 -0
- package/common/animations/fade/fadeInOut.animation.d.ts +20 -0
- package/common/animations/flash/flash.animation.d.ts +14 -0
- package/common/animations/headshake/headshake.animation.d.ts +14 -0
- package/common/animations/jello/jello.animation.d.ts +14 -0
- package/common/animations/pulse/pulse.animation.d.ts +14 -0
- package/common/animations/rotate/rotate.animation.d.ts +21 -0
- package/common/behaviors/control-value-accesor.mixin.d.ts +16 -0
- package/common/behaviors/disable-ripple.mixin.d.ts +9 -0
- package/common/behaviors/disabled.mixin.d.ts +9 -0
- package/common/common.module.d.ts +17 -0
- package/common/covalent-core-common.d.ts +5 -0
- package/common/directives/fullscreen/fullscreen.directive.d.ts +25 -0
- package/common/forms/auto-trim/auto-trim.directive.d.ts +12 -0
- package/common/forms/validators/validators.d.ts +8 -0
- package/common/functions/clipboard.d.ts +9 -0
- package/common/functions/convert.d.ts +31 -0
- package/common/functions/download.d.ts +48 -0
- package/common/functions/file.d.ts +7 -0
- package/common/package.json +10 -0
- package/common/pipes/bytes/bytes.pipe.d.ts +7 -0
- package/common/pipes/decimal-bytes/decimal-bytes.pipe.d.ts +7 -0
- package/common/pipes/digits/digits.pipe.d.ts +10 -0
- package/common/pipes/time-ago/time-ago.pipe.d.ts +7 -0
- package/common/pipes/time-difference/time-difference.pipe.d.ts +7 -0
- package/common/pipes/time-until/time-until.pipe.d.ts +7 -0
- package/common/pipes/truncate/truncate.pipe.d.ts +7 -0
- package/common/public_api.d.ts +35 -0
- package/common/services/icon.service.d.ts +8 -0
- package/common/services/router-path.service.d.ts +10 -0
- package/common/styles/_elevation.scss +285 -0
- package/common/styles/_layout.scss +605 -0
- package/common/styles/_palette-dark.scss +326 -0
- package/common/styles/_palette-light.scss +637 -0
- package/common/styles/_rtl.scss +31 -0
- package/common/styles/_styles.scss +10 -0
- package/common/styles/_theme-functions.scss +25 -0
- package/common/styles/_typography-functions.scss +43 -0
- package/common/styles/_variables.scss +99 -0
- package/common/styles/colors/_colors-dark.scss +1399 -0
- package/common/styles/colors/_colors-light.scss +3235 -0
- package/common/styles/colors/_colors.scss +7 -0
- package/common/styles/core/_button.scss +90 -0
- package/common/styles/core/_card.scss +189 -0
- package/common/styles/core/_content.scss +43 -0
- package/common/styles/core/_core.scss +23 -0
- package/common/styles/core/_divider.scss +16 -0
- package/common/styles/core/_icons.scss +22 -0
- package/common/styles/core/_list.scss +8 -0
- package/common/styles/core/_sidenav.scss +22 -0
- package/common/styles/core/_structure.scss +127 -0
- package/common/styles/core/_toolbar.scss +53 -0
- package/common/styles/core/_whiteframe.scss +138 -0
- package/common/styles/font/MaterialIcons-Regular-v48.woff2 +0 -0
- package/common/styles/font/README.md +11 -0
- package/common/styles/font/_font.scss +99 -0
- package/common/styles/utilities/_general.scss +65 -0
- package/common/styles/utilities/_pad.scss +36 -0
- package/common/styles/utilities/_pull.scss +36 -0
- package/common/styles/utilities/_push.scss +36 -0
- package/common/styles/utilities/_size.scss +24 -0
- package/common/styles/utilities/_text.scss +105 -0
- package/common/styles/utilities/_utilities.scss +15 -0
- package/covalent-core.d.ts +5 -0
- package/dialogs/README.md +223 -0
- package/dialogs/_dialog-theme.scss +39 -0
- package/dialogs/alert-dialog/alert-dialog.component.d.ts +12 -0
- package/dialogs/confirm-dialog/confirm-dialog.component.d.ts +15 -0
- package/dialogs/covalent-core-dialogs.d.ts +5 -0
- package/dialogs/dialog.component.d.ts +22 -0
- package/dialogs/dialogs.module.d.ts +19 -0
- package/dialogs/package.json +10 -0
- package/dialogs/prompt-dialog/prompt-dialog.component.d.ts +23 -0
- package/dialogs/public_api.d.ts +8 -0
- package/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.d.ts +21 -0
- package/dialogs/services/dialog.service.d.ts +105 -0
- package/dialogs/src/README.md +223 -0
- package/dialogs/window-dialog/window-dialog.component.d.ts +16 -0
- package/dynamic-menu/README.md +152 -0
- package/dynamic-menu/_dynamic-menu-theme.scss +0 -0
- package/dynamic-menu/covalent-core-dynamic-menu.d.ts +5 -0
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.d.ts +12 -0
- package/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.d.ts +10 -0
- package/dynamic-menu/dynamic-menu.component.d.ts +11 -0
- package/dynamic-menu/dynamic-menu.menu.d.ts +22 -0
- package/dynamic-menu/dynamic-menu.module.d.ts +15 -0
- package/dynamic-menu/package.json +10 -0
- package/dynamic-menu/public_api.d.ts +5 -0
- package/esm2020/breadcrumbs/breadcrumb/breadcrumb.component.mjs +92 -0
- package/esm2020/breadcrumbs/breadcrumbs.component.mjs +134 -0
- package/esm2020/breadcrumbs/breadcrumbs.module.mjs +20 -0
- package/esm2020/breadcrumbs/covalent-core-breadcrumbs.mjs +5 -0
- package/esm2020/breadcrumbs/public_api.mjs +4 -0
- package/esm2020/common/animations/bounce/bounce.animation.mjs +70 -0
- package/esm2020/common/animations/collapse/collapse.animation.mjs +51 -0
- package/esm2020/common/animations/common/interfaces.mjs +2 -0
- package/esm2020/common/animations/fade/fadeInOut.animation.mjs +37 -0
- package/esm2020/common/animations/flash/flash.animation.mjs +34 -0
- package/esm2020/common/animations/headshake/headshake.animation.mjs +47 -0
- package/esm2020/common/animations/jello/jello.animation.mjs +59 -0
- package/esm2020/common/animations/pulse/pulse.animation.mjs +32 -0
- package/esm2020/common/animations/rotate/rotate.animation.mjs +30 -0
- package/esm2020/common/behaviors/control-value-accesor.mixin.mjs +41 -0
- package/esm2020/common/behaviors/disable-ripple.mixin.mjs +24 -0
- package/esm2020/common/behaviors/disabled.mixin.mjs +24 -0
- package/esm2020/common/common.module.mjs +63 -0
- package/esm2020/common/covalent-core-common.mjs +5 -0
- package/esm2020/common/directives/fullscreen/fullscreen.directive.mjs +85 -0
- package/esm2020/common/forms/auto-trim/auto-trim.directive.mjs +36 -0
- package/esm2020/common/forms/validators/validators.mjs +29 -0
- package/esm2020/common/functions/clipboard.mjs +23 -0
- package/esm2020/common/functions/convert.mjs +84 -0
- package/esm2020/common/functions/download.mjs +75 -0
- package/esm2020/common/functions/file.mjs +16 -0
- package/esm2020/common/pipes/bytes/bytes.pipe.mjs +42 -0
- package/esm2020/common/pipes/decimal-bytes/decimal-bytes.pipe.mjs +42 -0
- package/esm2020/common/pipes/digits/digits.pipe.mjs +39 -0
- package/esm2020/common/pipes/time-ago/time-ago.pipe.mjs +72 -0
- package/esm2020/common/pipes/time-difference/time-difference.pipe.mjs +51 -0
- package/esm2020/common/pipes/time-until/time-until.pipe.mjs +72 -0
- package/esm2020/common/pipes/truncate/truncate.pipe.mjs +27 -0
- package/esm2020/common/public_api.mjs +39 -0
- package/esm2020/common/services/icon.service.mjs +1089 -0
- package/esm2020/common/services/router-path.service.mjs +29 -0
- package/esm2020/covalent-core.mjs +5 -0
- package/esm2020/dialogs/alert-dialog/alert-dialog.component.mjs +23 -0
- package/esm2020/dialogs/confirm-dialog/confirm-dialog.component.mjs +28 -0
- package/esm2020/dialogs/covalent-core-dialogs.mjs +5 -0
- package/esm2020/dialogs/dialog.component.mjs +56 -0
- package/esm2020/dialogs/dialogs.module.mjs +89 -0
- package/esm2020/dialogs/prompt-dialog/prompt-dialog.component.mjs +46 -0
- package/esm2020/dialogs/public_api.mjs +9 -0
- package/esm2020/dialogs/resizable-draggable-dialog/resizable-draggable-dialog.mjs +216 -0
- package/esm2020/dialogs/services/dialog.service.mjs +171 -0
- package/esm2020/dialogs/window-dialog/window-dialog.component.mjs +38 -0
- package/esm2020/dynamic-menu/covalent-core-dynamic-menu.mjs +5 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-item.component.mjs +30 -0
- package/esm2020/dynamic-menu/dynamic-menu-item/dynamic-menu-link/dynamic-menu-link.component.mjs +24 -0
- package/esm2020/dynamic-menu/dynamic-menu.component.mjs +28 -0
- package/esm2020/dynamic-menu/dynamic-menu.menu.mjs +2 -0
- package/esm2020/dynamic-menu/dynamic-menu.module.mjs +57 -0
- package/esm2020/dynamic-menu/public_api.mjs +6 -0
- package/esm2020/file/covalent-core-file.mjs +5 -0
- package/esm2020/file/directives/file-drop.directive.mjs +147 -0
- package/esm2020/file/directives/file-select.directive.mjs +77 -0
- package/esm2020/file/file-input/file-input.component.mjs +110 -0
- package/esm2020/file/file-upload/file-upload.component.mjs +174 -0
- package/esm2020/file/file.module.mjs +58 -0
- package/esm2020/file/public_api.mjs +7 -0
- package/esm2020/file/services/file.service.mjs +64 -0
- package/esm2020/json-formatter/collapse.animation.mjs +51 -0
- package/esm2020/json-formatter/covalent-core-json-formatter.mjs +5 -0
- package/esm2020/json-formatter/json-formatter.component.mjs +217 -0
- package/esm2020/json-formatter/json-formatter.module.mjs +20 -0
- package/esm2020/json-formatter/public_api.mjs +3 -0
- package/esm2020/layout/covalent-core-layout.mjs +5 -0
- package/esm2020/layout/layout-card-over/layout-card-over.component.mjs +40 -0
- package/esm2020/layout/layout-footer/layout-footer.component.mjs +33 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.component.mjs +93 -0
- package/esm2020/layout/layout-manage-list/layout-manage-list.directives.mjs +84 -0
- package/esm2020/layout/layout-nav/layout-nav.component.mjs +50 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.component.mjs +128 -0
- package/esm2020/layout/layout-nav-list/layout-nav-list.directives.mjs +84 -0
- package/esm2020/layout/layout-toggle.class.mjs +92 -0
- package/esm2020/layout/layout.component.mjs +92 -0
- package/esm2020/layout/layout.directives.mjs +85 -0
- package/esm2020/layout/layout.module.mjs +117 -0
- package/esm2020/layout/navigation-drawer/navigation-drawer.component.mjs +161 -0
- package/esm2020/layout/public_api.mjs +13 -0
- package/esm2020/menu/covalent-core-menu.mjs +5 -0
- package/esm2020/menu/menu.component.mjs +12 -0
- package/esm2020/menu/menu.module.mjs +21 -0
- package/esm2020/menu/public_api.mjs +3 -0
- package/esm2020/message/collapse.animation.mjs +51 -0
- package/esm2020/message/covalent-core-message.mjs +5 -0
- package/esm2020/message/message.component.mjs +203 -0
- package/esm2020/message/message.module.mjs +25 -0
- package/esm2020/message/public_api.mjs +3 -0
- package/esm2020/public_api.mjs +2 -0
- package/esm2020/search/covalent-core-search.mjs +5 -0
- package/esm2020/search/public_api.mjs +4 -0
- package/esm2020/search/search-box/search-box.component.mjs +194 -0
- package/esm2020/search/search-input/search-input.component.mjs +203 -0
- package/esm2020/search/search.module.mjs +39 -0
- package/esm2020/side-sheet/covalent-core-side-sheet.mjs +5 -0
- package/esm2020/side-sheet/public_api.mjs +6 -0
- package/esm2020/side-sheet/side-sheet-container.mjs +274 -0
- package/esm2020/side-sheet/side-sheet-ref.mjs +21 -0
- package/esm2020/side-sheet/side-sheet.animation.mjs +12 -0
- package/esm2020/side-sheet/side-sheet.config.mjs +4 -0
- package/esm2020/side-sheet/side-sheet.content-directives.mjs +201 -0
- package/esm2020/side-sheet/side-sheet.mjs +221 -0
- package/esm2020/side-sheet/side-sheet.module.mjs +45 -0
- package/esm2020/user-profile/covalent-core-user-profile.mjs +5 -0
- package/esm2020/user-profile/public_api.mjs +4 -0
- package/esm2020/user-profile/user-profile-menu/user-profile-menu.component.mjs +24 -0
- package/esm2020/user-profile/user-profile.component.mjs +19 -0
- package/esm2020/user-profile/user-profile.module.mjs +44 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs +246 -0
- package/fesm2015/covalent-core-breadcrumbs.mjs.map +1 -0
- package/fesm2015/covalent-core-common.mjs +2281 -0
- package/fesm2015/covalent-core-common.mjs.map +1 -0
- package/fesm2015/covalent-core-dialogs.mjs +639 -0
- package/fesm2015/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs +128 -0
- package/fesm2015/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-file.mjs +613 -0
- package/fesm2015/covalent-core-file.mjs.map +1 -0
- package/fesm2015/covalent-core-json-formatter.mjs +298 -0
- package/fesm2015/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2015/covalent-core-layout.mjs +1024 -0
- package/fesm2015/covalent-core-layout.mjs.map +1 -0
- package/fesm2015/covalent-core-menu.mjs +37 -0
- package/fesm2015/covalent-core-menu.mjs.map +1 -0
- package/fesm2015/covalent-core-message.mjs +284 -0
- package/fesm2015/covalent-core-message.mjs.map +1 -0
- package/fesm2015/covalent-core-search.mjs +428 -0
- package/fesm2015/covalent-core-search.mjs.map +1 -0
- package/fesm2015/covalent-core-side-sheet.mjs +762 -0
- package/fesm2015/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2015/covalent-core-user-profile.mjs +86 -0
- package/fesm2015/covalent-core-user-profile.mjs.map +1 -0
- package/fesm2015/covalent-core.mjs +4 -0
- package/fesm2015/covalent-core.mjs.map +1 -0
- package/fesm2020/covalent-core-breadcrumbs.mjs +246 -0
- package/fesm2020/covalent-core-breadcrumbs.mjs.map +1 -0
- package/fesm2020/covalent-core-common.mjs +2274 -0
- package/fesm2020/covalent-core-common.mjs.map +1 -0
- package/fesm2020/covalent-core-dialogs.mjs +634 -0
- package/fesm2020/covalent-core-dialogs.mjs.map +1 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs +128 -0
- package/fesm2020/covalent-core-dynamic-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-file.mjs +607 -0
- package/fesm2020/covalent-core-file.mjs.map +1 -0
- package/fesm2020/covalent-core-json-formatter.mjs +290 -0
- package/fesm2020/covalent-core-json-formatter.mjs.map +1 -0
- package/fesm2020/covalent-core-layout.mjs +1000 -0
- package/fesm2020/covalent-core-layout.mjs.map +1 -0
- package/fesm2020/covalent-core-menu.mjs +37 -0
- package/fesm2020/covalent-core-menu.mjs.map +1 -0
- package/fesm2020/covalent-core-message.mjs +282 -0
- package/fesm2020/covalent-core-message.mjs.map +1 -0
- package/fesm2020/covalent-core-search.mjs +425 -0
- package/fesm2020/covalent-core-search.mjs.map +1 -0
- package/fesm2020/covalent-core-side-sheet.mjs +757 -0
- package/fesm2020/covalent-core-side-sheet.mjs.map +1 -0
- package/fesm2020/covalent-core-user-profile.mjs +86 -0
- package/fesm2020/covalent-core-user-profile.mjs.map +1 -0
- package/fesm2020/covalent-core.mjs +4 -0
- package/fesm2020/covalent-core.mjs.map +1 -0
- package/file/_file-theme.scss +27 -0
- package/file/covalent-core-file.d.ts +5 -0
- package/file/directives/file-drop.directive.d.ts +61 -0
- package/file/directives/file-select.directive.d.ts +33 -0
- package/file/file-input/file-input.component.d.ts +61 -0
- package/file/file-upload/file-upload.component.d.ts +91 -0
- package/file/file.module.d.ts +15 -0
- package/file/package.json +10 -0
- package/file/public_api.d.ts +6 -0
- package/file/services/file.service.d.ts +34 -0
- package/file/src/file-input/README.md +147 -0
- package/file/src/file-upload/README.md +136 -0
- package/json-formatter/README.md +50 -0
- package/json-formatter/_json-formatter-theme.scss +72 -0
- package/json-formatter/collapse.animation.d.ts +24 -0
- package/json-formatter/covalent-core-json-formatter.d.ts +5 -0
- package/json-formatter/json-formatter.component.d.ts +78 -0
- package/json-formatter/json-formatter.module.d.ts +10 -0
- package/json-formatter/package.json +10 -0
- package/json-formatter/public_api.d.ts +2 -0
- package/layout/README.md +138 -0
- package/layout/_layout-theme.scss +128 -0
- package/layout/covalent-core-layout.d.ts +5 -0
- package/layout/layout-card-over/layout-card-over.component.d.ts +31 -0
- package/layout/layout-footer/layout-footer.component.d.ts +17 -0
- package/layout/layout-manage-list/layout-manage-list.component.d.ts +66 -0
- package/layout/layout-manage-list/layout-manage-list.directives.d.ts +25 -0
- package/layout/layout-nav/layout-nav.component.d.ts +45 -0
- package/layout/layout-nav-list/layout-nav-list.component.d.ts +104 -0
- package/layout/layout-nav-list/layout-nav-list.directives.d.ts +25 -0
- package/layout/layout-toggle.class.d.ts +40 -0
- package/layout/layout.component.d.ts +66 -0
- package/layout/layout.directives.d.ts +25 -0
- package/layout/layout.module.d.ts +25 -0
- package/layout/navigation-drawer/navigation-drawer.component.d.ts +120 -0
- package/layout/package.json +10 -0
- package/layout/public_api.d.ts +12 -0
- package/layout/src/layout-card-over/README.md +43 -0
- package/layout/src/layout-manage-list/README.md +80 -0
- package/layout/src/layout-nav/README.md +50 -0
- package/layout/src/layout-nav-list/README.md +105 -0
- package/menu/covalent-core-menu.d.ts +5 -0
- package/menu/menu.component.d.ts +5 -0
- package/menu/menu.module.d.ts +10 -0
- package/menu/package.json +10 -0
- package/menu/public_api.d.ts +2 -0
- package/message/README.md +67 -0
- package/message/_message-theme.scss +44 -0
- package/message/collapse.animation.d.ts +24 -0
- package/message/covalent-core-message.d.ts +5 -0
- package/message/message.component.d.ts +101 -0
- package/message/message.module.d.ts +9 -0
- package/message/package.json +10 -0
- package/message/public_api.d.ts +2 -0
- package/package.json +146 -0
- package/public_api.d.ts +1 -0
- package/search/README.md +132 -0
- package/search/covalent-core-search.d.ts +5 -0
- package/search/package.json +10 -0
- package/search/public_api.d.ts +3 -0
- package/search/search-box/search-box.component.d.ts +88 -0
- package/search/search-input/search-input.component.d.ts +82 -0
- package/search/search.module.d.ts +13 -0
- package/search/src/search-box/README.md +73 -0
- package/search/src/search-input/README.md +74 -0
- package/side-sheet/README.md +64 -0
- package/side-sheet/_side-sheet.theme.scss +8 -0
- package/side-sheet/covalent-core-side-sheet.d.ts +5 -0
- package/side-sheet/package.json +10 -0
- package/side-sheet/public_api.d.ts +5 -0
- package/side-sheet/side-sheet-container.d.ts +110 -0
- package/side-sheet/side-sheet-ref.d.ts +10 -0
- package/side-sheet/side-sheet.animation.d.ts +4 -0
- package/side-sheet/side-sheet.config.d.ts +3 -0
- package/side-sheet/side-sheet.content-directives.d.ts +67 -0
- package/side-sheet/side-sheet.d.ts +66 -0
- package/side-sheet/side-sheet.module.d.ts +11 -0
- package/theming/_all-theme.scss +24 -0
- package/typography/_all-typography.scss +39 -0
- package/user-profile/README.md +60 -0
- package/user-profile/_user-profile-theme.scss +27 -0
- package/user-profile/covalent-core-user-profile.d.ts +5 -0
- package/user-profile/package.json +10 -0
- package/user-profile/public_api.d.ts +3 -0
- package/user-profile/user-profile-menu/user-profile-menu.component.d.ts +8 -0
- package/user-profile/user-profile.component.d.ts +7 -0
- package/user-profile/user-profile.module.d.ts +14 -0
@@ -0,0 +1,43 @@
|
|
1
|
+
// Utility for fetching a nested value from a typography config.
|
2
|
+
@function _td-get-type-value($config, $level, $name) {
|
3
|
+
@return map-get(map-get($config, $level), $name);
|
4
|
+
}
|
5
|
+
|
6
|
+
// Gets the font size for a level inside a typography config.
|
7
|
+
@function td-font-size($config, $level) {
|
8
|
+
@return _td-get-type-value($config, $level, font-size);
|
9
|
+
}
|
10
|
+
|
11
|
+
// Gets the line height for a level inside a typography config.
|
12
|
+
@function td-line-height($config, $level) {
|
13
|
+
@return _td-get-type-value($config, $level, line-height);
|
14
|
+
}
|
15
|
+
|
16
|
+
// Gets the font weight for a level inside a typography config.
|
17
|
+
@function td-font-weight($config, $level) {
|
18
|
+
@return _td-get-type-value($config, $level, font-weight);
|
19
|
+
}
|
20
|
+
|
21
|
+
// Gets the font-family from a typography config and removes the quotes around it.
|
22
|
+
@function td-font-family($config, $level: null) {
|
23
|
+
$font-family: map-get($config, font-family);
|
24
|
+
|
25
|
+
@if $level != null {
|
26
|
+
$font-family: _td-get-type-value($config, $level, font-family);
|
27
|
+
}
|
28
|
+
|
29
|
+
@return unquote($font-family);
|
30
|
+
}
|
31
|
+
|
32
|
+
// Represents a typography level from the Material design spec.
|
33
|
+
@function td-typography-level(
|
34
|
+
$font-size,
|
35
|
+
$line-height: $font-size,
|
36
|
+
$font-weight: 400
|
37
|
+
) {
|
38
|
+
@return (
|
39
|
+
font-size: $font-size,
|
40
|
+
line-height: $line-height,
|
41
|
+
font-weight: $font-weight
|
42
|
+
);
|
43
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
@import 'theme-functions';
|
2
|
+
|
3
|
+
// Teradata UI Platform
|
4
|
+
// ------------------------------
|
5
|
+
$navigation-drawer-width: 320px !default;
|
6
|
+
$padding: 16px;
|
7
|
+
$margin: $padding;
|
8
|
+
$step-circle: 24px;
|
9
|
+
|
10
|
+
// Typography
|
11
|
+
// ------------------------------
|
12
|
+
$font-family: 'RobotoDraft', 'Roboto', 'Helvetica Neue', sans-serif !default;
|
13
|
+
$font-size: 10px;
|
14
|
+
|
15
|
+
$display-4-font-size-base: rem(11.2) !default;
|
16
|
+
$display-3-font-size-base: rem(5.6) !default;
|
17
|
+
$display-2-font-size-base: rem(4.5) !default;
|
18
|
+
$display-1-font-size-base: rem(3.4) !default;
|
19
|
+
$headline-font-size-base: rem(2.4) !default;
|
20
|
+
$title-font-size-base: rem(2) !default;
|
21
|
+
$subhead-font-size-base: rem(1.6) !default;
|
22
|
+
|
23
|
+
$body-font-size-base: rem(1.4) !default;
|
24
|
+
$caption-font-size-base: rem(1.2) !default;
|
25
|
+
|
26
|
+
// Layout
|
27
|
+
$baseline-grid: 8px !default;
|
28
|
+
$layout-breakpoint-xs: 600px !default;
|
29
|
+
$layout-breakpoint-sm: 960px !default;
|
30
|
+
$layout-breakpoint-md: 1280px !default;
|
31
|
+
$layout-breakpoint-lg: 1920px !default;
|
32
|
+
$layout-gutter-width: ($baseline-grid * 2) !default;
|
33
|
+
|
34
|
+
// Typography
|
35
|
+
$mat-body-font-size-base: rem(1.4) !default;
|
36
|
+
|
37
|
+
// App bar variables
|
38
|
+
$app-bar-height: 64px;
|
39
|
+
|
40
|
+
// card header variables
|
41
|
+
$mat-card-header-size: 40px;
|
42
|
+
$mat-card-radius: 2px;
|
43
|
+
|
44
|
+
// Icons
|
45
|
+
$icon-size: rem(2.4);
|
46
|
+
|
47
|
+
// Toast
|
48
|
+
$toast-height: $baseline-grid * 3 !default;
|
49
|
+
$toast-margin: $baseline-grid * 1 !default;
|
50
|
+
|
51
|
+
// Whiteframes
|
52
|
+
$whiteframe-shadow-z1: 0 2px 5px 0 rgba(0, 0, 0, 26%) !default;
|
53
|
+
$whiteframe-zindex-z1: 1 !default;
|
54
|
+
$whiteframe-shadow-z2: 0 8px 17px rgba(0, 0, 0, 20%) !default;
|
55
|
+
$whiteframe-zindex-z2: 2 !default;
|
56
|
+
$whiteframe-shadow-z3: 0 17px 50px rgba(0, 0, 0, 19%) !default;
|
57
|
+
$whiteframe-zindex-z3: 3 !default;
|
58
|
+
$whiteframe-shadow-z4: 0 16px 28px 0 rgba(0, 0, 0, 22%) !default;
|
59
|
+
$whiteframe-zindex-z4: 4 !default;
|
60
|
+
$whiteframe-shadow-z5: 0 27px 24px 0 rgba(0, 0, 0, 20%) !default;
|
61
|
+
$whiteframe-zindex-z5: 5 !default;
|
62
|
+
|
63
|
+
// Z-indexes
|
64
|
+
$z-index-tooltip: 100 !default;
|
65
|
+
$z-index-dialog: 80 !default;
|
66
|
+
$z-index-toast: 90 !default;
|
67
|
+
$z-index-bottom-sheet: 70 !default;
|
68
|
+
$z-index-scroll-mask: 65 !default;
|
69
|
+
$z-index-sidenav: 60 !default;
|
70
|
+
$z-index-backdrop: 50 !default;
|
71
|
+
$z-index-toolbar: 30 !default;
|
72
|
+
$z-index-fab: 20 !default;
|
73
|
+
$z-index-progress-circular: 2 !default; // Used to fix animation bug in Chrome
|
74
|
+
|
75
|
+
// Easing Curves
|
76
|
+
|
77
|
+
// The default animation curves used by material design.
|
78
|
+
$mat-linear-out-slow-in-timing-function: cubic-bezier(0, 0, 0.2, 0.1) !default;
|
79
|
+
$mat-fast-out-slow-in-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !default;
|
80
|
+
$mat-fast-out-linear-in-timing-function: cubic-bezier(0.4, 0, 1, 1) !default;
|
81
|
+
|
82
|
+
$ease-in-out-curve-function: cubic-bezier(0.35, 0, 0.25, 1) !default;
|
83
|
+
|
84
|
+
$swift-ease-out-duration: 0.4s !default;
|
85
|
+
$swift-ease-out-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !default;
|
86
|
+
$swift-ease-out: all $swift-ease-out-duration $swift-ease-out-timing-function !default;
|
87
|
+
|
88
|
+
$swift-ease-in-duration: 0.3s !default;
|
89
|
+
$swift-ease-in-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2) !default;
|
90
|
+
$swift-ease-in: all $swift-ease-in-duration $swift-ease-in-timing-function !default;
|
91
|
+
|
92
|
+
$swift-ease-in-out-duration: 0.5s !default;
|
93
|
+
$swift-ease-in-out-timing-function: cubic-bezier(0.35, 0, 0.25, 1) !default;
|
94
|
+
$swift-ease-in-out: all $swift-ease-in-out-duration
|
95
|
+
$swift-ease-in-out-timing-function !default;
|
96
|
+
|
97
|
+
$swift-linear-duration: 0.08s !default;
|
98
|
+
$swift-linear-timing-function: linear !default;
|
99
|
+
$swift-linear: all $swift-linear-duration $swift-linear-timing-function !default;
|