mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-20 08:52:59 +00:00
pwa adjustments
This commit is contained in:
10
src/lib/style/theme.server.js
Normal file
10
src/lib/style/theme.server.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import {argbFromHex, hexFromArgb, themeFromSourceColor} from "@material/material-color-utilities"
|
||||
|
||||
export const themeBase = "#6D81C7"
|
||||
export const themeSuccessBase = "#00ff00"
|
||||
|
||||
const theme = themeFromSourceColor(argbFromHex(themeBase), [
|
||||
{name: "success", value: argbFromHex(themeSuccessBase), blend: true},
|
||||
])
|
||||
|
||||
export const themeColor = hexFromArgb(theme.schemes.dark.background)
|
||||
Reference in New Issue
Block a user