Skip to content

Commit

Permalink
fix: revert website emotion
Browse files Browse the repository at this point in the history
  • Loading branch information
demshy committed Sep 8, 2023
1 parent 18e998b commit 53bc5c6
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"homepage": "https://www.decapcms.org/",
"license": "MIT",
"dependencies": {
"@emotion/cache": "^11.10.5",
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.10.5",
"@emotion/cache": "^10.0.29",
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"dayjs": "^1.8.23",
"emotion-theming": "^10.0.27",
"gatsby": "4.25.7",
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/blog-post-template.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import Container from './container';
import Markdown from './markdown';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/button.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { css } from '@emotion/react';
import { css } from '@emotion/core';
import styled from '@emotion/styled';

import theme from '../theme';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/community.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import Markdownify from './markdownify';
import PageHero from './page-hero';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/container.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styled from '@emotion/styled';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import { mq } from '../utils';
import theme from '../theme';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/edit-link.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

function EditLink({ collection, filename }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/header.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from 'react';
import { Link, graphql, StaticQuery } from 'gatsby';
import styled from '@emotion/styled';
import { css } from '@emotion/react';
import { css } from '@emotion/core';
import GitHubButton from 'react-github-btn';

import Container from './container';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/notification.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import styled from '@emotion/styled';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import theme from '../theme';

Expand Down
2 changes: 1 addition & 1 deletion website/src/components/page-hero.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import Container from './container';
import theme from '../theme';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/release.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import moment from 'moment';
import styled from '@emotion/styled';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import Markdownify from '../components/markdownify';
import theme from '../theme';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/sidebar-layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { css } from '@emotion/react';
import { css } from '@emotion/core';
import styled from '@emotion/styled';

import Page from './page';
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/whats-new.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import Container from './container';
import Release from './release';
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/blog.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Helmet } from 'react-helmet';
import { Link, graphql } from 'gatsby';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import Layout from '../components/layout';
import Container from '../components/container';
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { graphql } from 'gatsby';
import styled from '@emotion/styled';
import { css } from '@emotion/react';
import { css } from '@emotion/core';

import Layout from '../components/layout';
import Markdownify from '../components/markdownify';
Expand Down

0 comments on commit 53bc5c6

Please sign in to comment.