Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Forward-Compatible CSS #171

Closed
wesleyboar opened this issue Mar 30, 2021 · 1 comment · Fixed by #173
Closed

Support Forward-Compatible CSS #171

wesleyboar opened this issue Mar 30, 2021 · 1 comment · Fixed by #173
Assignees
Labels
effort XS Extra small effort task (~¼ a week) — does not include review time feature A new feature or replacement of present feature priority ━ Medium priority

Comments

@wesleyboar
Copy link
Member

Goal

Add CSS processing plugin that supports forward-compatible CSS. Initially, just add support for these features:

Background

  1. CSS has features that are not yet supported by browsers.
  2. Some of those features can be reliably polyfilled.
  3. The PostCSS plugin postcss-preset-env compiles such polyfills to support many features.
  4. @tacc-wbomar needs this features to reduce maintenance by having DRY code.

Requirements

  1. PostCSS plugin postcss-preset-env must be added.
  2. Feature custom-media-queries should be added.
  3. Test for successful polyfill-ing must be available and documented.
@wesleyboar wesleyboar added effort XS Extra small effort task (~¼ a week) — does not include review time feature A new feature or replacement of present feature priority ━ Medium priority labels Mar 30, 2021
@wesleyboar wesleyboar self-assigned this Mar 30, 2021
@wesleyboar wesleyboar added this to the Frontera Redesign Phase 0 milestone Mar 30, 2021
wesleyboar added a commit that referenced this issue Mar 30, 2021
wesleyboar added a commit that referenced this issue Mar 30, 2021
This was linked to pull requests Mar 30, 2021
wesleyboar added a commit that referenced this issue Mar 30, 2021
wesleyboar added a commit that referenced this issue Mar 30, 2021
- Add `_imports` pattern stylesheet to get parsed styles for production.
- Limit `<body>` width and overflow.
wesleyboar added a commit that referenced this issue Mar 30, 2021
wesleyboar added a commit that referenced this issue Mar 30, 2021
Doing this until I find a maintainable intuivive solution.
wesleyboar added a commit that referenced this issue Mar 31, 2021
wesleyboar added a commit that referenced this issue Mar 31, 2021
- Use "Benton Sans" as standard CMS font.
- Use "Roboto" as backup CMS font.
- Preserve "Roboto" as standard web font.
- Add two sets of font weight variables (consistent naming & shorthand).
wesleyboar added a commit that referenced this issue Mar 31, 2021
- Use "Benton Sans" as standard CMS font.
- Use "Roboto" as backup CMS font.
- Preserve "Roboto" as search form font (to match Portal).
- Add two sets of font weight variables (consistent naming & shorthand).

SEE: [Shared UI - Constants - Font](https://confluence.tacc.utexas.edu/x/cYAZCg)
wesleyboar added a commit that referenced this issue Apr 1, 2021
- Used on s-article-preview (for Frontera Redesign, first)
- Used on c-read-more (for future, like https://tacc.utexas.edu/sc19)
wesleyboar added a commit that referenced this issue Apr 1, 2021
wesleyboar added a commit that referenced this issue Apr 1, 2021
wesleyboar added a commit that referenced this issue Apr 1, 2021
@wesleyboar
Copy link
Member Author

Most of these comments are actually for GH-157. I tagged the commits wrong.

wesleyboar added a commit that referenced this issue Apr 2, 2021
wesleyboar added a commit that referenced this issue Apr 2, 2021
Doing this until I find a maintainable intuivive solution.
wesleyboar added a commit that referenced this issue Apr 2, 2021
@wesleyboar wesleyboar linked a pull request Apr 6, 2021 that will close this issue
wesleyboar added a commit that referenced this issue Apr 9, 2021
wesleyboar added a commit that referenced this issue Apr 9, 2021
…wards-compatible

Task/gh 171 support css that is forwards compatible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort XS Extra small effort task (~¼ a week) — does not include review time feature A new feature or replacement of present feature priority ━ Medium priority
Projects
None yet
1 participant