1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

make AMOLED styling better

This commit is contained in:
kirbo 2024-06-06 11:22:08 -07:00
parent 6bbaf36295
commit 1dc8439ab6
No known key found for this signature in database

View file

@ -1,31 +1,39 @@
import { createTheme } from "../types"; import { createTheme } from "../types";
const tokens = { const tokens = {
black: "#000000",
white: "#FFFFFF",
semantic: {
silver: {
c100: "#DEDEDE",
c200: "#B6CAD7",
c300: "#8EA3B0",
c400: "#617A8A",
},
},
purple: { purple: {
c50: "#aaafff", c50: "#aaafff",
c100: "#8288fe", c100: "#8288fe",
c200: "#5a62eb", c200: "#5a62eb",
c300: "#454cd4", c300: "#454cd4",
c400: "#333abe", c400: "#333abe",
c500: "#000000", c500: "#292d86",
c600: "#1f2363", c600: "#1f2363",
c700: "#191b4a", c700: "#191b4a",
c800: "#111334", c800: "#111334",
c900: "#0b0d22", c900: "#0b0d22"
c1000: "#292d86"
}, },
shade: { shade: {
c25: "#9c9c9c",
c50: "#7c7c7c", c50: "#7c7c7c",
c100: "#666666", c100: "#666666",
c200: "#333333", c200: "#4f4f4f",
c300: "#000000", c300: "#404040",
c400: "#0d0d0d", c400: "#343434",
c500: "#000000", c500: "#282828",
c600: "#0d0d0d", c600: "#202020",
c700: "#0d0d0d", c700: "#1a1a1a",
c800: "#151515", c800: "#151515",
c900: "#000000" c900: "#0e0e0e"
}, },
ash: { ash: {
c50: "#8d8d8d", c50: "#8d8d8d",
@ -42,16 +50,16 @@ const tokens = {
blue: { blue: {
c50: "#ccccd6", c50: "#ccccd6",
c100: "#a2a2a2", c100: "#a2a2a2",
c200: "#1e1e1e", c200: "#868686",
c300: "#646464", c300: "#646464",
c400: "#141414", c400: "#4e4e4e",
c500: "#000000", c500: "#383838",
c600: "#2e2e2e", c600: "#2e2e2e",
c700: "#272727", c700: "#272727",
c800: "#181818", c800: "#181818",
c900: "#0f0f0f" c900: "#0f0f0f"
} }
}; }
export default createTheme({ export default createTheme({
name: "amoled", name: "amoled",
@ -63,10 +71,9 @@ export default createTheme({
}, },
pill: { pill: {
background: tokens.shade.c700, background: tokens.black,
backgroundHover: tokens.shade.c800, backgroundHover: tokens.shade.c500,
highlight: tokens.blue.c200, highlight: tokens.blue.c200,
activeBackground: tokens.shade.c700, activeBackground: tokens.shade.c700,
}, },
@ -76,27 +83,26 @@ export default createTheme({
}, },
lightBar: { lightBar: {
light: tokens.blue.c400 light: tokens.shade.c900,
}, },
buttons: { buttons: {
toggle: tokens.purple.c300, toggle: tokens.purple.c300,
toggleDisabled: tokens.ash.c500, toggleDisabled: tokens.ash.c500,
secondary: tokens.ash.c700, secondary: tokens.ash.c700,
secondaryHover: tokens.ash.c700, secondaryHover: tokens.ash.c700,
purple: tokens.purple.c600, purple: tokens.purple.c600,
purpleHover: tokens.purple.c1000, purpleHover: tokens.purple.c400,
cancel: tokens.shade.c700, cancel: tokens.shade.c700,
cancelHover: tokens.shade.c800 cancelHover: tokens.shade.c800
}, },
background: { background: {
main: tokens.shade.c900, main: tokens.black,
secondary: tokens.shade.c700, secondary: tokens.black,
secondaryHover: tokens.shade.c400, secondaryHover: tokens.black,
accentA: tokens.purple.c500, accentA: tokens.black,
accentB: tokens.blue.c500 accentB: tokens.black
}, },
modal: { modal: {
@ -114,18 +120,18 @@ export default createTheme({
}, },
search: { search: {
background: tokens.shade.c500, background: tokens.shade.c800,
hoverBackground: tokens.shade.c600, hoverBackground: tokens.shade.c900,
focused: tokens.shade.c400, focused: tokens.shade.c700,
placeholder: tokens.shade.c100, placeholder: tokens.shade.c200,
icon: tokens.shade.c100 icon: tokens.shade.c500
}, },
mediaCard: { mediaCard: {
hoverBackground: tokens.shade.c600, hoverBackground: tokens.shade.c900,
hoverAccent: tokens.shade.c100, hoverAccent: tokens.shade.c100,
hoverShadow: tokens.shade.c900, hoverShadow: tokens.black,
shadow: tokens.shade.c700, shadow: tokens.shade.c800,
barColor: tokens.ash.c800, barColor: tokens.ash.c800,
barFillColor: tokens.ash.c600, barFillColor: tokens.ash.c600,
badge: tokens.shade.c700, badge: tokens.shade.c700,
@ -138,13 +144,13 @@ export default createTheme({
}, },
dropdown: { dropdown: {
background: tokens.shade.c600, background: tokens.shade.c800,
altBackground: tokens.shade.c600, altBackground: tokens.black,
hoverBackground: tokens.shade.c600, hoverBackground: tokens.shade.c700,
text: tokens.shade.c50, text: tokens.shade.c50,
secondary: tokens.shade.c100, secondary: tokens.shade.c100,
border: tokens.shade.c400, border: tokens.shade.c400,
contentBackground: tokens.shade.c500 contentBackground: tokens.black
}, },
authentication: { authentication: {
@ -158,7 +164,7 @@ export default createTheme({
settings: { settings: {
sidebar: { sidebar: {
activeLink: tokens.shade.c600, activeLink: tokens.shade.c800,
badge: tokens.shade.c900, badge: tokens.shade.c900,
type: { type: {
@ -171,13 +177,13 @@ export default createTheme({
}, },
card: { card: {
border: tokens.shade.c400, border: tokens.shade.c700,
background: tokens.shade.c400, background: tokens.shade.c700,
altBackground: tokens.shade.c400 altBackground: tokens.shade.c700
}, },
saveBar: { saveBar: {
background: tokens.shade.c600 background: tokens.black
} }
}, },
@ -186,7 +192,7 @@ export default createTheme({
}, },
errors: { errors: {
card: tokens.shade.c700, card: tokens.black,
border: tokens.ash.c500, border: tokens.ash.c500,
type: { type: {
@ -220,7 +226,7 @@ export default createTheme({
}, },
scraping: { scraping: {
card: tokens.shade.c700, card: tokens.black,
loading: tokens.purple.c200, loading: tokens.purple.c200,
noresult: tokens.ash.c100 noresult: tokens.ash.c100
}, },
@ -230,7 +236,7 @@ export default createTheme({
}, },
context: { context: {
background: tokens.shade.c600, background: tokens.black,
light: tokens.shade.c50, light: tokens.shade.c50,
border: tokens.ash.c600, border: tokens.ash.c600,
hoverColor: tokens.ash.c600, hoverColor: tokens.ash.c600,
@ -252,7 +258,8 @@ export default createTheme({
type: { type: {
secondary: tokens.ash.c200, secondary: tokens.ash.c200,
accent: tokens.purple.c200 accent: tokens.purple.c200,
main: tokens.semantic.silver.c300
} }
} }
} }