Skip to content

Commit

Permalink
docs: update logo + add dark/light theme colors (#34)
Browse files Browse the repository at this point in the history
Co-authored-by: TAKAHASHI Shuuji <[email protected]>
  • Loading branch information
userquin and shuuji3 authored Dec 1, 2024
1 parent 7e11275 commit c5a08c1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
12 changes: 7 additions & 5 deletions docs/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 12 additions & 3 deletions docs/tokens.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
import { defineTheme } from 'pinceau'
import { getColors } from 'theme-colors'

const light = getColors('#007ca7')
const primary = Object
.entries(getColors('#0097fd'))
.reduce((acc, [key, value]) => {
acc[key] = {
initial: light[key]!,
dark: value,
}
return acc
}, {} as Record<string | number, { initial: string, dark: string }>)

export default defineTheme({
color: {
primary: getColors('#d98018'),
},
color: { primary },
})

0 comments on commit c5a08c1

Please sign in to comment.