Skip to content

Commit

Permalink
feat: tup-624: added generics/attributes to demo (#345)
Browse files Browse the repository at this point in the history
* feat: tup-624: added generics/attributes to demo

* migrated rest of attributes.css to core-styles

* removed unnecessary comments in css file for c-button
  • Loading branch information
R-Tomas-Gonzalez authored Oct 16, 2023
1 parent fd34bdc commit 65d0e0d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,4 @@ main > .container .c-button--is-active {

/* FAQ: Design shows 10px font */
font-size: var(--global-font-size--x-small);
}

/* TODO: Remove from c-button (once it becomes redundant there) */
/* FAQ: This is now added in generics/attributes.css */
/*
[disabled] {
pointer-events: none;
}
*/
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/* … */

/* GENERICS */
@import url("./for-core-styles/generics/attributes.css") layer(base);
/* … */

/* ELEMENTS */
/* … */
Expand Down
10 changes: 0 additions & 10 deletions apps/tup-ui/src/main.global.for-core-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ hr {
height: 16px;
}

/* TODO: Remove this after:
0. attributes.css is migrated to Core-Styles
1. attributes.css is loaded by Portal */
[data-prefix]::before {
display: inline-block;
content: attr(data-prefix);
margin-right: 0.25ch;
text-transform: none;
}

/* TODO: Remove this after:
0. CEP v2 colors are removed from Core-Styles settings/color--portal */
#page-portal main /* i.e. global-safe :root */ {
Expand Down

0 comments on commit 65d0e0d

Please sign in to comment.