-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate rubin-style-dictionary into squareone
This makes https://github.com/lsst-sqre/rubin-style-dictionary a package within the squareone monorepo. Squareone, the app, now depends up rubin-style-dictionary via the workspace, so it always uses the latest version of rubin-style-dictionary. rubin-style-dictionary hooks into the build task in turbo repo.
- Loading branch information
1 parent
a234866
commit fbf0373
Showing
85 changed files
with
4,714 additions
and
7,788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package.json | ||
yarn.lock | ||
package-lock.json | ||
pnpm-lock.yaml | ||
.next | ||
docs/_build | ||
.nova | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
|
||
# Next.js build output | ||
.next | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the public line in if your project uses Gatsby and *not* Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# public | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
########## | ||
Change log | ||
########## | ||
|
||
0.4.0 (2022-12-01) | ||
================== | ||
|
||
Added "crop" variants of all full-size and intermediate-size Rubin imagotype assets. | ||
For example, ``assets/rubin-imagotype/rubin-imagotype-color-on-white-crop.svg`` is a cropped version of ``assets/rubin-imagotype/rubin-imagotype-color-on-white.svg``. | ||
The original imagotypes included a default margin. | ||
These new "crop" variants are cropped right to the art, so that the imagotype can align with other content in CSS/HTML layouts. | ||
|
||
0.3.0 (2021-05-06) | ||
================== | ||
|
||
- Added image assets from the Rubin Visual Identity, including imagotypes (full scale, intermediate, and favicon), watermarks, and partner logos. | ||
The full and intermediate-scale imagotypes in this distribution are additionally cropped so that the clearance corresponds to the desired "N" spacing. | ||
|
||
These files can be imported from the NPM package as regular static assets. | ||
Additionally, these assets are distributed in JSON files as Base 64-encoded strings. | ||
|
||
- Support for theming with next-themes. | ||
|
||
- Initial design tokens from components originating in the Squareone application (https://github.com/lsst-sqre/rsp-squareone). | ||
|
||
- Fixed ``color.green.500`` to be the correct color from the Visual Identity Manual (previously it was the same as ``color.purple.500``). | ||
|
||
- Development dependencies: | ||
|
||
- Updated lodash to 4.17.21 | ||
- Updated style-dictionary to 3.0.0-rc.8 | ||
|
||
0.2.1 (2021-02-17) | ||
================== | ||
|
||
This version features a revised organization of design tokens: | ||
|
||
- Global design tokens are abstract values taken from the Rubin Visual Identity Manual, such as colors. | ||
- Component design tokens tie the global tokens to semantically relevant components, such as the color of text in a button. | ||
- Component design tokens can be themed. | ||
|
||
0.1.0 (2021-01-27) | ||
================== | ||
|
||
This initial release of rubin-style-dictionary demonstrates how design tokens from the Rubin Visual Identity Manual can be encoded with Style Dictionary and exported to formats ready to use in applications. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Association of Universities for Research in Astronomy, Inc. (AURA) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[![CI](https://github.com/lsst-sqre/rubin-style-dictionary/actions/workflows/ci.yaml/badge.svg)](https://github.com/lsst-sqre/rubin-style-dictionary/actions/workflows/ci.yaml) [![Docs](https://img.shields.io/badge/style--dictionary-lsst.io-blue)](https://style-dictionary.lsst.io) | ||
|
||
# rubin-style-dictionary | ||
|
||
The rubin-style-dictionary is a distribution of design tokens that can be readily used in Rubin Observatory websites and apps. These tokens are encoded from the [Rubin Visual Identity Manual](https://docushare.lsst.org/docushare/dsweb/Get/Document-37294/20210212%20Visual%20Identity%20Manual%20%e2%80%94V7.pdf), and include colors, typography, sizing, and assets. In addition to the core tokens, rubin-style-dictionary also includes derived tokens for specific reusable components, from buttons to navigation bars. These component tokens can be "themed," for example to provide a light and dark color palette. | ||
|
||
[Learn more in the Rubin Style Dictionary documentation.](https://style-dictionary.lsst.io) |
Binary file added
BIN
+696 Bytes
packages/rubin-style-dictionary/assets/favicon/rubin-favicon-transparent-32px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.06 KB
packages/rubin-style-dictionary/assets/favicon/rubin-favicon-transparent-49px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
packages/rubin-style-dictionary/assets/favicon/rubin-favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+24.7 KB
packages/rubin-style-dictionary/assets/partner-logos/construction-agencies.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+83 KB
packages/rubin-style-dictionary/assets/partner-logos/operations-lineup-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions
50
...ts/rubin-imagotype-intermediate/rubin-imagotype-Intermediate-color-on-black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.87 KB
...ts/rubin-imagotype-intermediate/rubin-imagotype-interimediate-gray-on-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.2 KB
...bin-imagotype-intermediate/rubin-imagotype-intermediate-color-on-black-crop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...bin-imagotype-intermediate/rubin-imagotype-intermediate-color-on-black-crop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3 KB
...ts/rubin-imagotype-intermediate/rubin-imagotype-intermediate-color-on-black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.2 KB
...bin-imagotype-intermediate/rubin-imagotype-intermediate-color-on-white-crop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.