@latte-macchiat-io/latte-vanilla-components 0.0.166 → 0.0.168

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.
Files changed (63) hide show
  1. package/dist/Actions.css.ts +113 -0
  2. package/dist/Button.css.ts +119 -0
  3. package/dist/Carousel.css.ts +180 -0
  4. package/dist/Columns.css.ts +185 -0
  5. package/dist/ConsentCookie.css.ts +167 -0
  6. package/dist/Footer.css.ts +108 -0
  7. package/dist/Form.css.ts +64 -0
  8. package/dist/Header.css.ts +111 -0
  9. package/dist/Icon.css.ts +102 -0
  10. package/dist/Input.css.ts +106 -0
  11. package/dist/KeyNumber.css.ts +158 -0
  12. package/dist/Label.css.ts +58 -0
  13. package/dist/LanguageSwitcher.css.ts +120 -0
  14. package/dist/Logo.css.ts +98 -0
  15. package/dist/Main.css.ts +62 -0
  16. package/dist/Modal.css.ts +203 -0
  17. package/dist/Nav.css.ts +123 -0
  18. package/dist/NavLegal.css.ts +121 -0
  19. package/dist/NavSocial.css.ts +121 -0
  20. package/dist/Row.css.ts +70 -0
  21. package/dist/Section.css.ts +101 -0
  22. package/dist/TextField.css.ts +139 -0
  23. package/dist/Textarea.css.ts +121 -0
  24. package/dist/Video.css.ts +210 -0
  25. package/dist/VideoFullWidth.css.ts +50 -0
  26. package/dist/contract.css.ts +83 -0
  27. package/dist/default.css.ts +9 -0
  28. package/dist/sprinkles.css.ts +82 -0
  29. package/dist/styles.css.ts +40 -0
  30. package/dist/types/components/Section/Section.d.ts +1 -1
  31. package/dist/types/index.d.ts +25 -0
  32. package/package.json +4 -3
  33. package/src/components/Actions/Actions.css.ts +113 -0
  34. package/src/components/Button/Button.css.ts +119 -0
  35. package/src/components/Carousel/Carousel.css.ts +180 -0
  36. package/src/components/Columns/Columns.css.ts +185 -0
  37. package/src/components/ConsentCookie/ConsentCookie.css.ts +167 -0
  38. package/src/components/Footer/Footer.css.ts +108 -0
  39. package/src/components/Form/Form.css.ts +64 -0
  40. package/src/components/Form/Row/Row.css.ts +70 -0
  41. package/src/components/Form/TextField/Input/Input.css.ts +106 -0
  42. package/src/components/Form/TextField/Label/Label.css.ts +58 -0
  43. package/src/components/Form/TextField/TextField.css.ts +139 -0
  44. package/src/components/Form/TextField/Textarea/Textarea.css.ts +121 -0
  45. package/src/components/Header/Header.css.ts +111 -0
  46. package/src/components/Header/HeaderOverlay/styles.css.ts +33 -0
  47. package/src/components/Header/ToggleNav/styles.css.ts +40 -0
  48. package/src/components/Icon/Icon.css.ts +102 -0
  49. package/src/components/KeyNumber/KeyNumber.css.ts +158 -0
  50. package/src/components/LanguageSwitcher/LanguageSwitcher.css.ts +120 -0
  51. package/src/components/Logo/Logo.css.ts +98 -0
  52. package/src/components/Main/Main.css.ts +62 -0
  53. package/src/components/Modal/Modal.css.ts +203 -0
  54. package/src/components/Nav/Nav.css.ts +123 -0
  55. package/src/components/NavLegal/NavLegal.css.ts +121 -0
  56. package/src/components/NavSocial/NavSocial.css.ts +121 -0
  57. package/src/components/Section/Section.css.ts +101 -0
  58. package/src/components/Video/Video.css.ts +210 -0
  59. package/src/components/VideoFullWidth/VideoFullWidth.css.ts +50 -0
  60. package/src/styles/sprinkles.css.ts +82 -0
  61. package/src/theme/contract.css.ts +83 -0
  62. package/src/theme/default.css.ts +9 -0
  63. /package/dist/types/components/Section/{Section.recipe.d.ts → Section.css.d.ts} +0 -0
@@ -0,0 +1,83 @@
1
+ import { createThemeContract } from '@vanilla-extract/css';
2
+
3
+ // Define a theme contract with design tokens
4
+ // This contract can then be reused to create multiple themes or overrides on a global level
5
+ export const themeContract = createThemeContract({
6
+ colors: {
7
+ primary: null,
8
+ secondary: null,
9
+ accent: null,
10
+ background: null,
11
+ surface: null,
12
+ text: null,
13
+ textSecondary: null,
14
+ textLight: null,
15
+ border: null,
16
+ error: null,
17
+ warning: null,
18
+ success: null,
19
+ info: null,
20
+ },
21
+ space: {
22
+ none: null,
23
+ xs: null,
24
+ sm: null,
25
+ md: null,
26
+ lg: null,
27
+ xl: null,
28
+ '2xl': null,
29
+ },
30
+ radii: {
31
+ none: null,
32
+ sm: null,
33
+ md: null,
34
+ lg: null,
35
+ xl: null,
36
+ full: null,
37
+ },
38
+ fonts: {
39
+ body: null,
40
+ heading: null,
41
+ mono: null,
42
+ },
43
+ fontSizes: {
44
+ xs: null,
45
+ sm: null,
46
+ md: null,
47
+ lg: null,
48
+ xl: null,
49
+ '2xl': null,
50
+ '3xl': null,
51
+ '4xl': null,
52
+ },
53
+ fontWeights: {
54
+ light: null,
55
+ normal: null,
56
+ medium: null,
57
+ semibold: null,
58
+ bold: null,
59
+ },
60
+ lineHeights: {
61
+ tight: null,
62
+ normal: null,
63
+ relaxed: null,
64
+ },
65
+ shadows: {
66
+ none: null,
67
+ sm: null,
68
+ md: null,
69
+ lg: null,
70
+ xl: null,
71
+ },
72
+ maxWidth: null,
73
+ section: {
74
+ paddingTop: null,
75
+ paddingBottom: null,
76
+ },
77
+ header: {
78
+ height: null,
79
+ },
80
+ footer: {
81
+ height: null,
82
+ },
83
+ });
@@ -0,0 +1,9 @@
1
+ import { createGlobalTheme } from '@vanilla-extract/css';
2
+ import { baseDarkTheme, baseLightTheme } from './baseThemeValues';
3
+ import { themeContract } from './contract.css';
4
+
5
+ // Create the default light theme at the root
6
+ createGlobalTheme('html', themeContract, baseLightTheme);
7
+
8
+ // Apply dark theme when data-theme="dark"
9
+ createGlobalTheme('html[data-theme="dark"]', themeContract, baseDarkTheme);