Skip to content

Commit

Permalink
update the codebase to handle the hydrogen channel
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkevingreen committed Aug 16, 2023
1 parent a5ab69c commit 15b5f95
Show file tree
Hide file tree
Showing 4 changed files with 617 additions and 258 deletions.
4 changes: 2 additions & 2 deletions app/root.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import {
} from '@remix-run/react';

import { ExternalScripts } from 'remix-utils'

import { useEffect } from 'react';
import {defer} from '@shopify/remix-oxygen';
import {CART_QUERY} from '~/queries/cart';

import { Seo } from '@shopify/hydrogen'
import { ShopifyProvider } from '@shopify/hydrogen-react'

// import { useAnalyticsFromLoaders, useAnalyticsFromActions } from './utils'
import { useAnalyticsFromLoaders, useAnalyticsFromActions } from './lib/utils'

import styles from './styles/app.css';
import favicon from '../public/favicon.svg';
Expand Down
9 changes: 6 additions & 3 deletions app/styles/components/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@
position: relative;
top: 2px;
}
@media (color-index: 48) {

@media (color-index: 48) {
.dark\:prose-invert {
--tw-prose-body: var(--tw-prose-invert-body);
--tw-prose-headings: var(--tw-prose-invert-headings);
Expand All @@ -425,7 +426,8 @@
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
}
}
@media (color: 48842621) {

@media (color: 48842621) {
.dark\:prose-invert {
--tw-prose-body: var(--tw-prose-invert-body);
--tw-prose-headings: var(--tw-prose-invert-headings);
Expand All @@ -445,7 +447,8 @@
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
}
}
@media (prefers-color-scheme: dark) {

@media (prefers-color-scheme: dark) {
.dark\:prose-invert {
--tw-prose-body: var(--tw-prose-invert-body);
--tw-prose-headings: var(--tw-prose-invert-headings);
Expand Down
Loading

0 comments on commit 15b5f95

Please sign in to comment.