@youngonesworks/ui 0.1.26 → 0.1.27

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.
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Global CSS Styles
3
+ * Main stylesheet for the YoungOnes B2B Dashboard
4
+ */
5
+
6
+ @import "tailwindcss";
7
+
8
+ @import "./styles/fonts.css";
9
+ @import "./styles/variables.css";
10
+ @import "./styles/utilities.css";
11
+
12
+ @keyframes spin {
13
+ from {
14
+ transform: rotate(0deg);
15
+ }
16
+ to {
17
+ transform: rotate(360deg);
18
+ }
19
+ }
20
+
21
+ .tiptap {
22
+ :first-child {
23
+ margin-top: 0;
24
+ }
25
+
26
+ /* List styles */
27
+ ul,
28
+ ol {
29
+ padding: 0 1rem;
30
+ margin: 1.25rem 1rem 1.25rem 0.4rem;
31
+
32
+ li p {
33
+ margin-top: 0.25em;
34
+ margin-bottom: 0.25em;
35
+ }
36
+ }
37
+ }
38
+
39
+ /* Change this path to be relative to where this CSS file ends up after packaging this library. */
40
+ @source "../dist"
package/dist/index.cjs CHANGED
@@ -140301,15 +140301,11 @@ const CSS_VARIABLE_KEYS = [
140301
140301
  "--color-warning-dark"
140302
140302
  ];
140303
140303
  const getCSSVariable = (variable) => {
140304
- if (typeof window !== "undefined") {
140305
- return getComputedStyle(document.documentElement).getPropertyValue(variable).trim();
140306
- }
140304
+ if (typeof window !== "undefined") return getComputedStyle(document.documentElement).getPropertyValue(variable).trim();
140307
140305
  return "";
140308
140306
  };
140309
140307
  const setCSSVariable = (variable, value) => {
140310
- if (typeof window !== "undefined") {
140311
- document.documentElement.style.setProperty(variable, value);
140312
- }
140308
+ if (typeof window !== "undefined") document.documentElement.style.setProperty(variable, value);
140313
140309
  };
140314
140310
 
140315
140311
  //#endregion