@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.esm.js
CHANGED
|
@@ -259,7 +259,7 @@ const tco = {
|
|
|
259
259
|
textDark: "#fff",
|
|
260
260
|
borderDark: "#ddd",
|
|
261
261
|
background: "#ffffff",
|
|
262
|
-
backgroundDark: "#
|
|
262
|
+
backgroundDark: "#0f172a",
|
|
263
263
|
backgroundDark2: "#222",
|
|
264
264
|
backgroundDark3: "#111",
|
|
265
265
|
border: "#ccc",
|
|
@@ -524,7 +524,7 @@ const Footer = ({ left, center, right, sections = [], isDarkMode = false, height
|
|
|
524
524
|
}) }))] }));
|
|
525
525
|
};
|
|
526
526
|
|
|
527
|
-
var css_248z$5 = "
|
|
527
|
+
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}";
|
|
528
528
|
styleInject(css_248z$5);
|
|
529
529
|
|
|
530
530
|
const Layout = ({ header, sidebar, footer, children, withSidebar = true, withHeader = true, withFooter = true, sidebarWidth = 260, isDarkMode = false }) => {
|