Compare commits

...

7 Commits

Author SHA1 Message Date
Owen Wang a621c46baf
Merge 48736fbf3a into f3dd80f42b 2024-04-22 20:07:02 -04:00
TSVRN9 48736fbf3a Update AMOLED 2024-04-22 20:06:56 -04:00
TSVRN9 21d58c601c Merge branch 'dev' of https://github.com/TSVRN9/movie-web into dev 2024-04-22 09:26:22 -04:00
TSVRN9 d23cc46736 Bring back lightbar for AMOLED theme 2024-04-22 09:26:02 -04:00
TSVRN9 233c726042 Bring back lightbar for AMOLED theme 2024-04-22 08:16:54 -04:00
TSVRN9 c9418ee1bf Update AMOLED Theme 2024-04-22 08:07:10 -04:00
TSVRN9 ec38409665 Add AMOLED Theme 2024-04-20 13:12:56 -04:00
4 changed files with 160 additions and 2 deletions

View File

@ -477,7 +477,8 @@
"default": "Default",
"gray": "Gray",
"red": "Red",
"teal": "Teal"
"teal": "Teal",
"amoled": "AMOLED"
},
"title": "Appearance"
},

View File

@ -30,6 +30,11 @@ const availableThemes = [
selector: "theme-gray",
key: "settings.appearance.themes.gray",
},
{
id: "amoled",
selector: "theme-amoled",
key: "settings.appearance.themes.amoled",
},
];
function ThemePreview(props: {

View File

@ -2,10 +2,12 @@ import teal from "./list/teal";
import blue from "./list/blue";
import red from "./list/red";
import gray from "./list/gray";
import amoled from "./list/amoled";
export const allThemes = [
teal,
blue,
gray,
red
red,
amoled
]

150
themes/list/amoled.ts Normal file
View File

@ -0,0 +1,150 @@
import gray from "./gray";
import { createTheme } from "../types";
const tokens = {
black: "#000000",
white: "#FFFFFF",
semantic: {
silver: {
c100: "#DEDEDE",
c200: "#B6CAD7",
c300: "#8EA3B0",
c400: "#617A8A",
},
},
purple: {
c50: "#aaafff",
c100: "#8288fe",
c200: "#5a62eb",
c300: "#454cd4",
c400: "#333abe",
c500: "#292d86",
c600: "#1f2363",
c700: "#191b4a",
c800: "#111334",
c900: "#0b0d22"
},
shade: {
c50: "#7c7c7c",
c100: "#666666",
c200: "#4f4f4f",
c300: "#404040",
c400: "#343434",
c500: "#282828",
c600: "#202020",
c700: "#1a1a1a",
c800: "#151515",
c900: "#0e0e0e"
},
ash: {
c50: "#8d8d8d",
c100: "#6b6b6b",
c200: "#545454",
c300: "#3c3c3c",
c400: "#313131",
c500: "#2c2c2c",
c600: "#252525",
c700: "#1e1e1e",
c800: "#181818",
c900: "#111111"
},
blue: {
c50: "#ccccd6",
c100: "#a2a2a2",
c200: "#868686",
c300: "#646464",
c400: "#4e4e4e",
c500: "#383838",
c600: "#2e2e2e",
c700: "#272727",
c800: "#181818",
c900: "#0f0f0f"
}
}
export default createTheme({
name: "amoled",
extend: {
colors: {
pill: {
background: tokens.black,
backgroundHover: tokens.shade.c500,
highlight: tokens.blue.c200,
},
global: {
accentA: tokens.blue.c200,
accentB: tokens.blue.c300
},
background: {
main: tokens.black,
secondary: tokens.black,
secondaryHover: tokens.black,
accentA: tokens.black,
accentB: tokens.black,
},
lightBar: {
light: tokens.shade.c900,
},
search: {
background: tokens.shade.c800,
hoverBackground: tokens.shade.c900,
focused: tokens.shade.c700,
placeholder: tokens.shade.c200,
icon: tokens.shade.c500,
},
mediaCard: {
hoverBackground: tokens.shade.c900,
hoverShadow: tokens.black,
shadow: tokens.shade.c800,
},
dropdown: {
background: tokens.shade.c800,
altBackground: tokens.black,
hoverBackground: tokens.shade.c700,
contentBackground: tokens.black
},
settings: {
sidebar: {
activeLink: tokens.shade.c800
},
card: {
border: tokens.shade.c700,
background: tokens.shade.c700,
altBackground: tokens.shade.c700,
},
saveBar: {
background: tokens.black,
},
},
errors: {
card: tokens.black,
},
video: {
scraping: {
card: tokens.black,
loading: tokens.purple.c200,
noresult: tokens.ash.c100
},
context: {
background: tokens.black,
type: {
main: tokens.semantic.silver.c300,
}
}
},
},
}
});