Skip to content

Commit

Permalink
config theme for npui
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahdi-Hazrati committed Oct 18, 2024
1 parent 4891124 commit 7159c25
Show file tree
Hide file tree
Showing 35 changed files with 9 additions and 30 deletions.
7 changes: 5 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ const config: StorybookConfig = {
name: "@storybook/nextjs",
options: {},
},

features: {
backgroundsStoryGlobals: true,
},
core: {
disableWhatsNewNotifications: true
}
},
staticDirs: ['../public', '../assets'],
};
export default config;
File renamed without changes.
6 changes: 3 additions & 3 deletions .storybook/npui_theme.js → .storybook/npui_theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export default create({

// Brand
brandTitle: "NPUI",
brandTarget: "_blank",
brandUrl: "https://nextproduction.dev/npui",
// brandImage: '@/public/npui_logo.png',
// brandTarget: "_blank",
// brandImage: './npui.png',
// brandUrl: "https://nextproduction.dev/npui",

// Colors
colorPrimary: '#3A10E5',
Expand Down
Binary file added assets/npui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added public/npui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 1 addition & 25 deletions tailwind.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
--background: #ffffff;
--foreground: #171717;
}

@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}

body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
}

@layer utilities {
.text-balance {
text-wrap: balance;
}
}
@tailwind utilities;

0 comments on commit 7159c25

Please sign in to comment.