@houssemdi2000/design-system 1.3.1 → 1.3.2
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/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -261,7 +261,7 @@ const tco = {
|
|
|
261
261
|
textDark: "#fff",
|
|
262
262
|
borderDark: "#ddd",
|
|
263
263
|
background: "#ffffff",
|
|
264
|
-
backgroundDark: "#
|
|
264
|
+
backgroundDark: "#0f172a",
|
|
265
265
|
backgroundDark2: "#222",
|
|
266
266
|
backgroundDark3: "#111",
|
|
267
267
|
border: "#ccc",
|
|
@@ -526,7 +526,7 @@ const Footer = ({ left, center, right, sections = [], isDarkMode = false, height
|
|
|
526
526
|
}) }))] }));
|
|
527
527
|
};
|
|
528
528
|
|
|
529
|
-
var css_248z$5 = "
|
|
529
|
+
var css_248z$5 = ".layout{display:flex;flex-direction:column;font-family:sans-serif;min-height:100vh}.layout.dark{background:#0f172a;color:#fff}.layout-main{display:flex;flex:1;overflow:hidden}.layout-content{flex:1;overflow-y:auto;padding:16px}";
|
|
530
530
|
styleInject(css_248z$5);
|
|
531
531
|
|
|
532
532
|
const Layout = ({ header, sidebar, footer, children, withSidebar = true, withHeader = true, withFooter = true, sidebarWidth = 260, isDarkMode = false }) => {
|