2. material-tokens / css / colors.css

1/*
2 Copyright 2016 Google Inc. All rights reserved.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15*/
16
17.primary {
18 color: var(--md-sys-color-on-primary);
19 background-color: var(--md-sys-color-primary);
20}
21.on-primary {
22 color: var(--md-sys-color-primary);
23 background-color: var(--md-sys-color-on-primary);
24}
25.primary-container {
26 color: var(--md-sys-color-on-primary-container);
27 background-color: var(--md-sys-color-primary-container);
28}
29.on-primary-container {
30 color: var(--md-sys-color-primary-container);
31 background-color: var(--md-sys-color-on-primary-container);
32}
33.secondary {
34 color: var(--md-sys-color-on-secondary);
35 background-color: var(--md-sys-color-secondary);
36}
37.on-secondary {
38 color: var(--md-sys-color-secondary);
39 background-color: var(--md-sys-color-on-secondary);
40}
41.secondary-container {
42 color: var(--md-sys-color-on-secondary-container);
43 background-color: var(--md-sys-color-secondary-container);
44}
45.on-secondary-container {
46 color: var(--md-sys-color-secondary-container);
47 background-color: var(--md-sys-color-on-secondary-container);
48}
49.tertiary {
50 color: var(--md-sys-color-on-tertiary);
51 background-color: var(--md-sys-color-tertiary);
52}
53.on-tertiary {
54 color: var(--md-sys-color-tertiary);
55 background-color: var(--md-sys-color-on-tertiary);
56}
57.tertiary-container {
58 color: var(--md-sys-color-on-tertiary-container);
59 background-color: var(--md-sys-color-tertiary-container);
60}
61.on-tertiary-container {
62 color: var(--md-sys-color-tertiary-container);
63 background-color: var(--md-sys-color-on-tertiary-container);
64}
65.background {
66 color: var(--md-sys-color-on-background);
67 background-color: var(--md-sys-color-background);
68}
69.surface {
70 color: var(--md-sys-color-on-surface);
71 background-color: var(--md-sys-color-surface);
72}
73.surface-variant {
74 color: var(--md-sys-color-on-surface-variant);
75 background-color: var(--md-sys-color-surface-variant);
76}
77.on-surface-variant {
78 color: var(--md-sys-color-surface-variant);
79 background-color: var(--md-sys-color-on-surface-variant);
80}
81.outline {
82 border: 1px solid var(--md-sys-color-outline);
83}
84.inverse-surface {
85 color: var(--md-sys-color-on-inverse-surface);
86 background-color: var(--md-sys-color-inverse-surface);
87}
88.on-inverse-surface {
89 color: var(--md-sys-color-inverse-surface);
90 background-color: var(--md-sys-color-on-inverse-surface);
91}
92.inverse-primary {
93 color: var(--md-sys-color-on-inverse-primary);
94 background-color: var(--md-sys-color-inverse-primary);
95}
96.on-inverse-primary {
97 color: var(--md-sys-color-inverse-primary);
98 background-color: var(--md-sys-color-on-inverse-primary);
99}
100.surface-tint {
101 background-color: var(--md-sys-color-on-surface-tint);
102}
103.error {
104 color: var(--md-sys-color-on-error);
105 background-color: var(--md-sys-color-error);
106}
107.on-error {
108 color: var(--md-sys-color-error);
109 background-color: var(--md-sys-color-on-error);
110}
111.error-container {
112 color: var(--md-sys-color-on-error-container);
113 background-color: var(--md-sys-color-error-container);
114}
115.on-error-container {
116 color: var(--md-sys-color-error-container);
117 background-color: var(--md-sys-color-on-error-container);
118}
119.black {
120 background-color: var(--md-ref-palette-black);
121}
122.black-text {
123 color: var(--md-ref-palette-black);
124}
125.white {
126 background-color: var(--md-ref-palette-white);
127}
128.white-text {
129 color: var(--md-ref-palette-white);
130}
131
skip_previous skip_next