index
int64
0
0
repo_id
stringlengths
16
181
file_path
stringlengths
28
270
content
stringlengths
1
11.6M
__index_level_0__
int64
0
10k
0
petrpan-code/system-ui/theme-ui/packages/gatsby-plugin-theme-ui
petrpan-code/system-ui/theme-ui/packages/gatsby-plugin-theme-ui/utils/preset-dictionary.js
module.exports = { dracula: '@theme-ui/prism/presets/dracula.json', 'duotone-dark': '@theme-ui/prism/presets/duotone-dark.json', 'duotone-light': '@theme-ui/prism/presets/duotone-light.json', github: '@theme-ui/prism/presets/github.json', 'night-owl-light': '@theme-ui/prism/presets/night-owl-light.json', 'n...
7,900
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/CHANGELOG.md
# v0.12.0 (Thu Oct 28 2021) :tada: This release contains work from a new contributor! :tada: Thank you, William Pei ([@draekien](https://github.com/draekien)), for all your work! #### 🚀 Enhancement #### 🐛 Bug Fix - Merge remote-tracking branch 'upstream/develop' into fix/color-scheme-media-query-api-update [#98...
7,901
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/README.md
# gatsby-theme-style-guide Automatically generate a style guide page based on your Theme UI configuration, built with [`@theme-ui/style-guide`](https://theme-ui.com/packages/style-guide). ```sh npm i gatsby-theme-style-guide ``` ```js // gatsby-config.js module.exports = { plugins: ['gatsby-plugin-theme-ui', 'gats...
7,902
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/gatsby-config.js
module.exports = {}
7,903
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/gatsby-node.js
exports.createPages = ({ actions }, opts = {}) => { const { basePath = '/style-guide' } = opts actions.createPage({ path: basePath, component: require.resolve('./src/template.js'), context: {}, }) }
7,904
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/index.js
// boop
7,905
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/package.json
{ "name": "gatsby-theme-style-guide", "version": "0.16.2-develop.0", "main": "dist/gatsby-theme-style-guide.cjs.js", "license": "MIT", "repository": "system-ui/theme-ui", "dependencies": { "@theme-ui/mdx": "workspace:^", "@theme-ui/style-guide": "workspace:^", "theme-ui": "workspace:^" }, "p...
7,906
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/src/colors.js
import React from 'react' import { Themed } from '@theme-ui/mdx' import { ColorPalette } from '@theme-ui/style-guide' export default function ColorsDemo() { return ( <section id="colors"> <Themed.h2>Colors</Themed.h2> <ColorPalette omit={[]} /> </section> ) }
7,907
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/src/header.js
import React from 'react' import { Themed } from '@theme-ui/mdx' export default function Header() { return ( <header> <Themed.h1>Style Guide</Themed.h1> </header> ) }
7,908
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/src/index.js
// boop
7,909
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/src/layout.js
import React from 'react' export default (props) => <>{props.children}</>
7,910
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/src/template.js
import React from 'react' import Layout from './layout' import Header from './header' import Typography from './typography' import Colors from './colors' export default function Template() { return ( <Layout> <Header /> <Typography /> <Colors /> </Layout> ) }
7,911
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-style-guide/src/typography.js
// @ts-check import React from 'react' import { Flex, useThemeUI } from 'theme-ui' import { Themed } from '@theme-ui/mdx' import { TypeScale, TypeStyle } from '@theme-ui/style-guide' const Row = (props) => ( <Flex {...props} sx={{ alignItems: 'baseline', flexWrap: 'wrap', mx: -3, '& >...
7,912
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout/CHANGELOG.md
# v0.12.0 (Thu Oct 28 2021) :tada: This release contains work from a new contributor! :tada: Thank you, William Pei ([@draekien](https://github.com/draekien)), for all your work! #### 🚀 Enhancement #### 🐛 Bug Fix - Merge remote-tracking branch 'upstream/develop' into fix/color-scheme-media-query-api-update [#98...
7,913
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout/README.md
# gatsby-theme-ui-layout Gatsby theme for adding shadowable layouts to multiple Gatsby themes for composition. ```sh npm i gatsby-theme-ui-layout ``` In your theme, import and use the Layout component, which does not include any default layout. ```jsx // example page template import { Layout } from 'gatsby-theme-ui...
7,914
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout/index.js
export * from './src'
7,915
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout/package.json
{ "name": "gatsby-theme-ui-layout", "version": "0.16.2-develop.0", "main": "dist/gatsby-theme-ui-layout.cjs.js", "repository": "system-ui/theme-ui", "peerDependencies": { "gatsby": "^4 || ^5", "react": ">=18", "react-dom": ">=18" }, "devDependencies": { "babel-eslint": "^10", "gatsby":...
7,916
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout/src/index.js
export { default as Layout } from './layout'
7,917
0
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout
petrpan-code/system-ui/theme-ui/packages/gatsby-theme-ui-layout/src/layout.js
export default (props) => props.children
7,918
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/global/README.md
# @theme-ui/global Wrapper around the Emotion `Global` component, made Theme UI theme-aware. **Note:** _This package is included in the main `theme-ui` package and a separate installation is not required unless you’re using `@theme-ui/core`._ ```sh npm i @theme-ui/global @theme-ui/core @emotion/react ``` ```jsx imp...
7,919
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/global/package.json
{ "name": "@theme-ui/global", "version": "0.16.2-develop.0", "repository": "system-ui/theme-ui", "main": "dist/theme-ui-global.cjs.js", "module": "dist/theme-ui-global.esm.js", "source": "src/index.tsx", "author": "Lachlan Campbell", "license": "MIT", "sideEffects": false, "publishConfig": { "ac...
7,920
0
petrpan-code/system-ui/theme-ui/packages/global
petrpan-code/system-ui/theme-ui/packages/global/src/index.tsx
import { jsx, type ThemeUIStyleObject } from '@theme-ui/core' import { css, type Theme } from '@theme-ui/css' import { Global as EmotionGlobal } from '@emotion/react' export interface GlobalProps { styles: ThemeUIStyleObject } const Global = ({ styles }: GlobalProps): JSX.Element => jsx(EmotionGlobal, { styles...
7,921
0
petrpan-code/system-ui/theme-ui/packages/global
petrpan-code/system-ui/theme-ui/packages/global/test/index.tsx
/** * @jest-environment jsdom */ import { cleanup } from '@testing-library/react' import { render } from '@theme-ui/test-utils' import { matchers } from '@emotion/jest' import { ThemeProvider } from '@theme-ui/core' import Global from '../src' expect.extend(matchers) beforeEach(() => { document.head.innerHTML =...
7,922
0
petrpan-code/system-ui/theme-ui/packages/global/test
petrpan-code/system-ui/theme-ui/packages/global/test/__snapshots__/index.tsx.snap
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`renders global and component styles 1`] = ` .emotion-0 { color: pink; } <html> <head> <style data-emotion="css" data-s="" > .css-2cx43c{} </style> <style data-emotion="css" data-s="" > .css-2c...
7,923
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/match-media/CHANGELOG.md
# v0.14.3 (Thu Apr 21 2022) #### 🐛 Bug Fix - Support full media queries in `theme.breakpoints` in @theme-ui/match-media hooks [#2199](https://github.com/system-ui/theme-ui/pull/2199) ([@hasparus](https://github.com/hasparus)) - fix(match-media): handle full media queries in breakpoints in useResponsiveValue and useB...
7,924
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/match-media/README.md
# @theme-ui/match-media React hooks for referencing theme-ui breakpoints. ```sh npm i @theme-ui/match-media ``` ## Usage This package provides two React hooks `useResponsiveValue` and `useBreakpointIndex` for referencing responsive values outside of the `sx` prop. Note that this is a client-side-only, JavaScript so...
7,925
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/match-media/package.json
{ "name": "@theme-ui/match-media", "version": "0.16.2-develop.0", "description": "React hooks for theme-ui breakpoints", "source": "src/index.ts", "main": "dist/theme-ui-match-media.cjs.js", "module": "dist/theme-ui-match-media.esm.js", "author": "Brent Jackson <jxnblk@gmail.com>", "license": "MIT", "...
7,926
0
petrpan-code/system-ui/theme-ui/packages/match-media
petrpan-code/system-ui/theme-ui/packages/match-media/src/index.ts
import { useState, useEffect } from 'react' import { useThemeUI } from '@theme-ui/core' import { Theme, defaultBreakpoints } from '@theme-ui/css' type defaultOptions = { defaultIndex?: number } export const useBreakpointIndex = (options: defaultOptions = {}) => { const context = useThemeUI() const { defaultInde...
7,927
0
petrpan-code/system-ui/theme-ui/packages/match-media
petrpan-code/system-ui/theme-ui/packages/match-media/test/index.tsx
/** * @jest-environment jsdom */ import { Theme } from 'theme-ui' import { cleanup, act, renderHook } from '@theme-ui/test-utils' import { useResponsiveValue, useBreakpointIndex } from '../src' const mockMediaQueries = (matches: string[]) => jest.fn().mockImplementation((query) => ({ matches: matches.includes...
7,928
0
petrpan-code/system-ui/theme-ui/packages/match-media
petrpan-code/system-ui/theme-ui/packages/match-media/test/ssr.tsx
/** * @jest-environment node */ import { ThemeUIProvider } from 'theme-ui' import { Fragment } from 'react' import ReactDOMServer from 'react-dom/server' import { useResponsiveValue, useBreakpointIndex } from '../src' test("falls back to user's default index", () => { const Component = () => { const value = us...
7,929
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/mdx/CHANGELOG.md
# v0.13.0 (Mon Dec 27 2021) ### Release Notes #### Move Emotion and MDX packages to peerDeps ([#1867](https://github.com/system-ui/theme-ui/pull/1867)) **BREAKING CHANGE:** `@emotion/react` and `@mdx-js/react` were moved to peerDependencies of `theme-ui`, `@theme-ui/mdx` and `@theme-ui/sidenav` and must be installe...
7,930
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/mdx/README.md
# @theme-ui/mdx [MDX](https://mdxjs.com) utilities for [Theme UI](https://theme-ui.com) ```sh npm i @theme-ui/mdx ``` ## API ### `useThemedStylesWithMdx` Wraps an object of components provided to `MDXProvider` with styles from `theme.styles`. **Example usage:** ```tsx import { MDXProvider, useMDXComponents, ...
7,931
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/mdx/package.json
{ "name": "@theme-ui/mdx", "version": "0.16.2-develop.0", "source": "src/index.ts", "main": "dist/theme-ui-mdx.cjs.js", "module": "dist/theme-ui-mdx.esm.js", "sideEffects": false, "scripts": {}, "dependencies": { "@theme-ui/core": "workspace:^", "@theme-ui/css": "workspace:^" }, "peerDepende...
7,932
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/src/Themed.tsx
import { jsx, SxProp } from '@theme-ui/core' import { css, get, Theme } from '@theme-ui/css' import { ComponentType, ReactNode, DetailedHTMLProps, ComponentProps, } from 'react' // mdx components const tags = [ 'p', 'b', 'i', 'a', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'img', 'pre', 'cod...
7,933
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/src/index.tsx
export type { MDXProviderComponents, MdxAliases, MdxProviderProps, ThemedComponent, MdxAliasesKeys, ThemeUIMdxIntrinsics, ThemedComponentsDict, ThemedProps, } from './Themed' export { Themed, defaultMdxComponents, themed } from './Themed' export { useThemedStylesWithMdx } from './useThemeStylesWithMdx'
7,934
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/src/useThemeStylesWithMdx.tsx
import { useMemo } from 'react' import type { MDXComponents } from 'mdx/types' import { defaultMdxComponents } from './Themed' import { wrapComponentsWithThemeStyles } from './wrapComponentsWithThemeStyles' /** * @example * import { MDXProvider, useMDXComponents } from '@mdx-js/react' * * function MyMdxProvider({ ...
7,935
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/src/wrapComponentsWithThemeStyles.tsx
import { jsx } from '@theme-ui/core' import { ComponentType } from 'react' import { MDXComponents } from 'mdx/types' import { defaultMdxComponents, ThemedComponent, themed } from './Themed' function wrapComponent( value: ComponentType<any> | string, key: string ): ThemedComponent<string> { const component: Theme...
7,936
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/test/Themed.tsx
/** * @jsxImportSource react * @jest-environment jsdom */ import { render } from '@theme-ui/test-utils' import { ThemeProvider } from '@theme-ui/core' import { matchers } from '@emotion/jest' import { Themed } from '../src' expect.extend(matchers) describe(Themed.div.name, () => { it('accepts .sx prop', async (...
7,937
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/test/defaultMdxComponents-mdx-v2.mjs
/** * @jest-environment jsdom * @jsxImportSource react */ // @ts-check import { jest } from '@jest/globals' import { useMDXComponents, MDXProvider } from '@mdx-js/react' import { render } from '@theme-ui/test-utils' import { matchers } from '@emotion/jest' import { defaultMdxComponents, useThemedStylesWithMdx } fr...
7,938
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/test/defaultMdxComponents.tsx
import { defaultMdxComponents } from '../src' describe('defaultMdxComponents', () => { it('has keys matching inline snapshot', () => { expect(Object.keys(defaultMdxComponents)).toMatchInlineSnapshot(` [ "p", "b", "i", "a", "h1", "h2", "h3", "h...
7,939
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/test/index.tsx
/** * @jest-environment jsdom */ import { themed } from '../src' describe(themed.name, () => { it('extracts styles from the theme', () => { expect( themed('footer')({ styles: { footer: { background: 'skyblue' } } }) ).toStrictEqual({ background: 'skyblue' }) }) })
7,940
0
petrpan-code/system-ui/theme-ui/packages/mdx
petrpan-code/system-ui/theme-ui/packages/mdx/test/useThemedStylesWithMdx-mdx-v2.mjs
/** * @jest-environment jsdom * @jsxImportSource react * * @file integration tests with @mdx-js/mdx@^2 * * This is an .mjs file, because mdx-js/mdx is an ESM-only module. */ // @ts-check /* eslint-disable react/jsx-pascal-case */ /* eslint-disable import/no-extraneous-dependencies */ import { render } from '@te...
7,941
0
petrpan-code/system-ui/theme-ui/packages/mdx/test
petrpan-code/system-ui/theme-ui/packages/mdx/test/__test-utils__/evalMdx.mjs
// @ts-check // @ts-expect-error you're not supposed to import those usually import { jsx, jsxs, Fragment } from 'react/jsx-runtime' import * as mdx from '@mdx-js/mdx' import { useMDXComponents } from '@mdx-js/react' import remarkGfm from 'remark-gfm-3' /** * * @param {string} mdxString * @returns {Promise<import(...
7,942
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-base/CHANGELOG.md
# v0.8.3 (Wed May 05 2021) #### ⚠️ Pushed to `stable` - Merge branch 'stable' into develop ([@hasparus](https://github.com/hasparus)) #### Authors: 1 - Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) --- # v0.8.0 (Wed May 05 2021) #### 🐛 Bug Fix - Merge branch 'config' into config-2 [#1421]...
7,943
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-base/README.md
# [@theme-ui/preset-base](https://theme-ui.com/presets/base) Theme UI includes `@theme-ui/preset-base` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-base ``` ```jsx // example theme import theme from '@theme-ui/preset-base' export default { ...theme,...
7,944
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-base/package.json
{ "name": "@theme-ui/preset-base", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-base.cjs.js", "module": "dist/theme-ui-preset-base.esm.js", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", "scripts": {}, "source": "src/index.ts", "peerDependencies": { ...
7,945
0
petrpan-code/system-ui/theme-ui/packages/preset-base
petrpan-code/system-ui/theme-ui/packages/preset-base/src/index.ts
import { makeTheme } from '@theme-ui/css/utils' const heading = { color: 'text', fontFamily: 'heading', lineHeight: 'heading', fontWeight: 'heading', } export const base = makeTheme({ space: [0, 4, 8, 16, 32, 64, 128, 256, 512], fonts: { body: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",...
7,946
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-bootstrap/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,947
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-bootstrap/README.md
# [@theme-ui/preset-bootstrap](https://theme-ui.com/presets/bootstrap) Theme UI includes `@theme-ui/preset-bootstrap` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-bootstrap ``` ```jsx // example theme import theme from '@theme-ui/preset-bootstrap' exp...
7,948
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-bootstrap/package.json
{ "name": "@theme-ui/preset-bootstrap", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-bootstrap.cjs.js", "module": "dist/theme-ui-preset-bootstrap.esm.js", "types": "dist/theme-ui-preset-bootstrap.cjs.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "reposit...
7,949
0
petrpan-code/system-ui/theme-ui/packages/preset-bootstrap
petrpan-code/system-ui/theme-ui/packages/preset-bootstrap/src/index.ts
import { makeStyles, makeTheme } from '@theme-ui/css/utils' export const baseColors = { white: '#fff', black: '#000', gray: [ '#fff', // 0 index '#f8f9fa', '#e9ecef', '#dee2e6', '#ced4da', '#adb5bd', '#6c757d', '#495057', '#343a40', '#212529', ], blue: '#007bff', ind...
7,950
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-bulma/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,951
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-bulma/README.md
# [@theme-ui/preset-bulma](https://theme-ui.com/presets/bulma) Theme UI includes `@theme-ui/preset-bulma` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-bulma ``` ```jsx // example theme import theme from '@theme-ui/preset-bulma' export default { ...t...
7,952
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-bulma/package.json
{ "name": "@theme-ui/preset-bulma", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-bulma.cjs.js", "module": "dist/theme-ui-preset-bulma.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", "scripts": {}, "publishConfig": { ...
7,953
0
petrpan-code/system-ui/theme-ui/packages/preset-bulma
petrpan-code/system-ui/theme-ui/packages/preset-bulma/src/index.ts
// Based on https://github.com/jgthms/bulma/blob/master/sass/utilities/initial-variables.sass // https://github.com/jgthms/bulma/blob/master/sass/base/minireset.sass // https://github.com/jgthms/bulma/blob/master/sass/base/generic.sass import { makeTheme, makeStyles } from '@theme-ui/css/utils' export const baseColor...
7,954
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-dark/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,955
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-dark/README.md
# [@theme-ui/preset-dark](https://theme-ui.com/presets/dark) Theme UI includes `@theme-ui/preset-dark` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-dark ``` ```jsx // example theme import theme from '@theme-ui/preset-dark' export default { ...theme,...
7,956
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-dark/package.json
{ "name": "@theme-ui/preset-dark", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-dark.cjs.js", "module": "dist/theme-ui-preset-dark.esm.js", "types": "dist/theme-ui-preset-dark.cjs.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/the...
7,957
0
petrpan-code/system-ui/theme-ui/packages/preset-dark
petrpan-code/system-ui/theme-ui/packages/preset-dark/src/index.ts
import { makeTheme } from '@theme-ui/css/utils' const heading = { fontFamily: 'heading', fontWeight: 'heading', lineHeight: 'heading', } export const dark = makeTheme({ colors: { text: '#fff', background: '#060606', primary: '#3cf', secondary: '#e0f', muted: '#191919', highlight: '#291...
7,958
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-deep/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,959
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-deep/README.md
# [@theme-ui/preset-deep](https://theme-ui.com/presets/deep) Theme UI includes `@theme-ui/preset-deep` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-deep ``` ```jsx // example theme import theme from '@theme-ui/preset-deep' export default { ...theme,...
7,960
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-deep/package.json
{ "name": "@theme-ui/preset-deep", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-deep.cjs.js", "module": "dist/theme-ui-preset-deep.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", "scripts": {}, "publishConfig": { ...
7,961
0
petrpan-code/system-ui/theme-ui/packages/preset-deep
petrpan-code/system-ui/theme-ui/packages/preset-deep/src/index.ts
import { makeTheme } from '@theme-ui/css/utils' const heading = { fontFamily: 'heading', fontWeight: 'heading', lineHeight: 'heading', } export const deep = makeTheme({ colors: { text: 'hsl(210, 50%, 96%)', background: 'hsl(230, 25%, 18%)', primary: 'hsl(260, 100%, 80%)', secondary: 'hsl(290, ...
7,962
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-funk/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,963
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-funk/README.md
# [@theme-ui/preset-funk](https://theme-ui.com/presets/funk) Theme UI includes `@theme-ui/preset-funk` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-funk ``` ```jsx // example theme import theme from '@theme-ui/preset-funk' export default { ...theme,...
7,964
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-funk/package.json
{ "name": "@theme-ui/preset-funk", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-funk.cjs.js", "module": "dist/theme-ui-preset-funk.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", "scripts": {}, "dependencies": { ...
7,965
0
petrpan-code/system-ui/theme-ui/packages/preset-funk
petrpan-code/system-ui/theme-ui/packages/preset-funk/src/index.ts
import base from '@theme-ui/preset-base' import { makeTheme } from '@theme-ui/css/utils' export const funk = makeTheme({ ...base, fonts: { body: 'Poppins, sans-serif', heading: 'Poppins, sans-serif', monospace: 'Menlo, monospace', }, lineHeights: { body: 1.625, heading: 1.25, }, fontWei...
7,966
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-future/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,967
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-future/README.md
# [@theme-ui/preset-future](https://theme-ui.com/presets/future) Theme UI includes `@theme-ui/preset-future` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-future ``` ```jsx // example theme import theme from '@theme-ui/preset-future' export default { ...
7,968
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-future/package.json
{ "name": "@theme-ui/preset-future", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-future.cjs.js", "module": "dist/theme-ui-preset-future.esm.js", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui/theme-ui", "scripts": {}, "publishConfig":...
7,969
0
petrpan-code/system-ui/theme-ui/packages/preset-future
petrpan-code/system-ui/theme-ui/packages/preset-future/src/index.ts
import base from '@theme-ui/preset-base' import { makeTheme } from '@theme-ui/css/utils' export const future = makeTheme({ ...base, colors: { text: '#000', background: '#fff', primary: '#11e', secondary: '#c0c', highlight: '#e0e', muted: '#f6f6ff', modes: { dark: { text: '...
7,970
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-polaris/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,971
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-polaris/README.md
# [@theme-ui/preset-polaris](https://theme-ui.com/presets/polaris) Theme UI includes `@theme-ui/preset-polaris` which can be used as an example or starting point for extending your own themes. `@theme-ui/preset-polaris` is based on the Shopify design system, [Polaris](https://polaris.shopify.com/design/colors). ```sh...
7,972
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-polaris/package.json
{ "name": "@theme-ui/preset-polaris", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-polaris.cjs.js", "module": "dist/theme-ui-preset-polaris.esm.js", "source": "src/index.ts", "author": "Yuraima Estevez", "license": "MIT", "repository": "system-ui/theme-ui", "scripts": {}, "publishCon...
7,973
0
petrpan-code/system-ui/theme-ui/packages/preset-polaris
petrpan-code/system-ui/theme-ui/packages/preset-polaris/src/index.ts
import base from '@theme-ui/preset-base' import { makeTheme } from '@theme-ui/css/utils' const text = 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif' export const polaris = makeTheme({ ...base, colors: { text: '#454f5b', background: '#fff', primary: '...
7,974
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-roboto/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,975
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-roboto/README.md
# [@theme-ui/preset-roboto](https://theme-ui.com/presets/roboto) Theme UI includes `@theme-ui/preset-roboto` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-roboto ``` ```jsx // example theme import theme from '@theme-ui/preset-roboto' export default { ...
7,976
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-roboto/package.json
{ "name": "@theme-ui/preset-roboto", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-roboto.cjs.js", "module": "dist/theme-ui-preset-roboto.esm.js", "types": "dist/theme-ui-preset-roboto.cjs.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "syste...
7,977
0
petrpan-code/system-ui/theme-ui/packages/preset-roboto
petrpan-code/system-ui/theme-ui/packages/preset-roboto/src/index.ts
import base from '@theme-ui/preset-base' import { makeTheme } from '@theme-ui/css/utils' export const roboto = makeTheme({ ...base, colors: { text: '#202124', background: '#fff', primary: '#1a73e8', secondary: '#9c27b0', muted: '#f1f3f4', }, fonts: { body: 'Roboto, system-ui, sans-serif...
7,978
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-sketchy/CHANGELOG.md
# v0.12.0 (Thu Oct 28 2021) :tada: This release contains work from a new contributor! :tada: Thank you, William Pei ([@draekien](https://github.com/draekien)), for all your work! #### 🐛 Bug Fix - Merge remote-tracking branch 'upstream/develop' into fix/color-scheme-media-query-api-update [#981](https://github.com/...
7,979
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-sketchy/README.md
# [@theme-ui/preset-sketchy](https://theme-ui.com/presets/sketchy) Theme UI includes `@theme-ui/preset-sketchy` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-sketchy ``` ```jsx // example theme import theme from '@theme-ui/preset-sketchy' export defaul...
7,980
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-sketchy/package.json
{ "name": "@theme-ui/preset-sketchy", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-sketchy.cjs.js", "module": "dist/theme-ui-preset-sketchy.esm.js", "types": "dist/theme-ui-preset-sketchy.cjs.d.ts", "source": "src/index.ts", "author": "Aleksandra Sikora", "license": "MIT", "repository"...
7,981
0
petrpan-code/system-ui/theme-ui/packages/preset-sketchy
petrpan-code/system-ui/theme-ui/packages/preset-sketchy/src/index.ts
import { makeTheme } from '@theme-ui/css/utils' import { ThemeUIPresetSketchyVariants, variants } from './variants' const scalesAndStyles = makeTheme({ colors: { text: '#000200', background: '#FAFAF9', muted: 'rgba(0,0,0,.1)', primary: '#F25F5C', primaryDark: '#B51916', primaryLight: '#FCBAB...
7,982
0
petrpan-code/system-ui/theme-ui/packages/preset-sketchy
petrpan-code/system-ui/theme-ui/packages/preset-sketchy/src/variants.ts
import type { ThemeUICSSObject, Theme } from '@theme-ui/css' const defaultBorderStyles: ThemeUICSSObject = { border: 'thick', color: 'text', borderRadius: 'sketchy0', } const buttonStyles: ThemeUICSSObject = { ...defaultBorderStyles, transition: 'all 250ms ease', bg: 'muted', boxShadow: 'default', fon...
7,983
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-swiss/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,984
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-swiss/README.md
# [@theme-ui/preset-swiss](https://theme-ui.com/presets/swiss) Theme UI includes `@theme-ui/preset-swiss` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-swiss ``` ```jsx // example theme import theme from '@theme-ui/preset-swiss' export default { ...t...
7,985
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-swiss/package.json
{ "name": "@theme-ui/preset-swiss", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-swiss.cjs.js", "module": "dist/theme-ui-preset-swiss.esm.js", "types": "dist/theme-ui-preset-swiss.cjs.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "system-ui...
7,986
0
petrpan-code/system-ui/theme-ui/packages/preset-swiss
petrpan-code/system-ui/theme-ui/packages/preset-swiss/src/index.ts
import { makeTheme } from '@theme-ui/css/utils' const heading = { fontFamily: 'heading', fontWeight: 'heading', lineHeight: 'heading', } export const swiss = makeTheme({ colors: { text: 'hsl(10, 20%, 20%)', background: 'hsl(10, 10%, 98%)', primary: 'hsl(10, 80%, 50%)', secondary: 'hsl(10, 60%,...
7,987
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-system/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,988
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-system/README.md
# [@theme-ui/preset-system](https://theme-ui.com/presets/system) Theme UI includes `@theme-ui/preset-system` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-2019 ``` ```jsx // example theme import theme from '@theme-ui/preset-system' export default { ....
7,989
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-system/package.json
{ "name": "@theme-ui/preset-system", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-system.cjs.js", "module": "dist/theme-ui-preset-system.esm.js", "types": "dist/theme-ui-preset-system.cjs.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository": "syste...
7,990
0
petrpan-code/system-ui/theme-ui/packages/preset-system
petrpan-code/system-ui/theme-ui/packages/preset-system/src/index.ts
import { makeTheme } from '@theme-ui/css/utils' const heading = { fontFamily: 'heading', fontWeight: 'heading', lineHeight: 'heading', } export const system = makeTheme({ config: { useCustomProperties: true, initialColorMode: 'system', }, colors: { text: '#000', background: '#fff', pri...
7,991
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-tailwind/CHANGELOG.md
# v0.10.0 (Sat Jun 19 2021) #### 🐛 Bug Fix - Add missing meta repository to published packages [#1807](https://github.com/system-ui/theme-ui/pull/1807) ([@aaronadamsCA](https://github.com/aaronadamsCA)) - Add missing repository metadata to published packages [#1779](https://github.com/system-ui/theme-ui/pull/1779) (...
7,992
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-tailwind/README.md
# [@theme-ui/preset-tailwind](https://theme-ui.com/presets/tailwind) Theme UI includes `@theme-ui/preset-tailwind` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-tailwind ``` ```jsx // example theme import theme from '@theme-ui/preset-tailwind' export d...
7,993
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-tailwind/package.json
{ "name": "@theme-ui/preset-tailwind", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-tailwind.cjs.js", "module": "dist/theme-ui-preset-tailwind.esm.js", "types": "dist/theme-ui-preset-tailwind.cjs.d.ts", "source": "src/index.ts", "author": "Brent Jackson", "license": "MIT", "repository"...
7,994
0
petrpan-code/system-ui/theme-ui/packages/preset-tailwind
petrpan-code/system-ui/theme-ui/packages/preset-tailwind/src/index.ts
// Based on https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js // and https://tailwindcss.com/components import { makeTheme, makeColorsScale } from '@theme-ui/css/utils' export const borderWidths = { default: '1px', 0: '0px', 2: '2px', 4: '4px', 8: '8px', } export const break...
7,995
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-tosh/CHANGELOG.md
# v0.8.3 (Wed May 05 2021) #### ⚠️ Pushed to `stable` - Merge branch 'stable' into develop ([@hasparus](https://github.com/hasparus)) #### Authors: 1 - Piotr Monwid-Olechnowicz ([@hasparus](https://github.com/hasparus)) --- # v0.8.0 (Wed May 05 2021) #### 🚀 Enhancement - v0.8 [#1688](https://github.com/system-...
7,996
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-tosh/README.md
# [@theme-ui/preset-tosh](https://theme-ui.com/presets/tosh) Theme UI includes `@theme-ui/preset-tosh` which can be used as an example or starting point for extending your own themes. ```sh npm i @theme-ui/preset-tosh ``` ```jsx // example theme import theme from '@theme-ui/preset-tosh' export default { ...theme,...
7,997
0
petrpan-code/system-ui/theme-ui/packages
petrpan-code/system-ui/theme-ui/packages/preset-tosh/package.json
{ "name": "@theme-ui/preset-tosh", "version": "0.16.2-develop.0", "main": "dist/theme-ui-preset-tosh.cjs.js", "module": "dist/theme-ui-preset-tosh.esm.js", "types": "dist/theme-ui-preset-tosh.cjs.d.ts", "source": "src/index.ts", "author": "John Otander", "license": "MIT", "repository": "system-ui/them...
7,998
0
petrpan-code/system-ui/theme-ui/packages/preset-tosh
petrpan-code/system-ui/theme-ui/packages/preset-tosh/src/index.ts
import { makeTheme } from '@theme-ui/css/utils' const heading = { fontFamily: 'heading', fontWeight: 'heading', lineHeight: 'heading', } export const tosh = makeTheme({ config: { useCustomProperties: true, initialColorMode: 'light', }, colors: { text: '#000', background: '#fff', primar...
7,999