@skewedaspect/sleekspace-ui 0.2.0-beta.1
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/LICENSE +21 -0
- package/README.md +111 -0
- package/dist/sleekspace-ui.css +12844 -0
- package/dist/sleekspace-ui.es.js +19021 -0
- package/dist/sleekspace-ui.umd.js +19040 -0
- package/docs/components/accordion.md +92 -0
- package/docs/components/alert.md +72 -0
- package/docs/components/avatar.md +69 -0
- package/docs/components/breadcrumbs.md +65 -0
- package/docs/components/button/_meta.yaml +12 -0
- package/docs/components/button/accessibility.md +16 -0
- package/docs/components/button/custom-colors.md +18 -0
- package/docs/components/button/icons.md +31 -0
- package/docs/components/button/intro.md +8 -0
- package/docs/components/button/kinds.md +25 -0
- package/docs/components/button/sizes.md +14 -0
- package/docs/components/button/states.md +12 -0
- package/docs/components/button/usage.md +23 -0
- package/docs/components/button/variants.md +14 -0
- package/docs/components/button.md +110 -0
- package/docs/components/card.md +87 -0
- package/docs/components/checkbox.md +77 -0
- package/docs/components/collapsible.md +71 -0
- package/docs/components/divider.md +62 -0
- package/docs/components/dropdown.md +88 -0
- package/docs/components/field.md +80 -0
- package/docs/components/group.md +41 -0
- package/docs/components/input.md +84 -0
- package/docs/components/listbox.md +82 -0
- package/docs/components/modal.md +101 -0
- package/docs/components/navbar.md +64 -0
- package/docs/components/number-input.md +78 -0
- package/docs/components/page.md +77 -0
- package/docs/components/pagination.md +88 -0
- package/docs/components/panel.md +74 -0
- package/docs/components/popover.md +93 -0
- package/docs/components/progress.md +76 -0
- package/docs/components/radio.md +86 -0
- package/docs/components/sidebar.md +74 -0
- package/docs/components/skeleton.md +76 -0
- package/docs/components/slider.md +94 -0
- package/docs/components/spinner.md +59 -0
- package/docs/components/switch.md +97 -0
- package/docs/components/table.md +91 -0
- package/docs/components/tabs.md +108 -0
- package/docs/components/tag.md +75 -0
- package/docs/components/tags-input.md +88 -0
- package/docs/components/textarea.md +80 -0
- package/docs/components/theme.md +65 -0
- package/docs/components/toast.md +95 -0
- package/docs/components/tooltip.md +90 -0
- package/docs/guides/custom-colors.md +84 -0
- package/docs/guides/design-tokens.md +105 -0
- package/docs/guides/getting-started.md +144 -0
- package/docs/guides/installation.md +62 -0
- package/docs/guides/theming.md +101 -0
- package/package.json +76 -0
- package/src/components/Accordion/SkAccordion.vue +133 -0
- package/src/components/Accordion/SkAccordionItem.vue +131 -0
- package/src/components/Accordion/index.ts +3 -0
- package/src/components/Accordion/types.ts +9 -0
- package/src/components/Alert/SkAlert.vue +137 -0
- package/src/components/Alert/types.ts +10 -0
- package/src/components/Avatar/SkAvatar.vue +141 -0
- package/src/components/Avatar/index.ts +8 -0
- package/src/components/Avatar/types.ts +31 -0
- package/src/components/Breadcrumbs/SkBreadcrumbItem.vue +76 -0
- package/src/components/Breadcrumbs/SkBreadcrumbSeparator.vue +38 -0
- package/src/components/Breadcrumbs/SkBreadcrumbs.vue +93 -0
- package/src/components/Breadcrumbs/index.ts +10 -0
- package/src/components/Breadcrumbs/types.ts +36 -0
- package/src/components/Button/SkButton.vue +148 -0
- package/src/components/Button/types.ts +21 -0
- package/src/components/Card/SkCard.vue +144 -0
- package/src/components/Card/types.ts +12 -0
- package/src/components/Checkbox/SkCheckbox.vue +136 -0
- package/src/components/Checkbox/index.ts +8 -0
- package/src/components/Checkbox/types.ts +10 -0
- package/src/components/Collapsible/SkCollapsible.vue +159 -0
- package/src/components/Collapsible/index.ts +2 -0
- package/src/components/Collapsible/types.ts +8 -0
- package/src/components/Divider/SkDivider.vue +63 -0
- package/src/components/Divider/types.ts +15 -0
- package/src/components/Dropdown/SkDropdown.vue +150 -0
- package/src/components/Dropdown/SkDropdownMenuItem.vue +58 -0
- package/src/components/Dropdown/SkDropdownMenuSeparator.vue +26 -0
- package/src/components/Dropdown/SkDropdownSubmenu.vue +107 -0
- package/src/components/Dropdown/index.ts +11 -0
- package/src/components/Dropdown/types.ts +11 -0
- package/src/components/Field/SkField.vue +152 -0
- package/src/components/Field/index.ts +8 -0
- package/src/components/Field/types.ts +7 -0
- package/src/components/Group/SkGroup.vue +52 -0
- package/src/components/Group/types.ts +10 -0
- package/src/components/Input/SkInput.vue +117 -0
- package/src/components/Input/index.ts +8 -0
- package/src/components/Input/types.ts +11 -0
- package/src/components/Listbox/SkListbox.vue +164 -0
- package/src/components/Listbox/SkListboxItem.vue +68 -0
- package/src/components/Listbox/SkListboxSeparator.vue +26 -0
- package/src/components/Listbox/index.ts +10 -0
- package/src/components/Listbox/types.ts +10 -0
- package/src/components/Modal/SkModal.vue +231 -0
- package/src/components/Modal/index.ts +8 -0
- package/src/components/Modal/types.ts +12 -0
- package/src/components/NavBar/SkNavBar.vue +83 -0
- package/src/components/NavBar/index.ts +8 -0
- package/src/components/NavBar/types.ts +15 -0
- package/src/components/NumberInput/SkNumberInput.vue +168 -0
- package/src/components/NumberInput/index.ts +8 -0
- package/src/components/NumberInput/types.ts +10 -0
- package/src/components/Page/SkPage.vue +94 -0
- package/src/components/Page/index.ts +8 -0
- package/src/components/Page/types.ts +21 -0
- package/src/components/Pagination/SkPagination.vue +185 -0
- package/src/components/Pagination/SkPaginationItem.vue +107 -0
- package/src/components/Pagination/index.ts +9 -0
- package/src/components/Pagination/types.ts +40 -0
- package/src/components/Panel/SkPanel.vue +96 -0
- package/src/components/Panel/types.ts +15 -0
- package/src/components/Popover/SkPopover.vue +185 -0
- package/src/components/Popover/index.ts +8 -0
- package/src/components/Popover/types.ts +11 -0
- package/src/components/Progress/SkProgress.vue +144 -0
- package/src/components/Progress/index.ts +8 -0
- package/src/components/Progress/types.ts +34 -0
- package/src/components/Radio/SkRadio.vue +110 -0
- package/src/components/Radio/SkRadioGroup.vue +92 -0
- package/src/components/Radio/index.ts +9 -0
- package/src/components/Radio/types.ts +11 -0
- package/src/components/Sidebar/README.md +405 -0
- package/src/components/Sidebar/SkSidebar.vue +88 -0
- package/src/components/Sidebar/SkSidebarItem.vue +58 -0
- package/src/components/Sidebar/SkSidebarSection.vue +40 -0
- package/src/components/Sidebar/types.ts +3 -0
- package/src/components/Skeleton/SkSkeleton.vue +171 -0
- package/src/components/Skeleton/index.ts +8 -0
- package/src/components/Skeleton/types.ts +31 -0
- package/src/components/Slider/SkSlider.vue +165 -0
- package/src/components/Slider/index.ts +8 -0
- package/src/components/Slider/types.ts +44 -0
- package/src/components/Spinner/SkSpinner.vue +105 -0
- package/src/components/Spinner/index.ts +8 -0
- package/src/components/Spinner/types.ts +28 -0
- package/src/components/Switch/SkSwitch.vue +215 -0
- package/src/components/Switch/index.ts +8 -0
- package/src/components/Switch/types.ts +12 -0
- package/src/components/Table/SkTable.vue +109 -0
- package/src/components/Table/index.ts +2 -0
- package/src/components/Table/types.ts +15 -0
- package/src/components/Tabs/README.md +331 -0
- package/src/components/Tabs/SkTab.vue +84 -0
- package/src/components/Tabs/SkTabList.vue +62 -0
- package/src/components/Tabs/SkTabPanel.vue +47 -0
- package/src/components/Tabs/SkTabPanels.vue +23 -0
- package/src/components/Tabs/SkTabs.vue +124 -0
- package/src/components/Tabs/types.ts +21 -0
- package/src/components/Tag/SkTag.vue +129 -0
- package/src/components/Tag/types.ts +15 -0
- package/src/components/TagsInput/SkTagsInput.vue +184 -0
- package/src/components/TagsInput/index.ts +8 -0
- package/src/components/TagsInput/types.ts +10 -0
- package/src/components/Textarea/SkTextarea.vue +117 -0
- package/src/components/Textarea/index.ts +8 -0
- package/src/components/Textarea/types.ts +10 -0
- package/src/components/Theme/SkTheme.vue +47 -0
- package/src/components/Theme/types.ts +17 -0
- package/src/components/Theme/useTheme.ts +131 -0
- package/src/components/Toast/SkToast.vue +156 -0
- package/src/components/Toast/SkToastProvider.vue +180 -0
- package/src/components/Toast/index.ts +15 -0
- package/src/components/Toast/types.ts +63 -0
- package/src/components/Toast/useToast.ts +78 -0
- package/src/components/Tooltip/SkTooltip.vue +162 -0
- package/src/components/Tooltip/SkTooltipProvider.vue +114 -0
- package/src/components/Tooltip/index.ts +9 -0
- package/src/components/Tooltip/types.ts +13 -0
- package/src/composables/useCustomColors.test.ts +505 -0
- package/src/composables/useCustomColors.ts +124 -0
- package/src/composables/usePortalContext.test.ts +402 -0
- package/src/composables/usePortalContext.ts +95 -0
- package/src/global.d.ts +76 -0
- package/src/index.ts +259 -0
- package/src/styles/_scrollbar.scss +100 -0
- package/src/styles/base/_fonts.scss +105 -0
- package/src/styles/base/_global.scss +47 -0
- package/src/styles/base/_index.scss +24 -0
- package/src/styles/base/_reset.scss +11 -0
- package/src/styles/base/_typography.scss +178 -0
- package/src/styles/components/_accordion.scss +250 -0
- package/src/styles/components/_alert.scss +239 -0
- package/src/styles/components/_avatar.scss +133 -0
- package/src/styles/components/_breadcrumbs.scss +137 -0
- package/src/styles/components/_button.scss +731 -0
- package/src/styles/components/_card.scss +141 -0
- package/src/styles/components/_checkbox.scss +232 -0
- package/src/styles/components/_collapsible.scss +158 -0
- package/src/styles/components/_divider.scss +121 -0
- package/src/styles/components/_field.scss +87 -0
- package/src/styles/components/_group.scss +138 -0
- package/src/styles/components/_index.scss +46 -0
- package/src/styles/components/_input.scss +205 -0
- package/src/styles/components/_listbox.scss +453 -0
- package/src/styles/components/_menu.scss +216 -0
- package/src/styles/components/_modal.scss +329 -0
- package/src/styles/components/_navbar.scss +258 -0
- package/src/styles/components/_number-input.scss +352 -0
- package/src/styles/components/_page.scss +98 -0
- package/src/styles/components/_pagination.scss +411 -0
- package/src/styles/components/_panel.scss +281 -0
- package/src/styles/components/_popover.scss +258 -0
- package/src/styles/components/_progress.scss +280 -0
- package/src/styles/components/_radio.scss +255 -0
- package/src/styles/components/_sidebar.scss +92 -0
- package/src/styles/components/_skeleton.scss +138 -0
- package/src/styles/components/_slider.scss +262 -0
- package/src/styles/components/_spinner.scss +331 -0
- package/src/styles/components/_switch.scss +370 -0
- package/src/styles/components/_table.scss +405 -0
- package/src/styles/components/_tabs.scss +486 -0
- package/src/styles/components/_tag.scss +425 -0
- package/src/styles/components/_tags-input.scss +279 -0
- package/src/styles/components/_textarea.scss +208 -0
- package/src/styles/components/_toast.scss +331 -0
- package/src/styles/components/_tooltip.scss +206 -0
- package/src/styles/fonts/Titillium_Web/OFL.txt +93 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf +0 -0
- package/src/styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf +0 -0
- package/src/styles/index.scss +17 -0
- package/src/styles/mixins/_cut-border.scss +254 -0
- package/src/styles/mixins/_index.scss +7 -0
- package/src/styles/theme/_variables.scss +42 -0
- package/src/styles/themes/README.md +127 -0
- package/src/styles/themes/_colorful.scss +58 -0
- package/src/styles/themes/_greyscale.scss +58 -0
- package/src/styles/themes/index.scss +9 -0
- package/src/styles/tokens/README.md +268 -0
- package/src/styles/tokens/_foundation-borders.scss +26 -0
- package/src/styles/tokens/_foundation-colors.scss +169 -0
- package/src/styles/tokens/_foundation-glow.scss +36 -0
- package/src/styles/tokens/_foundation-radius.scss +53 -0
- package/src/styles/tokens/_foundation-scrollbar.scss +31 -0
- package/src/styles/tokens/_foundation-shadows.scss +37 -0
- package/src/styles/tokens/_foundation-space.scss +36 -0
- package/src/styles/tokens/_foundation-transitions.scss +37 -0
- package/src/styles/tokens/_foundation-typography.scss +58 -0
- package/src/styles/tokens/_semantic-color-kinds.scss +112 -0
- package/src/styles/tokens/_semantic-colors.scss +10 -0
- package/src/styles/tokens/_semantic-interactive.scss +29 -0
- package/src/styles/tokens/_semantic-scrollbar.scss +48 -0
- package/src/styles/tokens/_semantic-surfaces.scss +36 -0
- package/src/styles/tokens/index.scss +38 -0
- package/src/styles/tokens.scss +268 -0
- package/src/styles/utilities/_index.scss +9 -0
- package/src/styles/utilities/_typography.scss +121 -0
- package/src/types.ts +50 -0
- package/web-types.json +3524 -0
package/src/global.d.ts
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
// Global Component Type Declarations
|
|
3
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4
|
+
// AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
|
|
5
|
+
// Generated by: scripts/generate-global-types.ts
|
|
6
|
+
//
|
|
7
|
+
// This file provides TypeScript/Volar support for globally registered SleekSpace UI components.
|
|
8
|
+
// Users should reference this file in their tsconfig.json:
|
|
9
|
+
//
|
|
10
|
+
// {
|
|
11
|
+
// "include": [
|
|
12
|
+
// "src/**/*",
|
|
13
|
+
// "node_modules/@skewedaspect/sleekspace-ui/src/global.d.ts"
|
|
14
|
+
// ]
|
|
15
|
+
// }
|
|
16
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
17
|
+
|
|
18
|
+
import type { DefineComponent } from 'vue';
|
|
19
|
+
|
|
20
|
+
declare module '@vue/runtime-core' {
|
|
21
|
+
export interface GlobalComponents {
|
|
22
|
+
SkAccordion: DefineComponent<import('./components/Accordion/SkAccordion.vue').SkAccordionComponentProps>;
|
|
23
|
+
SkAccordionItem: DefineComponent<import('./components/Accordion/SkAccordionItem.vue').SkAccordionItemComponentProps>;
|
|
24
|
+
SkAlert: DefineComponent<import('./components/Alert/SkAlert.vue').SkAlertComponentProps>;
|
|
25
|
+
SkAvatar: DefineComponent<import('./components/Avatar/SkAvatar.vue').SkAvatarComponentProps>;
|
|
26
|
+
SkBreadcrumbItem: DefineComponent<import('./components/Breadcrumbs/SkBreadcrumbItem.vue').SkBreadcrumbItemComponentProps>;
|
|
27
|
+
SkBreadcrumbs: DefineComponent<import('./components/Breadcrumbs/SkBreadcrumbs.vue').SkBreadcrumbsComponentProps>;
|
|
28
|
+
SkButton: DefineComponent<import('./components/Button/SkButton.vue').SkButtonComponentProps>;
|
|
29
|
+
SkCard: DefineComponent<import('./components/Card/SkCard.vue').SkCardComponentProps>;
|
|
30
|
+
SkCheckbox: DefineComponent<import('./components/Checkbox/SkCheckbox.vue').SkCheckboxComponentProps>;
|
|
31
|
+
SkCollapsible: DefineComponent<import('./components/Collapsible/SkCollapsible.vue').SkCollapsibleComponentProps>;
|
|
32
|
+
SkDivider: DefineComponent<import('./components/Divider/SkDivider.vue').SkDividerComponentProps>;
|
|
33
|
+
SkDropdown: DefineComponent<import('./components/Dropdown/SkDropdown.vue').SkDropdownComponentProps>;
|
|
34
|
+
SkDropdownMenuItem: DefineComponent<import('./components/Dropdown/SkDropdownMenuItem.vue').SkDropdownMenuItemComponentProps>;
|
|
35
|
+
SkDropdownSubmenu: DefineComponent<import('./components/Dropdown/SkDropdownSubmenu.vue').SkDropdownSubmenuComponentProps>;
|
|
36
|
+
SkField: DefineComponent<import('./components/Field/SkField.vue').SkFieldComponentProps>;
|
|
37
|
+
SkGroup: DefineComponent<import('./components/Group/SkGroup.vue').SkGroupComponentProps>;
|
|
38
|
+
SkInput: DefineComponent<import('./components/Input/SkInput.vue').SkInputComponentProps>;
|
|
39
|
+
SkListbox: DefineComponent<import('./components/Listbox/SkListbox.vue').SkListboxComponentProps>;
|
|
40
|
+
SkListboxItem: DefineComponent<import('./components/Listbox/SkListboxItem.vue').SkListboxItemComponentProps>;
|
|
41
|
+
SkModal: DefineComponent<import('./components/Modal/SkModal.vue').SkModalComponentProps>;
|
|
42
|
+
SkNavBar: DefineComponent<import('./components/NavBar/SkNavBar.vue').SkNavBarComponentProps>;
|
|
43
|
+
SkNumberInput: DefineComponent<import('./components/NumberInput/SkNumberInput.vue').SkNumberInputComponentProps>;
|
|
44
|
+
SkPage: DefineComponent<import('./components/Page/SkPage.vue').SkPageComponentProps>;
|
|
45
|
+
SkPagination: DefineComponent<import('./components/Pagination/SkPagination.vue').SkPaginationComponentProps>;
|
|
46
|
+
SkPaginationItem: DefineComponent<import('./components/Pagination/SkPaginationItem.vue').SkPaginationItemComponentProps>;
|
|
47
|
+
SkPanel: DefineComponent<import('./components/Panel/SkPanel.vue').SkPanelComponentProps>;
|
|
48
|
+
SkPopover: DefineComponent<import('./components/Popover/SkPopover.vue').SkPopoverComponentProps>;
|
|
49
|
+
SkProgress: DefineComponent<import('./components/Progress/SkProgress.vue').SkProgressComponentProps>;
|
|
50
|
+
SkRadio: DefineComponent<import('./components/Radio/SkRadio.vue').SkRadioComponentProps>;
|
|
51
|
+
SkRadioGroup: DefineComponent<import('./components/Radio/SkRadioGroup.vue').SkRadioGroupComponentProps>;
|
|
52
|
+
SkSidebar: DefineComponent<import('./components/Sidebar/SkSidebar.vue').SkSidebarComponentProps>;
|
|
53
|
+
SkSidebarItem: DefineComponent<import('./components/Sidebar/SkSidebarItem.vue').SkSidebarItemComponentProps>;
|
|
54
|
+
SkSidebarSection: DefineComponent<import('./components/Sidebar/SkSidebarSection.vue').SkSidebarSectionComponentProps>;
|
|
55
|
+
SkSkeleton: DefineComponent<import('./components/Skeleton/SkSkeleton.vue').SkSkeletonComponentProps>;
|
|
56
|
+
SkSlider: DefineComponent<import('./components/Slider/SkSlider.vue').SkSliderComponentProps>;
|
|
57
|
+
SkSpinner: DefineComponent<import('./components/Spinner/SkSpinner.vue').SkSpinnerComponentProps>;
|
|
58
|
+
SkSwitch: DefineComponent<import('./components/Switch/SkSwitch.vue').SkSwitchComponentProps>;
|
|
59
|
+
SkTab: DefineComponent<import('./components/Tabs/SkTab.vue').SkTabComponentProps>;
|
|
60
|
+
SkTable: DefineComponent<import('./components/Table/SkTable.vue').SkTableComponentProps>;
|
|
61
|
+
SkTabList: DefineComponent<import('./components/Tabs/SkTabList.vue').SkTabListComponentProps>;
|
|
62
|
+
SkTabPanel: DefineComponent<import('./components/Tabs/SkTabPanel.vue').SkTabPanelComponentProps>;
|
|
63
|
+
SkTabPanels: DefineComponent<Record<string, never>>;
|
|
64
|
+
SkTabs: DefineComponent<import('./components/Tabs/SkTabs.vue').SkTabsComponentProps>;
|
|
65
|
+
SkTag: DefineComponent<import('./components/Tag/SkTag.vue').SkTagComponentProps>;
|
|
66
|
+
SkTagsInput: DefineComponent<import('./components/TagsInput/SkTagsInput.vue').SkTagsInputComponentProps>;
|
|
67
|
+
SkTextarea: DefineComponent<import('./components/Textarea/SkTextarea.vue').SkTextareaComponentProps>;
|
|
68
|
+
SkTheme: DefineComponent<import('./components/Theme/SkTheme.vue').SkThemeComponentProps>;
|
|
69
|
+
SkToastProvider: DefineComponent<import('./components/Toast/SkToastProvider.vue').SkToastProviderComponentProps>;
|
|
70
|
+
SkTooltip: DefineComponent<import('./components/Tooltip/SkTooltip.vue').SkTooltipComponentProps>;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export {};
|
|
75
|
+
|
|
76
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
|
|
3
|
+
import { App, Plugin } from 'vue';
|
|
4
|
+
|
|
5
|
+
// Styles
|
|
6
|
+
import './styles/index.scss';
|
|
7
|
+
|
|
8
|
+
// Types
|
|
9
|
+
import type { SkThemeComponentProps } from './components/Theme/types';
|
|
10
|
+
|
|
11
|
+
// Components
|
|
12
|
+
import SkAccordion, { type SkAccordionComponentProps } from './components/Accordion/SkAccordion.vue';
|
|
13
|
+
import SkAccordionItem, { type SkAccordionItemComponentProps } from './components/Accordion/SkAccordionItem.vue';
|
|
14
|
+
import SkAlert, { type SkAlertComponentProps } from './components/Alert/SkAlert.vue';
|
|
15
|
+
import SkAvatar, { type SkAvatarComponentProps } from './components/Avatar/SkAvatar.vue';
|
|
16
|
+
import SkBreadcrumbItem, {
|
|
17
|
+
type SkBreadcrumbItemComponentProps,
|
|
18
|
+
} from './components/Breadcrumbs/SkBreadcrumbItem.vue';
|
|
19
|
+
import SkBreadcrumbs, { type SkBreadcrumbsComponentProps } from './components/Breadcrumbs/SkBreadcrumbs.vue';
|
|
20
|
+
import SkBreadcrumbSeparator from './components/Breadcrumbs/SkBreadcrumbSeparator.vue';
|
|
21
|
+
import SkButton, { type SkButtonComponentProps } from './components/Button/SkButton.vue';
|
|
22
|
+
import SkCard, { type SkCardComponentProps } from './components/Card/SkCard.vue';
|
|
23
|
+
import SkCheckbox, { type SkCheckboxComponentProps } from './components/Checkbox/SkCheckbox.vue';
|
|
24
|
+
import SkCollapsible, { type SkCollapsibleComponentProps } from './components/Collapsible/SkCollapsible.vue';
|
|
25
|
+
import SkDivider, { type SkDividerComponentProps } from './components/Divider/SkDivider.vue';
|
|
26
|
+
import SkDropdown, { type SkDropdownComponentProps } from './components/Dropdown/SkDropdown.vue';
|
|
27
|
+
import SkDropdownMenuItem, {
|
|
28
|
+
type SkDropdownMenuItemComponentProps,
|
|
29
|
+
} from './components/Dropdown/SkDropdownMenuItem.vue';
|
|
30
|
+
import SkDropdownMenuSeparator from './components/Dropdown/SkDropdownMenuSeparator.vue';
|
|
31
|
+
import SkDropdownSubmenu, {
|
|
32
|
+
type SkDropdownSubmenuComponentProps,
|
|
33
|
+
} from './components/Dropdown/SkDropdownSubmenu.vue';
|
|
34
|
+
import SkField, { type SkFieldComponentProps } from './components/Field/SkField.vue';
|
|
35
|
+
import SkGroup, { type SkGroupComponentProps } from './components/Group/SkGroup.vue';
|
|
36
|
+
import SkInput, { type SkInputComponentProps } from './components/Input/SkInput.vue';
|
|
37
|
+
import SkListbox, { type SkListboxComponentProps } from './components/Listbox/SkListbox.vue';
|
|
38
|
+
import SkListboxItem, { type SkListboxItemComponentProps } from './components/Listbox/SkListboxItem.vue';
|
|
39
|
+
import SkListboxSeparator from './components/Listbox/SkListboxSeparator.vue';
|
|
40
|
+
import SkModal, { type SkModalComponentProps } from './components/Modal/SkModal.vue';
|
|
41
|
+
import SkNavBar, { type SkNavBarComponentProps } from './components/NavBar/SkNavBar.vue';
|
|
42
|
+
import SkNumberInput, { type SkNumberInputComponentProps } from './components/NumberInput/SkNumberInput.vue';
|
|
43
|
+
import SkPage, { type SkPageComponentProps } from './components/Page/SkPage.vue';
|
|
44
|
+
import SkPagination, { type SkPaginationComponentProps } from './components/Pagination/SkPagination.vue';
|
|
45
|
+
import SkPaginationItem, {
|
|
46
|
+
type SkPaginationItemComponentProps,
|
|
47
|
+
} from './components/Pagination/SkPaginationItem.vue';
|
|
48
|
+
import SkPanel, { type SkPanelComponentProps } from './components/Panel/SkPanel.vue';
|
|
49
|
+
import SkPopover, { type SkPopoverComponentProps } from './components/Popover/SkPopover.vue';
|
|
50
|
+
import SkProgress, { type SkProgressComponentProps } from './components/Progress/SkProgress.vue';
|
|
51
|
+
import SkRadio, { type SkRadioComponentProps } from './components/Radio/SkRadio.vue';
|
|
52
|
+
import SkRadioGroup, { type SkRadioGroupComponentProps } from './components/Radio/SkRadioGroup.vue';
|
|
53
|
+
import SkSidebar, { type SkSidebarComponentProps } from './components/Sidebar/SkSidebar.vue';
|
|
54
|
+
import SkSidebarItem, { type SkSidebarItemComponentProps } from './components/Sidebar/SkSidebarItem.vue';
|
|
55
|
+
import SkSidebarSection, { type SkSidebarSectionComponentProps } from './components/Sidebar/SkSidebarSection.vue';
|
|
56
|
+
import SkSkeleton, { type SkSkeletonComponentProps } from './components/Skeleton/SkSkeleton.vue';
|
|
57
|
+
import SkSlider, { type SkSliderComponentProps } from './components/Slider/SkSlider.vue';
|
|
58
|
+
import SkSpinner, { type SkSpinnerComponentProps } from './components/Spinner/SkSpinner.vue';
|
|
59
|
+
import SkSwitch, { type SkSwitchComponentProps } from './components/Switch/SkSwitch.vue';
|
|
60
|
+
import SkTable, { type SkTableComponentProps } from './components/Table/SkTable.vue';
|
|
61
|
+
import SkTab, { type SkTabComponentProps } from './components/Tabs/SkTab.vue';
|
|
62
|
+
import SkTabList, { type SkTabListComponentProps } from './components/Tabs/SkTabList.vue';
|
|
63
|
+
import SkTabPanel, { type SkTabPanelComponentProps } from './components/Tabs/SkTabPanel.vue';
|
|
64
|
+
import SkTabPanels from './components/Tabs/SkTabPanels.vue';
|
|
65
|
+
import SkTabs, { type SkTabsComponentProps } from './components/Tabs/SkTabs.vue';
|
|
66
|
+
import SkTag, { type SkTagComponentProps } from './components/Tag/SkTag.vue';
|
|
67
|
+
import SkTagsInput, { type SkTagsInputComponentProps } from './components/TagsInput/SkTagsInput.vue';
|
|
68
|
+
import SkTextarea, { type SkTextareaComponentProps } from './components/Textarea/SkTextarea.vue';
|
|
69
|
+
import SkToastProvider, {
|
|
70
|
+
type SkToastProviderComponentProps,
|
|
71
|
+
} from './components/Toast/SkToastProvider.vue';
|
|
72
|
+
import SkTooltip, { type SkTooltipComponentProps } from './components/Tooltip/SkTooltip.vue';
|
|
73
|
+
import SkTooltipProvider, {
|
|
74
|
+
type SkTooltipProviderProps,
|
|
75
|
+
} from './components/Tooltip/SkTooltipProvider.vue';
|
|
76
|
+
import SkTheme from './components/Theme/SkTheme.vue';
|
|
77
|
+
|
|
78
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
79
|
+
// Export Common Types
|
|
80
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
81
|
+
|
|
82
|
+
export * from './types';
|
|
83
|
+
|
|
84
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
85
|
+
// Export Component Types
|
|
86
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
87
|
+
|
|
88
|
+
export * from './components/Accordion/types';
|
|
89
|
+
export * from './components/Alert/types';
|
|
90
|
+
export * from './components/Avatar/types';
|
|
91
|
+
export * from './components/Breadcrumbs/types';
|
|
92
|
+
export * from './components/Button/types';
|
|
93
|
+
export * from './components/Card/types';
|
|
94
|
+
export * from './components/Checkbox/types';
|
|
95
|
+
export * from './components/Collapsible/types';
|
|
96
|
+
export * from './components/Divider/types';
|
|
97
|
+
export * from './components/Dropdown/types';
|
|
98
|
+
export * from './components/Field/types';
|
|
99
|
+
export * from './components/Group/types';
|
|
100
|
+
export * from './components/Input/types';
|
|
101
|
+
export * from './components/Listbox/types';
|
|
102
|
+
export * from './components/Modal/types';
|
|
103
|
+
export * from './components/NavBar/types';
|
|
104
|
+
export * from './components/NumberInput/types';
|
|
105
|
+
export * from './components/Page/types';
|
|
106
|
+
export * from './components/Pagination/types';
|
|
107
|
+
export * from './components/Panel/types';
|
|
108
|
+
export * from './components/Popover/types';
|
|
109
|
+
export * from './components/Progress/types';
|
|
110
|
+
export * from './components/Radio/types';
|
|
111
|
+
export * from './components/Sidebar/types';
|
|
112
|
+
export * from './components/Skeleton/types';
|
|
113
|
+
export * from './components/Slider/types';
|
|
114
|
+
export * from './components/Spinner/types';
|
|
115
|
+
export * from './components/Switch/types';
|
|
116
|
+
export * from './components/Table/types';
|
|
117
|
+
export * from './components/Tabs/types';
|
|
118
|
+
export * from './components/Tag/types';
|
|
119
|
+
export * from './components/TagsInput/types';
|
|
120
|
+
export * from './components/Textarea/types';
|
|
121
|
+
export * from './components/Toast/types';
|
|
122
|
+
export * from './components/Tooltip/types';
|
|
123
|
+
export * from './components/Theme/types';
|
|
124
|
+
|
|
125
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
126
|
+
// Export Composables
|
|
127
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
128
|
+
|
|
129
|
+
export { useTheme } from './components/Theme/useTheme';
|
|
130
|
+
export { useToast } from './components/Toast/useToast';
|
|
131
|
+
|
|
132
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
133
|
+
// Export Components
|
|
134
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
135
|
+
|
|
136
|
+
export { SkAccordion, type SkAccordionComponentProps };
|
|
137
|
+
export { SkAccordionItem, type SkAccordionItemComponentProps };
|
|
138
|
+
export { SkAlert, type SkAlertComponentProps };
|
|
139
|
+
export { SkAvatar, type SkAvatarComponentProps };
|
|
140
|
+
export { SkBreadcrumbItem, type SkBreadcrumbItemComponentProps };
|
|
141
|
+
export { SkBreadcrumbs, type SkBreadcrumbsComponentProps };
|
|
142
|
+
export { SkBreadcrumbSeparator };
|
|
143
|
+
export { SkButton, type SkButtonComponentProps };
|
|
144
|
+
export { SkCard, type SkCardComponentProps };
|
|
145
|
+
export { SkCheckbox, type SkCheckboxComponentProps };
|
|
146
|
+
export { SkCollapsible, type SkCollapsibleComponentProps };
|
|
147
|
+
export { SkDivider, type SkDividerComponentProps };
|
|
148
|
+
export { SkDropdown, type SkDropdownComponentProps };
|
|
149
|
+
export { SkDropdownMenuItem, type SkDropdownMenuItemComponentProps };
|
|
150
|
+
export { SkDropdownMenuSeparator };
|
|
151
|
+
export { SkDropdownSubmenu, type SkDropdownSubmenuComponentProps };
|
|
152
|
+
export { SkField, type SkFieldComponentProps };
|
|
153
|
+
export { SkGroup, type SkGroupComponentProps };
|
|
154
|
+
export { SkInput, type SkInputComponentProps };
|
|
155
|
+
export { SkListbox, type SkListboxComponentProps };
|
|
156
|
+
export { SkListboxItem, type SkListboxItemComponentProps };
|
|
157
|
+
export { SkListboxSeparator };
|
|
158
|
+
export { SkModal, type SkModalComponentProps };
|
|
159
|
+
export { SkNavBar, type SkNavBarComponentProps };
|
|
160
|
+
export { SkNumberInput, type SkNumberInputComponentProps };
|
|
161
|
+
export { SkPage, type SkPageComponentProps };
|
|
162
|
+
export { SkPagination, type SkPaginationComponentProps };
|
|
163
|
+
export { SkPaginationItem, type SkPaginationItemComponentProps };
|
|
164
|
+
export { SkPanel, type SkPanelComponentProps };
|
|
165
|
+
export { SkPopover, type SkPopoverComponentProps };
|
|
166
|
+
export { SkProgress, type SkProgressComponentProps };
|
|
167
|
+
export { SkRadio, type SkRadioComponentProps };
|
|
168
|
+
export { SkRadioGroup, type SkRadioGroupComponentProps };
|
|
169
|
+
export { SkSidebar, type SkSidebarComponentProps };
|
|
170
|
+
export { SkSidebarItem, type SkSidebarItemComponentProps };
|
|
171
|
+
export { SkSidebarSection, type SkSidebarSectionComponentProps };
|
|
172
|
+
export { SkSkeleton, type SkSkeletonComponentProps };
|
|
173
|
+
export { SkSlider, type SkSliderComponentProps };
|
|
174
|
+
export { SkSpinner, type SkSpinnerComponentProps };
|
|
175
|
+
export { SkSwitch, type SkSwitchComponentProps };
|
|
176
|
+
export { SkTab, type SkTabComponentProps };
|
|
177
|
+
export { SkTabList, type SkTabListComponentProps };
|
|
178
|
+
export { SkTabPanel, type SkTabPanelComponentProps };
|
|
179
|
+
export { SkTabPanels };
|
|
180
|
+
export { SkTabs, type SkTabsComponentProps };
|
|
181
|
+
export { SkTable, type SkTableComponentProps };
|
|
182
|
+
export { SkTag, type SkTagComponentProps };
|
|
183
|
+
export { SkTagsInput, type SkTagsInputComponentProps };
|
|
184
|
+
export { SkTextarea, type SkTextareaComponentProps };
|
|
185
|
+
export { SkToastProvider, type SkToastProviderComponentProps };
|
|
186
|
+
export { SkTooltip, type SkTooltipComponentProps };
|
|
187
|
+
export { SkTooltipProvider, type SkTooltipProviderProps };
|
|
188
|
+
export { SkTheme, type SkThemeComponentProps };
|
|
189
|
+
|
|
190
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
191
|
+
// Plugin Definition
|
|
192
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
193
|
+
|
|
194
|
+
// Plugin installation
|
|
195
|
+
const SleekSpaceUI : Plugin = {
|
|
196
|
+
install(app : App)
|
|
197
|
+
{
|
|
198
|
+
// Register components globally
|
|
199
|
+
app.component('SkAccordion', SkAccordion);
|
|
200
|
+
app.component('SkAccordionItem', SkAccordionItem);
|
|
201
|
+
app.component('SkAlert', SkAlert);
|
|
202
|
+
app.component('SkAvatar', SkAvatar);
|
|
203
|
+
app.component('SkBreadcrumbItem', SkBreadcrumbItem);
|
|
204
|
+
app.component('SkBreadcrumbs', SkBreadcrumbs);
|
|
205
|
+
app.component('SkBreadcrumbSeparator', SkBreadcrumbSeparator);
|
|
206
|
+
app.component('SkButton', SkButton);
|
|
207
|
+
app.component('SkCard', SkCard);
|
|
208
|
+
app.component('SkCheckbox', SkCheckbox);
|
|
209
|
+
app.component('SkCollapsible', SkCollapsible);
|
|
210
|
+
app.component('SkDivider', SkDivider);
|
|
211
|
+
app.component('SkDropdown', SkDropdown);
|
|
212
|
+
app.component('SkDropdownMenuItem', SkDropdownMenuItem);
|
|
213
|
+
app.component('SkDropdownMenuSeparator', SkDropdownMenuSeparator);
|
|
214
|
+
app.component('SkDropdownSubmenu', SkDropdownSubmenu);
|
|
215
|
+
app.component('SkField', SkField);
|
|
216
|
+
app.component('SkGroup', SkGroup);
|
|
217
|
+
app.component('SkInput', SkInput);
|
|
218
|
+
app.component('SkListbox', SkListbox);
|
|
219
|
+
app.component('SkListboxItem', SkListboxItem);
|
|
220
|
+
app.component('SkListboxSeparator', SkListboxSeparator);
|
|
221
|
+
app.component('SkModal', SkModal);
|
|
222
|
+
app.component('SkNavBar', SkNavBar);
|
|
223
|
+
app.component('SkNumberInput', SkNumberInput);
|
|
224
|
+
app.component('SkPage', SkPage);
|
|
225
|
+
app.component('SkPagination', SkPagination);
|
|
226
|
+
app.component('SkPaginationItem', SkPaginationItem);
|
|
227
|
+
app.component('SkPanel', SkPanel);
|
|
228
|
+
app.component('SkPopover', SkPopover);
|
|
229
|
+
app.component('SkProgress', SkProgress);
|
|
230
|
+
app.component('SkRadio', SkRadio);
|
|
231
|
+
app.component('SkRadioGroup', SkRadioGroup);
|
|
232
|
+
app.component('SkSidebar', SkSidebar);
|
|
233
|
+
app.component('SkSidebarItem', SkSidebarItem);
|
|
234
|
+
app.component('SkSidebarSection', SkSidebarSection);
|
|
235
|
+
app.component('SkSkeleton', SkSkeleton);
|
|
236
|
+
app.component('SkSlider', SkSlider);
|
|
237
|
+
app.component('SkSpinner', SkSpinner);
|
|
238
|
+
app.component('SkSwitch', SkSwitch);
|
|
239
|
+
app.component('SkTab', SkTab);
|
|
240
|
+
app.component('SkTabList', SkTabList);
|
|
241
|
+
app.component('SkTabPanel', SkTabPanel);
|
|
242
|
+
app.component('SkTabPanels', SkTabPanels);
|
|
243
|
+
app.component('SkTabs', SkTabs);
|
|
244
|
+
app.component('SkTable', SkTable);
|
|
245
|
+
app.component('SkTag', SkTag);
|
|
246
|
+
app.component('SkTagsInput', SkTagsInput);
|
|
247
|
+
app.component('SkTextarea', SkTextarea);
|
|
248
|
+
app.component('SkToastProvider', SkToastProvider);
|
|
249
|
+
app.component('SkTooltip', SkTooltip);
|
|
250
|
+
app.component('SkTooltipProvider', SkTooltipProvider);
|
|
251
|
+
app.component('SkTheme', SkTheme);
|
|
252
|
+
},
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
256
|
+
|
|
257
|
+
export default SleekSpaceUI;
|
|
258
|
+
|
|
259
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scrollbar Styling
|
|
3
|
+
*
|
|
4
|
+
* Custom scrollbar styling using both webkit-specific properties
|
|
5
|
+
* and the newer CSS scrollbar standard for cross-browser support.
|
|
6
|
+
*
|
|
7
|
+
* Browser Support:
|
|
8
|
+
* - Webkit (Chrome, Safari, Edge): Full support with ::-webkit-scrollbar
|
|
9
|
+
* - Firefox: Partial support with scrollbar-width and scrollbar-color
|
|
10
|
+
* - Future browsers: Standard scrollbar-* properties
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
@layer base
|
|
14
|
+
{
|
|
15
|
+
/* ===================================================================
|
|
16
|
+
* Modern Scrollbar Standard (Firefox, future browsers)
|
|
17
|
+
* =================================================================== */
|
|
18
|
+
|
|
19
|
+
*
|
|
20
|
+
{
|
|
21
|
+
/* Set scrollbar width */
|
|
22
|
+
scrollbar-width: thin;
|
|
23
|
+
|
|
24
|
+
/* Set scrollbar colors: thumb track */
|
|
25
|
+
scrollbar-color: var(--sk-scrollbar-thumb) var(--sk-scrollbar-track);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* ===================================================================
|
|
29
|
+
* Webkit Scrollbar (Chrome, Safari, Edge)
|
|
30
|
+
* Provides more granular control over scrollbar appearance
|
|
31
|
+
* =================================================================== */
|
|
32
|
+
|
|
33
|
+
/* Scrollbar Track - The background groove */
|
|
34
|
+
*::-webkit-scrollbar
|
|
35
|
+
{
|
|
36
|
+
width: var(--sk-scrollbar-width);
|
|
37
|
+
height: var(--sk-scrollbar-height);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
*::-webkit-scrollbar-track
|
|
41
|
+
{
|
|
42
|
+
background: var(--sk-scrollbar-track);
|
|
43
|
+
border-radius: var(--sk-scrollbar-border-radius);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Scrollbar Thumb - The draggable handle */
|
|
47
|
+
*::-webkit-scrollbar-thumb
|
|
48
|
+
{
|
|
49
|
+
background: var(--sk-scrollbar-thumb);
|
|
50
|
+
border-radius: var(--sk-scrollbar-border-radius);
|
|
51
|
+
border: 2px solid var(--sk-scrollbar-thumb-border);
|
|
52
|
+
|
|
53
|
+
/* Ensure minimum thumb size for usability */
|
|
54
|
+
min-height: var(--sk-scrollbar-thumb-min-size);
|
|
55
|
+
min-width: var(--sk-scrollbar-thumb-min-size);
|
|
56
|
+
|
|
57
|
+
/* Smooth transitions for interactive states */
|
|
58
|
+
transition:
|
|
59
|
+
background-color var(--sk-transition-duration-fast) var(--sk-transition-easing-standard),
|
|
60
|
+
border-color var(--sk-transition-duration-fast) var(--sk-transition-easing-standard);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Hover State */
|
|
64
|
+
*::-webkit-scrollbar-thumb:hover
|
|
65
|
+
{
|
|
66
|
+
background: var(--sk-scrollbar-thumb-hover);
|
|
67
|
+
border-color: color-mix(
|
|
68
|
+
in oklch,
|
|
69
|
+
var(--sk-scrollbar-thumb-hover),
|
|
70
|
+
var(--sk-color-gray-95) 20%
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Active State (while dragging) */
|
|
75
|
+
*::-webkit-scrollbar-thumb:active
|
|
76
|
+
{
|
|
77
|
+
background: var(--sk-scrollbar-thumb-active);
|
|
78
|
+
border-color: color-mix(
|
|
79
|
+
in oklch,
|
|
80
|
+
var(--sk-scrollbar-thumb-active),
|
|
81
|
+
var(--sk-color-gray-95) 20%
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Scrollbar Corner - Where horizontal and vertical scrollbars meet */
|
|
86
|
+
*::-webkit-scrollbar-corner
|
|
87
|
+
{
|
|
88
|
+
background: var(--sk-scrollbar-track);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ===================================================================
|
|
92
|
+
* Scrollbar Buttons (Optional)
|
|
93
|
+
* Hide the up/down arrows on webkit scrollbars for cleaner look
|
|
94
|
+
* =================================================================== */
|
|
95
|
+
|
|
96
|
+
*::-webkit-scrollbar-button
|
|
97
|
+
{
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Font Definitions
|
|
3
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
|
|
5
|
+
// Titillium Web Font Family
|
|
6
|
+
@font-face
|
|
7
|
+
{
|
|
8
|
+
font-family: "Titillium Web";
|
|
9
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-Regular.ttf") format("truetype");
|
|
10
|
+
font-weight: normal;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-display: swap;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@font-face
|
|
16
|
+
{
|
|
17
|
+
font-family: "Titillium Web";
|
|
18
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-Bold.ttf") format("truetype");
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-display: swap;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@font-face
|
|
25
|
+
{
|
|
26
|
+
font-family: "Titillium Web";
|
|
27
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-Italic.ttf") format("truetype");
|
|
28
|
+
font-weight: normal;
|
|
29
|
+
font-style: italic;
|
|
30
|
+
font-display: swap;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@font-face
|
|
34
|
+
{
|
|
35
|
+
font-family: "Titillium Web";
|
|
36
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf") format("truetype");
|
|
37
|
+
font-weight: bold;
|
|
38
|
+
font-style: italic;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@font-face
|
|
43
|
+
{
|
|
44
|
+
font-family: "Titillium Web";
|
|
45
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-Light.ttf") format("truetype");
|
|
46
|
+
font-weight: 300;
|
|
47
|
+
font-style: normal;
|
|
48
|
+
font-display: swap;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@font-face
|
|
52
|
+
{
|
|
53
|
+
font-family: "Titillium Web";
|
|
54
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf") format("truetype");
|
|
55
|
+
font-weight: 300;
|
|
56
|
+
font-style: italic;
|
|
57
|
+
font-display: swap;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@font-face
|
|
61
|
+
{
|
|
62
|
+
font-family: "Titillium Web";
|
|
63
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf") format("truetype");
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-display: swap;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@font-face
|
|
70
|
+
{
|
|
71
|
+
font-family: "Titillium Web";
|
|
72
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf") format("truetype");
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
font-style: italic;
|
|
75
|
+
font-display: swap;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@font-face
|
|
79
|
+
{
|
|
80
|
+
font-family: "Titillium Web";
|
|
81
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-Black.ttf") format("truetype");
|
|
82
|
+
font-weight: 900;
|
|
83
|
+
font-style: normal;
|
|
84
|
+
font-display: swap;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@font-face
|
|
88
|
+
{
|
|
89
|
+
font-family: "Titillium Web";
|
|
90
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf") format("truetype");
|
|
91
|
+
font-weight: 200;
|
|
92
|
+
font-style: normal;
|
|
93
|
+
font-display: swap;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@font-face
|
|
97
|
+
{
|
|
98
|
+
font-family: "Titillium Web";
|
|
99
|
+
src: url("../fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf") format("truetype");
|
|
100
|
+
font-weight: 200;
|
|
101
|
+
font-style: italic;
|
|
102
|
+
font-display: swap;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Global Base Styles
|
|
3
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
// Universal styles that apply across the entire application
|
|
5
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
6
|
+
|
|
7
|
+
*,
|
|
8
|
+
*::before,
|
|
9
|
+
*::after
|
|
10
|
+
{
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:root,
|
|
15
|
+
body
|
|
16
|
+
{
|
|
17
|
+
font-family: var(--sk-font-family-base);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
body
|
|
21
|
+
{
|
|
22
|
+
margin: 0;
|
|
23
|
+
min-height: 100svh;
|
|
24
|
+
color: var(--sk-neutral-fg);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
img,
|
|
28
|
+
svg,
|
|
29
|
+
video,
|
|
30
|
+
canvas
|
|
31
|
+
{
|
|
32
|
+
display: block;
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:where(button, input, textarea, select)
|
|
37
|
+
{
|
|
38
|
+
font: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
:focus-visible
|
|
42
|
+
{
|
|
43
|
+
outline: var(--sk-focus-outline-width) solid currentColor;
|
|
44
|
+
outline-offset: var(--sk-focus-outline-offset);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// Base Layer - Main Import
|
|
3
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
// Loads all foundational styles in the correct order
|
|
5
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
6
|
+
|
|
7
|
+
@use 'sass:meta';
|
|
8
|
+
|
|
9
|
+
@layer base
|
|
10
|
+
{
|
|
11
|
+
// 1. CSS Reset (modern-normalize)
|
|
12
|
+
@include meta.load-css('reset');
|
|
13
|
+
|
|
14
|
+
// 2. Font Definitions
|
|
15
|
+
@include meta.load-css('fonts');
|
|
16
|
+
|
|
17
|
+
// 3. Global Base Styles
|
|
18
|
+
@include meta.load-css('global');
|
|
19
|
+
|
|
20
|
+
// 4. Typography
|
|
21
|
+
@include meta.load-css('typography');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
2
|
+
// CSS Reset
|
|
3
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
4
|
+
// Uses modern-normalize for a consistent baseline across browsers
|
|
5
|
+
//----------------------------------------------------------------------------------------------------------------------
|
|
6
|
+
|
|
7
|
+
@use 'sass:meta';
|
|
8
|
+
|
|
9
|
+
@include meta.load-css('modern-normalize/modern-normalize.css');
|
|
10
|
+
|
|
11
|
+
//----------------------------------------------------------------------------------------------------------------------
|