-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
645b35a
commit 0a8c38d
Showing
14 changed files
with
732 additions
and
2,372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export const colors = { | ||
greenNeon: "#00FF6D", | ||
blueBright: "#0043FF", | ||
darkForestGreen: "#043D1B", | ||
deepNavyBlue: "#030D23", | ||
yellowBright: "#FFFF00", | ||
magentaBright: "#E600FF", | ||
darkOliveGreen: "#1E1D03", | ||
darkPurple: "#160119", | ||
redBright: "#FF003D", | ||
cyanBright: "#00FFCE", | ||
darkMaroon: "#2D000D", | ||
darkTeal: "#001E18", | ||
orangeBright: "#FF7300", | ||
purpleRoyal: "#5218EF", | ||
darkBrown: "#3F1B00", | ||
midnightBlue: "#070021", | ||
charcoal: "#0C0C0C", | ||
pinkNeon: "#FF36AE", | ||
plum: "#661047", | ||
pastelPink: "#FFE1F4", | ||
DeepBlue: "#0000A8", | ||
CelestialMist: "#ECECEC" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
import plugin from "tailwindcss/plugin"; | ||
import themeConfig from "./themeConfig.js"; | ||
|
||
// eslint-disable-next-line @typescript-eslint/no-require-imports | ||
const { createThemes } = require("tw-colors"); | ||
|
||
module.exports = { | ||
content: ["./src/**/*.{js,ts,jsx,tsx}"], | ||
theme: { | ||
fontFamily: { | ||
plex: ["IBM Plex Mono", "monospace"], | ||
clock: ["E1234", "sans-serif"] | ||
} | ||
}, | ||
plugins: [ | ||
createThemes(themeConfig), | ||
plugin(function ({ addComponents, theme }) { | ||
addComponents({ | ||
".paragraph-lg": { | ||
fontSize: "30px", | ||
fontWeight: "400", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "42px", | ||
fontStyle: "normal", | ||
userSelect: "none" | ||
}, | ||
".paragraph-light-lg": { | ||
fontSize: "28px", | ||
fontWeight: "200", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "42px", | ||
fontStyle: "normal", | ||
userSelect: "none" | ||
}, | ||
".paragraph-italic-lg": { | ||
fontSize: "30px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "42px", | ||
fontStyle: "italic", | ||
userSelect: "none" | ||
}, | ||
".paragraph-italic-light-lg": { | ||
fontSize: "30px", | ||
fontWeight: "300", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "42px", | ||
fontStyle: "italic", | ||
userSelect: "none" | ||
}, | ||
".title-lg": { | ||
fontSize: "46px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "62px", | ||
fontStyle: "semi-bold", | ||
userSelect: "none" | ||
}, | ||
|
||
// medium | ||
".paragraph-md": { | ||
fontSize: "24px", | ||
fontWeight: "400", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "36px", | ||
fontStyle: "normal", | ||
userSelect: "none" | ||
}, | ||
".paragraph-light-md": { | ||
fontSize: "22px", | ||
fontWeight: "200", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "36px", | ||
fontStyle: "normal", | ||
userSelect: "none" | ||
}, | ||
".paragraph-italic-md": { | ||
fontSize: "24px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "36px", | ||
fontStyle: "italic", | ||
userSelect: "none" | ||
}, | ||
".paragraph-italic-light-md": { | ||
fontSize: "24px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "36px", | ||
fontStyle: "italic", | ||
userSelect: "none" | ||
}, | ||
".title-md": { | ||
fontSize: "36px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "52px", | ||
fontStyle: "semi-bold", | ||
userSelect: "none" | ||
}, | ||
// mobile | ||
".paragraph-sm": { | ||
fontSize: "16px", | ||
fontWeight: "400", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "32px", | ||
fontStyle: "normal", | ||
userSelect: "none" | ||
}, | ||
".paragraph-light-sm": { | ||
fontSize: "14px", | ||
fontWeight: "200", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "32px", | ||
fontStyle: "normal", | ||
userSelect: "none" | ||
}, | ||
".paragraph-italic-sm": { | ||
fontSize: "16px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "32px", | ||
fontStyle: "italic", | ||
userSelect: "none" | ||
}, | ||
".paragraph-italic-light-sm": { | ||
fontSize: "16px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "32px", | ||
fontStyle: "italic", | ||
userSelect: "none" | ||
}, | ||
".title-sm": { | ||
fontSize: "28px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.plex"), | ||
lineHeight: "46px", | ||
fontStyle: "semi-bold", | ||
userSelect: "none" | ||
}, | ||
|
||
// window | ||
".window-content": { | ||
display: "flex", | ||
|
||
flexDirection: "column", | ||
justifyContent: "start", | ||
alignItems: "center", | ||
textAlign: "center", | ||
gap: "32px", | ||
overflow: "scroll", | ||
padding: "24px 4px", | ||
overflowY: "scroll" | ||
}, | ||
|
||
".pan-action": { | ||
touchAction: "pan-x" | ||
}, | ||
|
||
// Clock | ||
".clock-lg": { | ||
fontSize: "60px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.clock"), | ||
userSelect: "none" | ||
}, | ||
".clock-md": { | ||
fontSize: "48px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.clock"), | ||
userSelect: "none" | ||
}, | ||
".clock-sm": { | ||
fontSize: "36px", | ||
fontWeight: "500", | ||
fontFamily: theme("fontFamily.clock"), | ||
userSelect: "none" | ||
}, | ||
|
||
// Custom Button | ||
".custom-button-primary": { | ||
display: "flex", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
padding: "16px 24px", | ||
border: "2px solid", | ||
borderRadius: "8px", | ||
color: theme("colors.secondary"), | ||
borderColor: theme("colors.secondary"), | ||
backgroundColor: theme("colors.primary") | ||
}, | ||
".custom-button-secondary": { | ||
display: "flex", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
padding: "16px 24px", | ||
border: "2px solid", | ||
borderRadius: "8px", | ||
color: theme("colors.primary"), | ||
borderColor: theme("colors.primary"), | ||
backgroundColor: theme("colors.secondary") | ||
} | ||
}); | ||
}) | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
import { colors } from "./colors"; | ||
|
||
export const themeNames = [ | ||
"neon_green_forest", | ||
"bright_blue_navy", | ||
"sunny_magenta", | ||
"magenta_sunny", | ||
"olive_sunshine", | ||
"magenta_midnight", | ||
"red_cyan", | ||
"cyan_red", | ||
"maroon_red", | ||
"teal_cyan", | ||
"sunset_purple", | ||
"purple_sunset", | ||
"brown_sunset", | ||
"midnight_purple", | ||
"charcoal_neon_pink", | ||
"neon_pink_charcoal", | ||
"plum_neon_pink", | ||
"pastel_neon_pink", | ||
"light_gray_blue", | ||
"deep_blue_gray" | ||
]; | ||
|
||
export default { | ||
neon_green_forest: { | ||
primary: colors.greenNeon, | ||
secondary: colors.darkForestGreen | ||
}, | ||
bright_blue_navy: { | ||
primary: colors.blueBright, | ||
secondary: colors.deepNavyBlue | ||
}, | ||
sunny_magenta: { | ||
primary: colors.yellowBright, | ||
secondary: colors.magentaBright | ||
}, | ||
magenta_sunny: { | ||
primary: colors.magentaBright, | ||
secondary: colors.yellowBright | ||
}, | ||
olive_sunshine: { | ||
primary: colors.darkOliveGreen, | ||
secondary: colors.yellowBright | ||
}, | ||
magenta_midnight: { | ||
primary: colors.magentaBright, | ||
secondary: colors.darkPurple | ||
}, | ||
red_cyan: { | ||
primary: colors.redBright, | ||
secondary: colors.cyanBright | ||
}, | ||
cyan_red: { | ||
primary: colors.cyanBright, | ||
secondary: colors.redBright | ||
}, | ||
maroon_red: { | ||
primary: colors.darkMaroon, | ||
secondary: colors.redBright | ||
}, | ||
teal_cyan: { | ||
primary: colors.darkTeal, | ||
secondary: colors.cyanBright | ||
}, | ||
sunset_purple: { | ||
primary: colors.orangeBright, | ||
secondary: colors.purpleRoyal | ||
}, | ||
purple_sunset: { | ||
primary: colors.purpleRoyal, | ||
secondary: colors.orangeBright | ||
}, | ||
brown_sunset: { | ||
primary: colors.darkBrown, | ||
secondary: colors.orangeBright | ||
}, | ||
midnight_purple: { | ||
primary: colors.midnightBlue, | ||
secondary: colors.purpleRoyal | ||
}, | ||
charcoal_neon_pink: { | ||
primary: colors.charcoal, | ||
secondary: colors.pinkNeon | ||
}, | ||
neon_pink_charcoal: { | ||
primary: colors.pinkNeon, | ||
secondary: colors.charcoal | ||
}, | ||
plum_neon_pink: { | ||
primary: colors.plum, | ||
secondary: colors.pinkNeon | ||
}, | ||
pastel_neon_pink: { | ||
primary: colors.pastelPink, | ||
secondary: colors.pinkNeon | ||
}, | ||
light_gray_blue: { | ||
primary: colors.CelestialMist, | ||
secondary: colors.DeepBlue | ||
}, | ||
deep_blue_gray: { | ||
primary: colors.DeepBlue, | ||
secondary: colors.CelestialMist | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.