@lgtm-hq/turbo-themes 0.12.16
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 +231 -0
- package/assets/css/adapters/bulma.css +26 -0
- package/assets/css/themes/bulma-dark.css +90 -0
- package/assets/css/themes/bulma-light.css +90 -0
- package/assets/css/themes/catppuccin-frappe.css +58 -0
- package/assets/css/themes/catppuccin-latte.css +58 -0
- package/assets/css/themes/catppuccin-macchiato.css +58 -0
- package/assets/css/themes/catppuccin-mocha.css +58 -0
- package/assets/css/themes/dracula.css +90 -0
- package/assets/css/themes/github-dark.css +58 -0
- package/assets/css/themes/github-light.css +58 -0
- package/assets/css/turbo-core.css +92 -0
- package/dist/adapters/bootstrap/_utilities.scss +178 -0
- package/dist/adapters/bootstrap/_variables.scss +99 -0
- package/dist/adapters/tailwind/colors.js +133 -0
- package/dist/adapters/tailwind/preset.js +136 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/themes/bulma.d.ts +31 -0
- package/dist/themes/bulma.d.ts.map +1 -0
- package/dist/themes/bulma.js +160 -0
- package/dist/themes/bulma.js.map +1 -0
- package/dist/themes/css.d.ts +4 -0
- package/dist/themes/css.d.ts.map +1 -0
- package/dist/themes/css.js +617 -0
- package/dist/themes/css.js.map +1 -0
- package/dist/themes/packs/bulma.d.ts +12 -0
- package/dist/themes/packs/bulma.d.ts.map +1 -0
- package/dist/themes/packs/bulma.js +285 -0
- package/dist/themes/packs/bulma.js.map +1 -0
- package/dist/themes/packs/catppuccin.synced.d.ts +3 -0
- package/dist/themes/packs/catppuccin.synced.d.ts.map +1 -0
- package/dist/themes/packs/catppuccin.synced.js +340 -0
- package/dist/themes/packs/catppuccin.synced.js.map +1 -0
- package/dist/themes/packs/dracula.d.ts +8 -0
- package/dist/themes/packs/dracula.d.ts.map +1 -0
- package/dist/themes/packs/dracula.js +145 -0
- package/dist/themes/packs/dracula.js.map +1 -0
- package/dist/themes/packs/github.synced.d.ts +10 -0
- package/dist/themes/packs/github.synced.d.ts.map +1 -0
- package/dist/themes/packs/github.synced.js +281 -0
- package/dist/themes/packs/github.synced.js.map +1 -0
- package/dist/themes/registry.d.ts +3 -0
- package/dist/themes/registry.d.ts.map +1 -0
- package/dist/themes/registry.js +16 -0
- package/dist/themes/registry.js.map +1 -0
- package/dist/themes/types.d.ts +172 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/dist/themes/types.js +4 -0
- package/dist/themes/types.js.map +1 -0
- package/dist/tokens/index.d.ts +8 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +9 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/style-dictionary/bulma-dark.json +410 -0
- package/dist/tokens/style-dictionary/bulma-light.json +410 -0
- package/dist/tokens/style-dictionary/catppuccin-frappe.json +264 -0
- package/dist/tokens/style-dictionary/catppuccin-latte.json +264 -0
- package/dist/tokens/style-dictionary/catppuccin-macchiato.json +264 -0
- package/dist/tokens/style-dictionary/catppuccin-mocha.json +264 -0
- package/dist/tokens/style-dictionary/dracula.json +409 -0
- package/dist/tokens/style-dictionary/github-dark.json +264 -0
- package/dist/tokens/style-dictionary/github-light.json +264 -0
- package/dist/tokens/style-dictionary/themes.json +2526 -0
- package/dist/tokens/style-dictionary/tokens.json +1050 -0
- package/dist/tokens/tokens-typed.json +218 -0
- package/package.json +180 -0
- package/packages/adapters/bulma/dist/bulma-adapter.css +153 -0
- package/packages/adapters/bulma/dist/index.d.ts +60 -0
- package/packages/adapters/bulma/dist/index.d.ts.map +1 -0
- package/packages/adapters/bulma/dist/index.js +343 -0
- package/packages/adapters/bulma/dist/index.js.map +1 -0
- package/packages/adapters/tailwind/dist/colors.d.ts +32 -0
- package/packages/adapters/tailwind/dist/colors.d.ts.map +1 -0
- package/packages/adapters/tailwind/dist/colors.js +133 -0
- package/packages/adapters/tailwind/dist/colors.js.map +1 -0
- package/packages/adapters/tailwind/dist/preset.d.ts +117 -0
- package/packages/adapters/tailwind/dist/preset.d.ts.map +1 -0
- package/packages/adapters/tailwind/dist/preset.js +136 -0
- package/packages/adapters/tailwind/dist/preset.js.map +1 -0
- package/packages/adapters/tailwind/dist/tsconfig.tsbuildinfo +1 -0
- package/packages/css/dist/base.d.ts +27 -0
- package/packages/css/dist/base.d.ts.map +1 -0
- package/packages/css/dist/base.js +277 -0
- package/packages/css/dist/base.js.map +1 -0
- package/packages/css/dist/components/buttons.css +141 -0
- package/packages/css/dist/components/cards.css +157 -0
- package/packages/css/dist/components/forms.css +109 -0
- package/packages/css/dist/components/navigation.css +175 -0
- package/packages/css/dist/components/notifications.css +192 -0
- package/packages/css/dist/components/progress.css +113 -0
- package/packages/css/dist/components/sidebar.css +537 -0
- package/packages/css/dist/components/tables.css +157 -0
- package/packages/css/dist/components/tabs.css +106 -0
- package/packages/css/dist/components/tags.css +121 -0
- package/packages/css/dist/generator.d.ts +60 -0
- package/packages/css/dist/generator.d.ts.map +1 -0
- package/packages/css/dist/generator.js +267 -0
- package/packages/css/dist/generator.js.map +1 -0
- package/packages/css/dist/index.d.ts +13 -0
- package/packages/css/dist/index.d.ts.map +1 -0
- package/packages/css/dist/index.js +16 -0
- package/packages/css/dist/index.js.map +1 -0
- package/packages/css/dist/syntax.d.ts +29 -0
- package/packages/css/dist/syntax.d.ts.map +1 -0
- package/packages/css/dist/syntax.js +341 -0
- package/packages/css/dist/syntax.js.map +1 -0
- package/packages/css/dist/themes/bulma-dark.css +86 -0
- package/packages/css/dist/themes/bulma-light.css +86 -0
- package/packages/css/dist/themes/catppuccin-frappe.css +61 -0
- package/packages/css/dist/themes/catppuccin-latte.css +61 -0
- package/packages/css/dist/themes/catppuccin-macchiato.css +61 -0
- package/packages/css/dist/themes/catppuccin-mocha.css +61 -0
- package/packages/css/dist/themes/dracula.css +85 -0
- package/packages/css/dist/themes/github-dark.css +61 -0
- package/packages/css/dist/themes/github-light.css +61 -0
- package/packages/css/dist/turbo-base.css +246 -0
- package/packages/css/dist/turbo-components.css +1833 -0
- package/packages/css/dist/turbo-core.css +92 -0
- package/packages/css/dist/turbo-syntax.css +242 -0
- package/packages/css/dist/turbo.css +727 -0
- package/packages/theme-selector/dist/accessibility.d.ts +8 -0
- package/packages/theme-selector/dist/accessibility.d.ts.map +1 -0
- package/packages/theme-selector/dist/accessibility.js +19 -0
- package/packages/theme-selector/dist/accessibility.js.map +1 -0
- package/packages/theme-selector/dist/apply-theme.d.ts +12 -0
- package/packages/theme-selector/dist/apply-theme.d.ts.map +1 -0
- package/packages/theme-selector/dist/apply-theme.js +60 -0
- package/packages/theme-selector/dist/apply-theme.js.map +1 -0
- package/packages/theme-selector/dist/constants.d.ts +28 -0
- package/packages/theme-selector/dist/constants.d.ts.map +1 -0
- package/packages/theme-selector/dist/constants.js +29 -0
- package/packages/theme-selector/dist/constants.js.map +1 -0
- package/packages/theme-selector/dist/dropdown/events.d.ts +9 -0
- package/packages/theme-selector/dist/dropdown/events.d.ts.map +1 -0
- package/packages/theme-selector/dist/dropdown/events.js +120 -0
- package/packages/theme-selector/dist/dropdown/events.js.map +1 -0
- package/packages/theme-selector/dist/dropdown/helpers.d.ts +12 -0
- package/packages/theme-selector/dist/dropdown/helpers.d.ts.map +1 -0
- package/packages/theme-selector/dist/dropdown/helpers.js +25 -0
- package/packages/theme-selector/dist/dropdown/helpers.js.map +1 -0
- package/packages/theme-selector/dist/dropdown/state.d.ts +26 -0
- package/packages/theme-selector/dist/dropdown/state.d.ts.map +1 -0
- package/packages/theme-selector/dist/dropdown/state.js +50 -0
- package/packages/theme-selector/dist/dropdown/state.js.map +1 -0
- package/packages/theme-selector/dist/dropdown/ui.d.ts +46 -0
- package/packages/theme-selector/dist/dropdown/ui.d.ts.map +1 -0
- package/packages/theme-selector/dist/dropdown/ui.js +179 -0
- package/packages/theme-selector/dist/dropdown/ui.js.map +1 -0
- package/packages/theme-selector/dist/errors.d.ts +59 -0
- package/packages/theme-selector/dist/errors.d.ts.map +1 -0
- package/packages/theme-selector/dist/errors.js +127 -0
- package/packages/theme-selector/dist/errors.js.map +1 -0
- package/packages/theme-selector/dist/index.d.ts +25 -0
- package/packages/theme-selector/dist/index.d.ts.map +1 -0
- package/packages/theme-selector/dist/index.js +114 -0
- package/packages/theme-selector/dist/index.js.map +1 -0
- package/packages/theme-selector/dist/navbar.d.ts +13 -0
- package/packages/theme-selector/dist/navbar.d.ts.map +1 -0
- package/packages/theme-selector/dist/navbar.js +75 -0
- package/packages/theme-selector/dist/navbar.js.map +1 -0
- package/packages/theme-selector/dist/storage.d.ts +32 -0
- package/packages/theme-selector/dist/storage.d.ts.map +1 -0
- package/packages/theme-selector/dist/storage.js +100 -0
- package/packages/theme-selector/dist/storage.js.map +1 -0
- package/packages/theme-selector/dist/theme-loader.d.ts +37 -0
- package/packages/theme-selector/dist/theme-loader.d.ts.map +1 -0
- package/packages/theme-selector/dist/theme-loader.js +142 -0
- package/packages/theme-selector/dist/theme-loader.js.map +1 -0
- package/packages/theme-selector/dist/theme-mapper.d.ts +25 -0
- package/packages/theme-selector/dist/theme-mapper.d.ts.map +1 -0
- package/packages/theme-selector/dist/theme-mapper.js +99 -0
- package/packages/theme-selector/dist/theme-mapper.js.map +1 -0
- package/packages/theme-selector/dist/theme-resolver.d.ts +50 -0
- package/packages/theme-selector/dist/theme-resolver.d.ts.map +1 -0
- package/packages/theme-selector/dist/theme-resolver.js +84 -0
- package/packages/theme-selector/dist/theme-resolver.js.map +1 -0
- package/packages/theme-selector/dist/types.d.ts +7 -0
- package/packages/theme-selector/dist/types.d.ts.map +1 -0
- package/packages/theme-selector/dist/types.js +6 -0
- package/packages/theme-selector/dist/types.js.map +1 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* Generated from catppuccin-mocha.css */
|
|
2
|
+
|
|
3
|
+
[data-theme="catppuccin-mocha"] {
|
|
4
|
+
--turbo-spacing-xs: 0.25rem; /* dimension */
|
|
5
|
+
--turbo-spacing-sm: 0.5rem; /* dimension */
|
|
6
|
+
--turbo-spacing-md: 1rem; /* dimension */
|
|
7
|
+
--turbo-spacing-lg: 1.5rem; /* dimension */
|
|
8
|
+
--turbo-spacing-xl: 2rem; /* dimension */
|
|
9
|
+
--turbo-elevation-none: none; /* shadow */
|
|
10
|
+
--turbo-elevation-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow */
|
|
11
|
+
--turbo-elevation-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow */
|
|
12
|
+
--turbo-elevation-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow */
|
|
13
|
+
--turbo-elevation-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow */
|
|
14
|
+
--turbo-animation-duration-fast: 150ms; /* duration */
|
|
15
|
+
--turbo-animation-duration-normal: 300ms; /* duration */
|
|
16
|
+
--turbo-animation-duration-slow: 500ms; /* duration */
|
|
17
|
+
--turbo-animation-easing-default: cubic-bezier(0.4, 0, 0.2, 1); /* cubicBezier */
|
|
18
|
+
--turbo-animation-easing-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1); /* cubicBezier */
|
|
19
|
+
--turbo-opacity-disabled: 0.5; /* number */
|
|
20
|
+
--turbo-opacity-hover: 0.8; /* number */
|
|
21
|
+
--turbo-opacity-pressed: 0.6; /* number */
|
|
22
|
+
--turbo-bg-base: #1e1e2e; /* color */
|
|
23
|
+
--turbo-bg-surface: #181825; /* color */
|
|
24
|
+
--turbo-bg-overlay: #11111b; /* color */
|
|
25
|
+
--turbo-text-primary: #cdd6f4; /* color */
|
|
26
|
+
--turbo-text-secondary: #a6adc8; /* color */
|
|
27
|
+
--turbo-text-inverse: #1e1e2e; /* color */
|
|
28
|
+
--turbo-brand-primary: #89b4fa; /* color */
|
|
29
|
+
--turbo-state-info: #89dceb; /* color */
|
|
30
|
+
--turbo-state-success: #a6e3a1; /* color */
|
|
31
|
+
--turbo-state-warning: #f9e2af; /* color */
|
|
32
|
+
--turbo-state-danger: #f38ba8; /* color */
|
|
33
|
+
--turbo-border-default: #6c7086; /* color */
|
|
34
|
+
--turbo-accent-link: #89b4fa; /* color */
|
|
35
|
+
--turbo-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; /* fontFamily */
|
|
36
|
+
--turbo-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* fontFamily */
|
|
37
|
+
--turbo-heading-h1: #a6e3a1; /* color */
|
|
38
|
+
--turbo-heading-h2: #89b4fa; /* color */
|
|
39
|
+
--turbo-heading-h3: #74c7ec; /* color */
|
|
40
|
+
--turbo-heading-h4: #f9e2af; /* color */
|
|
41
|
+
--turbo-heading-h5: #cba6f7; /* color */
|
|
42
|
+
--turbo-heading-h6: #f38ba8; /* color */
|
|
43
|
+
--turbo-body-primary: #cdd6f4; /* color */
|
|
44
|
+
--turbo-body-secondary: #a6adc8; /* color */
|
|
45
|
+
--turbo-link-default: #89b4fa; /* color */
|
|
46
|
+
--turbo-selection-fg: #cdd6f4; /* color */
|
|
47
|
+
--turbo-selection-bg: #7f849c; /* color */
|
|
48
|
+
--turbo-blockquote-border: #7f849c; /* color */
|
|
49
|
+
--turbo-blockquote-fg: #cdd6f4; /* color */
|
|
50
|
+
--turbo-blockquote-bg: #181825; /* color */
|
|
51
|
+
--turbo-code-inline-fg: #cdd6f4; /* color */
|
|
52
|
+
--turbo-code-inline-bg: #313244; /* color */
|
|
53
|
+
--turbo-code-block-fg: #cdd6f4; /* color */
|
|
54
|
+
--turbo-code-block-bg: #313244; /* color */
|
|
55
|
+
--turbo-table-border: #7f849c; /* color */
|
|
56
|
+
--turbo-table-stripe: #313244; /* color */
|
|
57
|
+
--turbo-table-thead-bg: #45475a; /* color */
|
|
58
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/* Generated from dracula.css */
|
|
2
|
+
|
|
3
|
+
[data-theme="dracula"] {
|
|
4
|
+
--turbo-spacing-xs: 0.25rem; /* dimension */
|
|
5
|
+
--turbo-spacing-sm: 0.5rem; /* dimension */
|
|
6
|
+
--turbo-spacing-md: 1rem; /* dimension */
|
|
7
|
+
--turbo-spacing-lg: 1.5rem; /* dimension */
|
|
8
|
+
--turbo-spacing-xl: 2rem; /* dimension */
|
|
9
|
+
--turbo-elevation-none: none; /* shadow */
|
|
10
|
+
--turbo-elevation-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow */
|
|
11
|
+
--turbo-elevation-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow */
|
|
12
|
+
--turbo-elevation-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow */
|
|
13
|
+
--turbo-elevation-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow */
|
|
14
|
+
--turbo-animation-duration-fast: 150ms; /* duration */
|
|
15
|
+
--turbo-animation-duration-normal: 300ms; /* duration */
|
|
16
|
+
--turbo-animation-duration-slow: 500ms; /* duration */
|
|
17
|
+
--turbo-animation-easing-default: cubic-bezier(0.4, 0, 0.2, 1); /* cubicBezier */
|
|
18
|
+
--turbo-animation-easing-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1); /* cubicBezier */
|
|
19
|
+
--turbo-opacity-disabled: 0.5; /* number */
|
|
20
|
+
--turbo-opacity-hover: 0.8; /* number */
|
|
21
|
+
--turbo-opacity-pressed: 0.6; /* number */
|
|
22
|
+
--turbo-bg-base: #282a36; /* color */
|
|
23
|
+
--turbo-bg-surface: #21222c; /* color */
|
|
24
|
+
--turbo-bg-overlay: #44475a; /* color */
|
|
25
|
+
--turbo-text-primary: #f8f8f2; /* color */
|
|
26
|
+
--turbo-text-secondary: #6272a4; /* color */
|
|
27
|
+
--turbo-text-inverse: #282a36; /* color */
|
|
28
|
+
--turbo-brand-primary: #bd93f9; /* color */
|
|
29
|
+
--turbo-state-info: #8be9fd; /* color */
|
|
30
|
+
--turbo-state-success: #50fa7b; /* color */
|
|
31
|
+
--turbo-state-warning: #f1fa8c; /* color */
|
|
32
|
+
--turbo-state-danger: #ff5555; /* color */
|
|
33
|
+
--turbo-border-default: #44475a; /* color */
|
|
34
|
+
--turbo-accent-link: #8be9fd; /* color */
|
|
35
|
+
--turbo-font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* fontFamily */
|
|
36
|
+
--turbo-font-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* fontFamily */
|
|
37
|
+
--turbo-heading-h1: #ff79c6; /* color */
|
|
38
|
+
--turbo-heading-h2: #bd93f9; /* color */
|
|
39
|
+
--turbo-heading-h3: #8be9fd; /* color */
|
|
40
|
+
--turbo-heading-h4: #50fa7b; /* color */
|
|
41
|
+
--turbo-heading-h5: #ffb86c; /* color */
|
|
42
|
+
--turbo-heading-h6: #f1fa8c; /* color */
|
|
43
|
+
--turbo-body-primary: #f8f8f2; /* color */
|
|
44
|
+
--turbo-body-secondary: #6272a4; /* color */
|
|
45
|
+
--turbo-link-default: #8be9fd; /* color */
|
|
46
|
+
--turbo-selection-fg: #f8f8f2; /* color */
|
|
47
|
+
--turbo-selection-bg: #44475a; /* color */
|
|
48
|
+
--turbo-blockquote-border: #bd93f9; /* color */
|
|
49
|
+
--turbo-blockquote-fg: #6272a4; /* color */
|
|
50
|
+
--turbo-blockquote-bg: #21222c; /* color */
|
|
51
|
+
--turbo-code-inline-fg: #50fa7b; /* color */
|
|
52
|
+
--turbo-code-inline-bg: #21222c; /* color */
|
|
53
|
+
--turbo-code-block-fg: #f8f8f2; /* color */
|
|
54
|
+
--turbo-code-block-bg: #21222c; /* color */
|
|
55
|
+
--turbo-table-border: #44475a; /* color */
|
|
56
|
+
--turbo-table-stripe: #21222c; /* color */
|
|
57
|
+
--turbo-table-thead-bg: #44475a; /* color */
|
|
58
|
+
--turbo-content-table-cell-bg: #282a36; /* color */
|
|
59
|
+
--turbo-content-table-header-fg: #f8f8f2; /* color */
|
|
60
|
+
--turbo-components-card-bg: #21222c; /* color */
|
|
61
|
+
--turbo-components-card-border: #6272a4; /* color */
|
|
62
|
+
--turbo-components-card-header-bg: #282a36; /* color */
|
|
63
|
+
--turbo-components-card-footer-bg: #21222c; /* color */
|
|
64
|
+
--turbo-components-message-bg: #282a36; /* color */
|
|
65
|
+
--turbo-components-message-header-bg: #44475a; /* color */
|
|
66
|
+
--turbo-components-message-border: #6272a4; /* color */
|
|
67
|
+
--turbo-components-message-body-fg: #f8f8f2; /* color */
|
|
68
|
+
--turbo-components-panel-bg: #21222c; /* color */
|
|
69
|
+
--turbo-components-panel-header-bg: #44475a; /* color */
|
|
70
|
+
--turbo-components-panel-header-fg: #f8f8f2; /* color */
|
|
71
|
+
--turbo-components-panel-border: #6272a4; /* color */
|
|
72
|
+
--turbo-components-panel-block-bg: #282a36; /* color */
|
|
73
|
+
--turbo-components-panel-block-hover-bg: #2e303e; /* color */
|
|
74
|
+
--turbo-components-panel-block-active-bg: #44475a; /* color */
|
|
75
|
+
--turbo-components-box-bg: #21222c; /* color */
|
|
76
|
+
--turbo-components-box-border: #6272a4; /* color */
|
|
77
|
+
--turbo-components-notification-bg: #282a36; /* color */
|
|
78
|
+
--turbo-components-notification-border: #6272a4; /* color */
|
|
79
|
+
--turbo-components-modal-bg: rgba(40, 42, 54, 0.9); /* color */
|
|
80
|
+
--turbo-components-modal-card-bg: #21222c; /* color */
|
|
81
|
+
--turbo-components-modal-header-bg: #282a36; /* color */
|
|
82
|
+
--turbo-components-modal-footer-bg: #21222c; /* color */
|
|
83
|
+
--turbo-components-dropdown-bg: #21222c; /* color */
|
|
84
|
+
--turbo-components-dropdown-item-hover-bg: #2e303e; /* color */
|
|
85
|
+
--turbo-components-dropdown-border: #6272a4; /* color */
|
|
86
|
+
--turbo-components-tabs-border: #6272a4; /* color */
|
|
87
|
+
--turbo-components-tabs-link-bg: #2e303e; /* color */
|
|
88
|
+
--turbo-components-tabs-link-active-bg: #21222c; /* color */
|
|
89
|
+
--turbo-components-tabs-link-hover-bg: #44475a; /* color */
|
|
90
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* Generated from github-dark.css */
|
|
2
|
+
|
|
3
|
+
[data-theme="github-dark"] {
|
|
4
|
+
--turbo-spacing-xs: 0.25rem; /* dimension */
|
|
5
|
+
--turbo-spacing-sm: 0.5rem; /* dimension */
|
|
6
|
+
--turbo-spacing-md: 1rem; /* dimension */
|
|
7
|
+
--turbo-spacing-lg: 1.5rem; /* dimension */
|
|
8
|
+
--turbo-spacing-xl: 2rem; /* dimension */
|
|
9
|
+
--turbo-elevation-none: none; /* shadow */
|
|
10
|
+
--turbo-elevation-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow */
|
|
11
|
+
--turbo-elevation-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow */
|
|
12
|
+
--turbo-elevation-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow */
|
|
13
|
+
--turbo-elevation-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow */
|
|
14
|
+
--turbo-animation-duration-fast: 150ms; /* duration */
|
|
15
|
+
--turbo-animation-duration-normal: 300ms; /* duration */
|
|
16
|
+
--turbo-animation-duration-slow: 500ms; /* duration */
|
|
17
|
+
--turbo-animation-easing-default: cubic-bezier(0.4, 0, 0.2, 1); /* cubicBezier */
|
|
18
|
+
--turbo-animation-easing-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1); /* cubicBezier */
|
|
19
|
+
--turbo-opacity-disabled: 0.5; /* number */
|
|
20
|
+
--turbo-opacity-hover: 0.8; /* number */
|
|
21
|
+
--turbo-opacity-pressed: 0.6; /* number */
|
|
22
|
+
--turbo-bg-base: #0d1117; /* color */
|
|
23
|
+
--turbo-bg-surface: #151b23; /* color */
|
|
24
|
+
--turbo-bg-overlay: #010409; /* color */
|
|
25
|
+
--turbo-text-primary: #f0f6fc; /* color */
|
|
26
|
+
--turbo-text-secondary: #9198a1; /* color */
|
|
27
|
+
--turbo-text-inverse: #ffffff; /* color */
|
|
28
|
+
--turbo-brand-primary: #1f6feb; /* color */
|
|
29
|
+
--turbo-state-info: #4493f8; /* color */
|
|
30
|
+
--turbo-state-success: #3fb950; /* color */
|
|
31
|
+
--turbo-state-warning: #d29922; /* color */
|
|
32
|
+
--turbo-state-danger: #f85149; /* color */
|
|
33
|
+
--turbo-border-default: #3d444d; /* color */
|
|
34
|
+
--turbo-accent-link: #4493f8; /* color */
|
|
35
|
+
--turbo-font-sans: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; /* fontFamily */
|
|
36
|
+
--turbo-font-mono: "Hubot Sans", ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, "Liberation Mono", monospace; /* fontFamily */
|
|
37
|
+
--turbo-heading-h1: #3fb950; /* color */
|
|
38
|
+
--turbo-heading-h2: #4493f8; /* color */
|
|
39
|
+
--turbo-heading-h3: #1f6feb; /* color */
|
|
40
|
+
--turbo-heading-h4: #d29922; /* color */
|
|
41
|
+
--turbo-heading-h5: #3fb950; /* color */
|
|
42
|
+
--turbo-heading-h6: #f85149; /* color */
|
|
43
|
+
--turbo-body-primary: #f0f6fc; /* color */
|
|
44
|
+
--turbo-body-secondary: #9198a1; /* color */
|
|
45
|
+
--turbo-link-default: #4493f8; /* color */
|
|
46
|
+
--turbo-selection-fg: #f0f6fc; /* color */
|
|
47
|
+
--turbo-selection-bg: #264f78; /* color */
|
|
48
|
+
--turbo-blockquote-border: #3d444d; /* color */
|
|
49
|
+
--turbo-blockquote-fg: #9198a1; /* color */
|
|
50
|
+
--turbo-blockquote-bg: #151b23; /* color */
|
|
51
|
+
--turbo-code-inline-fg: #f0f6fc; /* color */
|
|
52
|
+
--turbo-code-inline-bg: #151b23; /* color */
|
|
53
|
+
--turbo-code-block-fg: #f0f6fc; /* color */
|
|
54
|
+
--turbo-code-block-bg: #151b23; /* color */
|
|
55
|
+
--turbo-table-border: #3d444d; /* color */
|
|
56
|
+
--turbo-table-stripe: #151b23; /* color */
|
|
57
|
+
--turbo-table-thead-bg: #151b23; /* color */
|
|
58
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* Generated from github-light.css */
|
|
2
|
+
|
|
3
|
+
[data-theme="github-light"] {
|
|
4
|
+
--turbo-spacing-xs: 0.25rem; /* dimension */
|
|
5
|
+
--turbo-spacing-sm: 0.5rem; /* dimension */
|
|
6
|
+
--turbo-spacing-md: 1rem; /* dimension */
|
|
7
|
+
--turbo-spacing-lg: 1.5rem; /* dimension */
|
|
8
|
+
--turbo-spacing-xl: 2rem; /* dimension */
|
|
9
|
+
--turbo-elevation-none: none; /* shadow */
|
|
10
|
+
--turbo-elevation-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow */
|
|
11
|
+
--turbo-elevation-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow */
|
|
12
|
+
--turbo-elevation-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow */
|
|
13
|
+
--turbo-elevation-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow */
|
|
14
|
+
--turbo-animation-duration-fast: 150ms; /* duration */
|
|
15
|
+
--turbo-animation-duration-normal: 300ms; /* duration */
|
|
16
|
+
--turbo-animation-duration-slow: 500ms; /* duration */
|
|
17
|
+
--turbo-animation-easing-default: cubic-bezier(0.4, 0, 0.2, 1); /* cubicBezier */
|
|
18
|
+
--turbo-animation-easing-emphasized: cubic-bezier(0.05, 0.7, 0.1, 1); /* cubicBezier */
|
|
19
|
+
--turbo-opacity-disabled: 0.5; /* number */
|
|
20
|
+
--turbo-opacity-hover: 0.8; /* number */
|
|
21
|
+
--turbo-opacity-pressed: 0.6; /* number */
|
|
22
|
+
--turbo-bg-base: #ffffff; /* color */
|
|
23
|
+
--turbo-bg-surface: #f6f8fa; /* color */
|
|
24
|
+
--turbo-bg-overlay: #f6f8fa; /* color */
|
|
25
|
+
--turbo-text-primary: #1f2328; /* color */
|
|
26
|
+
--turbo-text-secondary: #59636e; /* color */
|
|
27
|
+
--turbo-text-inverse: #ffffff; /* color */
|
|
28
|
+
--turbo-brand-primary: #0969da; /* color */
|
|
29
|
+
--turbo-state-info: #0969da; /* color */
|
|
30
|
+
--turbo-state-success: #1a7f37; /* color */
|
|
31
|
+
--turbo-state-warning: #9a6700; /* color */
|
|
32
|
+
--turbo-state-danger: #d1242f; /* color */
|
|
33
|
+
--turbo-border-default: #d1d9e0; /* color */
|
|
34
|
+
--turbo-accent-link: #0969da; /* color */
|
|
35
|
+
--turbo-font-sans: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; /* fontFamily */
|
|
36
|
+
--turbo-font-mono: "Hubot Sans", ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, "Liberation Mono", monospace; /* fontFamily */
|
|
37
|
+
--turbo-heading-h1: #1a7f37; /* color */
|
|
38
|
+
--turbo-heading-h2: #0969da; /* color */
|
|
39
|
+
--turbo-heading-h3: #0969da; /* color */
|
|
40
|
+
--turbo-heading-h4: #9a6700; /* color */
|
|
41
|
+
--turbo-heading-h5: #1a7f37; /* color */
|
|
42
|
+
--turbo-heading-h6: #d1242f; /* color */
|
|
43
|
+
--turbo-body-primary: #1f2328; /* color */
|
|
44
|
+
--turbo-body-secondary: #59636e; /* color */
|
|
45
|
+
--turbo-link-default: #0969da; /* color */
|
|
46
|
+
--turbo-selection-fg: #1f2328; /* color */
|
|
47
|
+
--turbo-selection-bg: #b6e3ff; /* color */
|
|
48
|
+
--turbo-blockquote-border: #d1d9e0; /* color */
|
|
49
|
+
--turbo-blockquote-fg: #59636e; /* color */
|
|
50
|
+
--turbo-blockquote-bg: #f6f8fa; /* color */
|
|
51
|
+
--turbo-code-inline-fg: #1f2328; /* color */
|
|
52
|
+
--turbo-code-inline-bg: #f6f8fa; /* color */
|
|
53
|
+
--turbo-code-block-fg: #1f2328; /* color */
|
|
54
|
+
--turbo-code-block-bg: #f6f8fa; /* color */
|
|
55
|
+
--turbo-table-border: #d1d9e0; /* color */
|
|
56
|
+
--turbo-table-stripe: #f6f8fa; /* color */
|
|
57
|
+
--turbo-table-thead-bg: #f6f8fa; /* color */
|
|
58
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--turbo-bg-base: #1e1e2e;
|
|
3
|
+
--turbo-bg-surface: #181825;
|
|
4
|
+
--turbo-bg-overlay: #11111b;
|
|
5
|
+
--turbo-text-primary: #cdd6f4;
|
|
6
|
+
--turbo-text-secondary: #a6adc8;
|
|
7
|
+
--turbo-text-inverse: #1e1e2e;
|
|
8
|
+
--turbo-brand-primary: #89b4fa;
|
|
9
|
+
--turbo-state-info: #89dceb;
|
|
10
|
+
--turbo-state-success: #a6e3a1;
|
|
11
|
+
--turbo-state-warning: #f9e2af;
|
|
12
|
+
--turbo-state-danger: #f38ba8;
|
|
13
|
+
--turbo-border-default: #6c7086;
|
|
14
|
+
--turbo-accent-link: #89b4fa;
|
|
15
|
+
--turbo-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
|
|
16
|
+
--turbo-font-mono: JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
17
|
+
--turbo-heading-h1: #a6e3a1;
|
|
18
|
+
--turbo-heading-h2: #89b4fa;
|
|
19
|
+
--turbo-heading-h3: #74c7ec;
|
|
20
|
+
--turbo-heading-h4: #f9e2af;
|
|
21
|
+
--turbo-heading-h5: #cba6f7;
|
|
22
|
+
--turbo-heading-h6: #f38ba8;
|
|
23
|
+
--turbo-body-primary: #cdd6f4;
|
|
24
|
+
--turbo-body-secondary: #a6adc8;
|
|
25
|
+
--turbo-link-default: #89b4fa;
|
|
26
|
+
--turbo-selection-fg: #cdd6f4;
|
|
27
|
+
--turbo-selection-bg: #7f849c;
|
|
28
|
+
--turbo-blockquote-border: #7f849c;
|
|
29
|
+
--turbo-blockquote-fg: #cdd6f4;
|
|
30
|
+
--turbo-blockquote-bg: #181825;
|
|
31
|
+
--turbo-code-inline-fg: #cdd6f4;
|
|
32
|
+
--turbo-code-inline-bg: #313244;
|
|
33
|
+
--turbo-code-block-fg: #cdd6f4;
|
|
34
|
+
--turbo-code-block-bg: #313244;
|
|
35
|
+
--turbo-table-border: #7f849c;
|
|
36
|
+
--turbo-table-stripe: #313244;
|
|
37
|
+
--turbo-table-thead-bg: #45475a;
|
|
38
|
+
--turbo-table-cell-bg: #1e1e2e;
|
|
39
|
+
--turbo-table-header-fg: #cdd6f4;
|
|
40
|
+
--turbo-syntax-fg: #cdd6f4;
|
|
41
|
+
--turbo-syntax-bg: #313244;
|
|
42
|
+
--turbo-syntax-comment: #a6adc8;
|
|
43
|
+
--turbo-syntax-keyword: #89b4fa;
|
|
44
|
+
--turbo-syntax-string: #a6e3a1;
|
|
45
|
+
--turbo-syntax-number: #f9e2af;
|
|
46
|
+
--turbo-syntax-function: #89dceb;
|
|
47
|
+
--turbo-syntax-type: #89b4fa;
|
|
48
|
+
--turbo-syntax-variable: #cdd6f4;
|
|
49
|
+
--turbo-syntax-operator: #a6adc8;
|
|
50
|
+
--turbo-syntax-punctuation: #a6adc8;
|
|
51
|
+
--turbo-syntax-tag: #f38ba8;
|
|
52
|
+
--turbo-syntax-attribute: #89dceb;
|
|
53
|
+
--turbo-syntax-value: #a6e3a1;
|
|
54
|
+
--turbo-syntax-error: #f38ba8;
|
|
55
|
+
--turbo-syntax-deleted: #f38ba8;
|
|
56
|
+
--turbo-syntax-inserted: #a6e3a1;
|
|
57
|
+
|
|
58
|
+
/* Spacing */
|
|
59
|
+
--space-xs: 0.25rem;
|
|
60
|
+
--space-sm: 0.5rem;
|
|
61
|
+
--space-md: 1rem;
|
|
62
|
+
--space-lg: 1.5rem;
|
|
63
|
+
--space-xl: 2rem;
|
|
64
|
+
--space-2xl: 3rem;
|
|
65
|
+
--space-3xl: 4rem;
|
|
66
|
+
--space-4xl: 6rem;
|
|
67
|
+
|
|
68
|
+
/* Border Radius */
|
|
69
|
+
--radius-sm: 0.5rem;
|
|
70
|
+
--radius-md: 0.75rem;
|
|
71
|
+
--radius-lg: 1rem;
|
|
72
|
+
--radius-xl: 1.5rem;
|
|
73
|
+
--radius-2xl: 2rem;
|
|
74
|
+
--radius-full: 9999px;
|
|
75
|
+
|
|
76
|
+
/* Shadows */
|
|
77
|
+
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
|
|
78
|
+
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
79
|
+
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
|
|
80
|
+
--shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.04);
|
|
81
|
+
--shadow-glow: 0 0 30px color-mix(in srgb, var(--turbo-brand-primary) 30%, transparent);
|
|
82
|
+
--shadow-glow-sm: 0 0 15px color-mix(in srgb, var(--turbo-brand-primary) 20%, transparent);
|
|
83
|
+
|
|
84
|
+
/* Transitions */
|
|
85
|
+
--transition-fast: 120ms ease-out;
|
|
86
|
+
--transition-normal: 200ms ease-out;
|
|
87
|
+
--transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
88
|
+
|
|
89
|
+
/* Gradients (theme-aware) */
|
|
90
|
+
--gradient-primary: linear-gradient(135deg, var(--turbo-brand-primary), var(--turbo-state-info));
|
|
91
|
+
--gradient-surface: linear-gradient(180deg, var(--turbo-bg-surface), var(--turbo-bg-base));
|
|
92
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
/**
|
|
3
|
+
* Bootstrap utility classes for Turbo Themes
|
|
4
|
+
*
|
|
5
|
+
* Additional utility classes that extend Bootstrap with Turbo Theme tokens.
|
|
6
|
+
* Import after Bootstrap's main styles.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```scss
|
|
10
|
+
* @import "~bootstrap/scss/bootstrap";
|
|
11
|
+
* @import "~@lgtm-hq/turbo-themes/adapters/bootstrap/utilities";
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
// Theme-aware background and text utilities
|
|
16
|
+
.bg-theme-surface {
|
|
17
|
+
background-color: var(--turbo-bg-surface) !important;
|
|
18
|
+
}
|
|
19
|
+
.bg-theme-surface-alt {
|
|
20
|
+
background-color: var(--turbo-bg-surface-alt) !important;
|
|
21
|
+
}
|
|
22
|
+
.bg-theme-primary {
|
|
23
|
+
background-color: var(--turbo-brand-primary) !important;
|
|
24
|
+
}
|
|
25
|
+
.bg-theme-accent {
|
|
26
|
+
background-color: var(--turbo-accent-link) !important;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.text-theme-primary {
|
|
30
|
+
color: var(--turbo-text-primary) !important;
|
|
31
|
+
}
|
|
32
|
+
.text-theme-secondary {
|
|
33
|
+
color: var(--turbo-text-secondary) !important;
|
|
34
|
+
}
|
|
35
|
+
.text-theme-inverse {
|
|
36
|
+
color: var(--turbo-text-inverse) !important;
|
|
37
|
+
}
|
|
38
|
+
.text-theme-brand {
|
|
39
|
+
color: var(--turbo-brand-primary) !important;
|
|
40
|
+
}
|
|
41
|
+
.text-theme-accent {
|
|
42
|
+
color: var(--turbo-accent-link) !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.border-theme {
|
|
46
|
+
border-color: var(--turbo-border-default) !important;
|
|
47
|
+
}
|
|
48
|
+
.border-theme-strong {
|
|
49
|
+
border-color: var(--turbo-border-strong, var(--turbo-border-default)) !important;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Heading color utilities
|
|
53
|
+
.text-heading-1 {
|
|
54
|
+
color: var(--turbo-heading-h1) !important;
|
|
55
|
+
}
|
|
56
|
+
.text-heading-2 {
|
|
57
|
+
color: var(--turbo-heading-h2) !important;
|
|
58
|
+
}
|
|
59
|
+
.text-heading-3 {
|
|
60
|
+
color: var(--turbo-heading-h3) !important;
|
|
61
|
+
}
|
|
62
|
+
.text-heading-4 {
|
|
63
|
+
color: var(--turbo-heading-h4) !important;
|
|
64
|
+
}
|
|
65
|
+
.text-heading-5 {
|
|
66
|
+
color: var(--turbo-heading-h5) !important;
|
|
67
|
+
}
|
|
68
|
+
.text-heading-6 {
|
|
69
|
+
color: var(--turbo-heading-h6) !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Code styling
|
|
73
|
+
.code-inline {
|
|
74
|
+
color: var(--turbo-code-inline-fg);
|
|
75
|
+
background-color: var(--turbo-code-inline-bg);
|
|
76
|
+
padding: 0.125rem 0.25rem;
|
|
77
|
+
border-radius: 0.25rem;
|
|
78
|
+
font-family: var(--turbo-font-mono);
|
|
79
|
+
font-size: 0.875em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.code-block {
|
|
83
|
+
color: var(--turbo-code-block-fg);
|
|
84
|
+
background-color: var(--turbo-code-block-bg);
|
|
85
|
+
padding: 1rem;
|
|
86
|
+
border-radius: 0.375rem;
|
|
87
|
+
font-family: var(--turbo-font-mono);
|
|
88
|
+
font-size: 0.875em;
|
|
89
|
+
overflow-x: auto;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
// Blockquote styling
|
|
93
|
+
.blockquote-theme {
|
|
94
|
+
border-left: 4px solid var(--turbo-blockquote-border);
|
|
95
|
+
color: var(--turbo-blockquote-fg);
|
|
96
|
+
background-color: var(--turbo-blockquote-bg);
|
|
97
|
+
padding: 0.5rem 1rem;
|
|
98
|
+
margin: 1rem 0;
|
|
99
|
+
font-style: italic;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// Selection styling
|
|
103
|
+
::selection {
|
|
104
|
+
background-color: var(--turbo-selection-bg);
|
|
105
|
+
color: var(--turbo-selection-fg);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Focus styling for better accessibility
|
|
109
|
+
.focus-theme:focus {
|
|
110
|
+
outline: 2px solid var(--turbo-brand-primary);
|
|
111
|
+
outline-offset: 2px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
// Spacing utilities (if spacing tokens are available)
|
|
115
|
+
.spacing-xs {
|
|
116
|
+
gap: var(--turbo-spacing-xs, 0.25rem) !important;
|
|
117
|
+
}
|
|
118
|
+
.spacing-sm {
|
|
119
|
+
gap: var(--turbo-spacing-sm, 0.5rem) !important;
|
|
120
|
+
}
|
|
121
|
+
.spacing-md {
|
|
122
|
+
gap: var(--turbo-spacing-md, 1rem) !important;
|
|
123
|
+
}
|
|
124
|
+
.spacing-lg {
|
|
125
|
+
gap: var(--turbo-spacing-lg, 1.5rem) !important;
|
|
126
|
+
}
|
|
127
|
+
.spacing-xl {
|
|
128
|
+
gap: var(--turbo-spacing-xl, 2rem) !important;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
// Elevation/shadow utilities (if elevation tokens are available)
|
|
132
|
+
.shadow-elevation-sm {
|
|
133
|
+
box-shadow: var(--turbo-elevation-sm, 0 1px 2px 0 rgba(0, 0, 0, 0.05)) !important;
|
|
134
|
+
}
|
|
135
|
+
.shadow-elevation-md {
|
|
136
|
+
box-shadow: var(--turbo-elevation-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1)) !important;
|
|
137
|
+
}
|
|
138
|
+
.shadow-elevation-lg {
|
|
139
|
+
box-shadow: var(--turbo-elevation-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1)) !important;
|
|
140
|
+
}
|
|
141
|
+
.shadow-elevation-xl {
|
|
142
|
+
box-shadow: var(--turbo-elevation-xl, 0 20px 25px -5px rgba(0, 0, 0, 0.1)) !important;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// Animation utilities (if animation tokens are available)
|
|
146
|
+
.transition-fast {
|
|
147
|
+
transition-duration: var(--turbo-animation-duration-fast, 150ms) !important;
|
|
148
|
+
}
|
|
149
|
+
.transition-normal {
|
|
150
|
+
transition-duration: var(--turbo-animation-duration-normal, 300ms) !important;
|
|
151
|
+
}
|
|
152
|
+
.transition-slow {
|
|
153
|
+
transition-duration: var(--turbo-animation-duration-slow, 500ms) !important;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.ease-default {
|
|
157
|
+
transition-timing-function: var(
|
|
158
|
+
--turbo-animation-easing-default,
|
|
159
|
+
cubic-bezier(0.4, 0, 0.2, 1)
|
|
160
|
+
) !important;
|
|
161
|
+
}
|
|
162
|
+
.ease-emphasized {
|
|
163
|
+
transition-timing-function: var(
|
|
164
|
+
--turbo-animation-easing-emphasized,
|
|
165
|
+
cubic-bezier(0.05, 0.7, 0.1, 1)
|
|
166
|
+
) !important;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// Opacity utilities (if opacity tokens are available)
|
|
170
|
+
.opacity-disabled {
|
|
171
|
+
opacity: var(--turbo-opacity-disabled, 0.5) !important;
|
|
172
|
+
}
|
|
173
|
+
.opacity-hover {
|
|
174
|
+
opacity: var(--turbo-opacity-hover, 0.8) !important;
|
|
175
|
+
}
|
|
176
|
+
.opacity-pressed {
|
|
177
|
+
opacity: var(--turbo-opacity-pressed, 0.6) !important;
|
|
178
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
/**
|
|
3
|
+
* Bootstrap SCSS variables for Turbo Themes
|
|
4
|
+
*
|
|
5
|
+
* Maps Turbo Theme design tokens to Bootstrap 5 SCSS variables.
|
|
6
|
+
* Import this file after Bootstrap's defaults but before your custom styles.
|
|
7
|
+
*
|
|
8
|
+
* IMPORTANT: These variables use CSS custom properties (var(--turbo-*)).
|
|
9
|
+
* Sass treats these as strings, so Bootstrap's color functions (darken,
|
|
10
|
+
* lighten, mix, etc.) won't work with them. For full color manipulation,
|
|
11
|
+
* use static color values at compile time and CSS variable overrides at
|
|
12
|
+
* runtime. See the documentation for the recommended approach.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```scss
|
|
16
|
+
* @import "~bootstrap/scss/functions";
|
|
17
|
+
* @import "~bootstrap/scss/variables";
|
|
18
|
+
* @import "~@lgtm-hq/turbo-themes/adapters/bootstrap/variables";
|
|
19
|
+
* @import "~bootstrap/scss/bootstrap";
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
// Color palette mapping
|
|
24
|
+
$primary: var(--turbo-brand-primary) !default;
|
|
25
|
+
$secondary: var(--turbo-text-secondary) !default;
|
|
26
|
+
$success: var(--turbo-state-success) !default;
|
|
27
|
+
$info: var(--turbo-state-info) !default;
|
|
28
|
+
$warning: var(--turbo-state-warning) !default;
|
|
29
|
+
$danger: var(--turbo-state-danger) !default;
|
|
30
|
+
$light: var(--turbo-bg-surface) !default;
|
|
31
|
+
$dark: var(--turbo-text-primary) !default;
|
|
32
|
+
|
|
33
|
+
// Body and text colors
|
|
34
|
+
$body-color: var(--turbo-text-primary) !default;
|
|
35
|
+
$body-bg: var(--turbo-bg-base) !default;
|
|
36
|
+
|
|
37
|
+
// Links
|
|
38
|
+
$link-color: var(--turbo-accent-link) !default;
|
|
39
|
+
$link-hover-color: var(--turbo-accent-link) !default;
|
|
40
|
+
|
|
41
|
+
// Borders
|
|
42
|
+
$border-color: var(--turbo-border-default) !default;
|
|
43
|
+
|
|
44
|
+
// Component backgrounds
|
|
45
|
+
$component-active-bg: var(--turbo-bg-surface) !default;
|
|
46
|
+
|
|
47
|
+
// Card component
|
|
48
|
+
$card-bg: var(--turbo-bg-surface) !default;
|
|
49
|
+
$card-border-color: var(--turbo-border-default) !default;
|
|
50
|
+
$card-cap-bg: var(--turbo-bg-surface-alt) !default;
|
|
51
|
+
|
|
52
|
+
// Dropdown
|
|
53
|
+
$dropdown-bg: var(--turbo-bg-surface) !default;
|
|
54
|
+
$dropdown-border-color: var(--turbo-border-default) !default;
|
|
55
|
+
$dropdown-link-hover-bg: var(--turbo-bg-surface-alt) !default;
|
|
56
|
+
|
|
57
|
+
// Modal
|
|
58
|
+
$modal-content-bg: var(--turbo-bg-surface) !default;
|
|
59
|
+
$modal-header-border-color: var(--turbo-border-default) !default;
|
|
60
|
+
$modal-footer-border-color: var(--turbo-border-default) !default;
|
|
61
|
+
|
|
62
|
+
// Navigation
|
|
63
|
+
$navbar-light-bg: var(--turbo-bg-surface) !default;
|
|
64
|
+
$navbar-light-color: var(--turbo-text-primary) !default;
|
|
65
|
+
$navbar-dark-bg: var(--turbo-bg-base) !default;
|
|
66
|
+
$navbar-dark-color: var(--turbo-text-primary) !default;
|
|
67
|
+
|
|
68
|
+
// Tables
|
|
69
|
+
$table-bg: var(--turbo-bg-surface) !default;
|
|
70
|
+
$table-striped-bg: var(--turbo-table-stripe) !default;
|
|
71
|
+
$table-border-color: var(--turbo-table-border) !default;
|
|
72
|
+
$table-head-bg: var(--turbo-table-thead-bg) !default;
|
|
73
|
+
|
|
74
|
+
// Code blocks
|
|
75
|
+
$code-color: var(--turbo-code-inline-fg) !default;
|
|
76
|
+
$code-bg: var(--turbo-code-inline-bg) !default;
|
|
77
|
+
|
|
78
|
+
// Blockquotes
|
|
79
|
+
$blockquote-footer-color: var(--turbo-blockquote-fg) !default;
|
|
80
|
+
|
|
81
|
+
// Focus and selection
|
|
82
|
+
$input-focus-border-color: var(--turbo-brand-primary) !default;
|
|
83
|
+
$selection-bg: var(--turbo-selection-bg) !default;
|
|
84
|
+
$selection-color: var(--turbo-selection-fg) !default;
|
|
85
|
+
|
|
86
|
+
// Spacing (if available)
|
|
87
|
+
$spacer: var(--turbo-spacing-md, 1rem) !default;
|
|
88
|
+
|
|
89
|
+
// Typography
|
|
90
|
+
$font-family-sans-serif: var(--turbo-font-sans) !default;
|
|
91
|
+
$font-family-monospace: var(--turbo-font-mono) !default;
|
|
92
|
+
|
|
93
|
+
// Headings
|
|
94
|
+
$h1-color: var(--turbo-heading-h1) !default;
|
|
95
|
+
$h2-color: var(--turbo-heading-h2) !default;
|
|
96
|
+
$h3-color: var(--turbo-heading-h3) !default;
|
|
97
|
+
$h4-color: var(--turbo-heading-h4) !default;
|
|
98
|
+
$h5-color: var(--turbo-heading-h5) !default;
|
|
99
|
+
$h6-color: var(--turbo-heading-h6) !default;
|