Skip to content

Commit

Permalink
fix(theme-utils): default dark theme now has custom shadow tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
Powerplex committed Aug 23, 2024
1 parent 40f64b7 commit f736ebb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/utils/theme/src/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export const defaultTheme: Theme = {
md: '2px',
},
boxShadow: {
sm: '0 1px 2px 0 rgb(0 0 0 / 0.2)',
DEFAULT: '0 4px 8px 0 rgb(0 0 0 / 0.2)',
md: '0 6px 12px 0 rgb(0 0 0 / 0.2)',
lg: '0 8px 16px 0 rgb(0 0 0 / 0.2)',
xl: '0 12px 24px 0 rgb(0 0 0 / 0.2)',
sm: '0 1px 2px 0 rgba(108 129 157 / 0.50)',
DEFAULT: '0 4px 8px 0 rgba(108 129 157 / 0.50)',
md: '0 6px 12px 0 rgba(108 129 157 / 0.50)',
lg: '0 8px 16px 0 rgba(108 129 157 / 0.50)',
xl: '0 12px 24px 0 rgba(108 129 157 / 0.50)',
none: 'none',
},
colors: {
Expand Down
8 changes: 8 additions & 0 deletions packages/utils/theme/src/defaultThemeDark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ import { createTheme } from './createTheme'
import { type Theme } from './types'

export const defaultThemeDark: Theme = createTheme({
boxShadow: {
sm: '0 1px 2px 0 rgba(0 0 0 / 0.50)',
DEFAULT: '0 4px 8px 0 rgba(0 0 0 / 0.50)',
md: '0 6px 12px 0 rgba(0 0 0 / 0.50)',
lg: '0 8px 16px 0 rgba(0 0 0 / 0.50)',
xl: '0 12px 24px 0 rgba(0 0 0 / 0.50)',
none: 'none',
},
colors: {
// Basic
basic: '#C2E0FA',
Expand Down

0 comments on commit f736ebb

Please sign in to comment.