Skip to content

Commit

Permalink
chore(release): correct merge of PR #481 and reverts recent "correcti…
Browse files Browse the repository at this point in the history
…ons" when reapplying #472
  • Loading branch information
michael-iden committed Mar 14, 2024
1 parent 29d9acc commit a64691f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/pharos-site/initComponents.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const pharos = typeof window !== `undefined` ? require('@ithaka/pharos') : null;
const pharos = typeof window !== `undefined` ? require('@ithaka/pharos/lib/index') : null;
const registerComponents =
typeof window !== `undefined` ? require('@ithaka/pharos/lib/utils/registerComponents') : null;

Expand Down
3 changes: 0 additions & 3 deletions packages/pharos-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,5 @@
"type": "git",
"url": "git+https://github.com/ithaka/pharos.git",
"directory": "site"
},
"exports": {
"./lib/utils/scss/mixins.scss": "./lib/utils/scss/mixins.scss"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { FC, CSSProperties } from 'react';
import { colorBox } from './ColorCombos.module.css';
import tokens from '@ithaka/pharos/lib/styles/tokens';
import tokens from '@ithaka/pharos/lib/styles/tokens.js';
import CrossOut from '../CrossOut';
import { toTitleCase } from '../../../utils/textConvert';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react';
import type { FC, ReactElement } from 'react';
import tokens from '@ithaka/pharos/lib/styles/tokens';
import tokens from '@ithaka/pharos/lib/styles/tokens.js';
import { colorGradient, gradientLabel, gradientContainer } from './ColorGradients.module.css';

interface Gradient {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react';
import type { FC, ReactElement, CSSProperties } from 'react';
import tokens from '@ithaka/pharos/lib/styles/tokens';
import tokens from '@ithaka/pharos/lib/styles/tokens.js';
import {
figure,
colorSwatch,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { FC, CSSProperties } from 'react';
import { container, container_text } from './ColorTextSquares.module.css';
import tokens from '@ithaka/pharos/lib/styles/tokens';
import tokens from '@ithaka/pharos/lib/styles/tokens.js';
import { toTitleCase } from '../../../utils/textConvert';

interface ColorTextSquaresProps {
Expand Down

0 comments on commit a64691f

Please sign in to comment.