Skip to content

Commit 928ae11

Browse files
committed
refactor: Move style-related types again
1 parent 3ecbfd7 commit 928ae11

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

apps/starlight/src/content/docs/browser-utils/styles-and-themes.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: 'Styles and Themes'
33
description: '@spuxx/browser-utils provides a set of CSS styles and themes primarily intended for my personal use.'
44
---
55

6-
import TypeDoc from '@docs/browser-utils/styles.md';
6+
import TypeDoc from '@docs/browser-utils/types/styles.md';
77

88
The package provides a set of CSS styles and themes primarily intended for my personal use. You are free to use it in your own projects, but I will not be accepting pull requests or issues requesting changes to this part of the library.
99

packages/browser-utils/src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
export * from './services/config';
66
export * from './services/local-storage';
77
export * from './services/user-agent';
8-
export * from './styles';
8+
export * from './types/styles';

packages/browser-utils/src/styles/index.ts packages/browser-utils/src/types/styles/index.ts

-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export const BaseColor = {
1515

1616
/**
1717
* The base color of an element.
18-
* @internal
1918
*/
2019
export type BaseColor = (typeof BaseColor)[keyof typeof BaseColor];
2120

@@ -30,7 +29,6 @@ export const ContentColor = {
3029

3130
/**
3231
* The content color of an element.
33-
* @internal
3432
*/
3533
export type ContentColor = (typeof ContentColor)[keyof typeof ContentColor];
3634

@@ -46,6 +44,5 @@ export const ModalSize = {
4644
};
4745
/**
4846
* The size of a modal dialog.
49-
* @internal
5047
*/
5148
export type ModalSize = (typeof ModalSize)[keyof typeof ModalSize];

0 commit comments

Comments
 (0)